Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / msg / mc / test / snapshot_comparison3.tesh
1 #! ./tesh
2
3 ! expect signal SIGABRT
4 ! timeout 120
5 $ ${bindir:=.}/snapshot_comparison3 --cfg=model-check:1 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (0:@) Configuration change: Set 'model-check' to '1'
7 > [  0.000000] (0:@) type in variable = 2
8 > [  0.000000] (0:@) Check the liveness property promela
9 > [  1.000000] (1:test@HostA) **** Start test ****
10 > [  1.000000] (1:test@HostA) Malloc and free after first snapshot
11 > [  2.000000] (1:test@HostA) First snapshot
12 > [  2.000000] (1:test@HostA) Toto allocated
13 > [  2.000000] (1:test@HostA) Toto free
14 > [  3.000000] (1:test@HostA) Second snapshot
15 > [  3.000000] (1:test@HostA) Test result : 0 (0 = state equality, 1 = different states)
16 > [  3.000000] (1:test@HostA) **** End test ****
17 > [  0.000000] (0:@) Next pair (depth = 5) already reached !
18 > [  0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
19 > [  0.000000] (0:@) |             ACCEPTANCE CYCLE            |
20 > [  0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
21 > [  0.000000] (0:@) Counter-example that violates formula :
22 > [  0.000000] (0:@) [(1)test] MC_SNAPSHOT ((null))
23 > [  0.000000] (0:@) [(1)test] MC_SNAPSHOT ((null))
24 > [  0.000000] (0:@) [(1)test] MC_COMPARE_SNAPSHOTS ((null))
25 > [  0.000000] (0:@) End of system requests but evolution in Büchi automaton
26 > [  0.000000] (0:@) Expanded pairs = 5
27 > [  0.000000] (0:@) Visited pairs = 4
28 > [  0.000000] (0:@) Expanded / Visited = 0.800000