Thank you KillSteal for your response.
Hi Dave,
My expected output was {1,2,3,3,4,5,6,7,8,9}or {1,2,3,4,5,5,6,7,8,9}or ......
I mean array size is 10 but it should has unique elements between 1 to 9.As I want 1 repeated set then it should satisfy right?
Please correct me if I am wrong.
"Also, constraints must be satisfied before calling post_randomize."
May be sue to this it got failed as I am making duplicates in the post_randomize().
Thank you Dave for your response.