Timescale problem

In reply to moustafaali:
Use the vsim command
run -all
or
run 10 ns
.

Both codes give me the same results

#  1.000ns
#  3.000ns
#  3.100ns
#  3.141ns