Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve the final stats reported by SafetyChecker, and revalidate tesh files
[simgrid.git] / examples / cpp / mc-bugged1 / s4u-mc-bugged1.tesh
1 #!/usr/bin/env tesh
2
3 ! expect return 1
4 ! timeout 20
5 $ ${bindir:=.}/../../../bin/simgrid-mc ${bindir:=.}/s4u-mc-bugged1 ${platfdir:=.}/model_checker_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --log=xbt_cfg.thresh:warning --cfg=contexts/stack-size:256
6 > [  0.000000] (0:maestro@) Check a safety property. Reduction is: dpor.
7 > [  0.000000] (2:client@HostB) Sent!
8 > [  0.000000] (3:client@HostC) Sent!
9 > [  0.000000] (1:server@HostA) OK
10 > [  0.000000] (4:client@HostD) Sent!
11 > [  0.000000] (2:client@HostB) Sent!
12 > [  0.000000] (3:client@HostC) Sent!
13 > [  0.000000] (2:client@HostB) Sent!
14 > [  0.000000] (3:client@HostC) Sent!
15 > [  0.000000] (1:server@HostA) OK
16 > [  0.000000] (4:client@HostD) Sent!
17 > [  0.000000] (2:client@HostB) Sent!
18 > [  0.000000] (3:client@HostC) Sent!
19 > [  0.000000] (2:client@HostB) Sent!
20 > [  0.000000] (0:maestro@) **************************
21 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
22 > [  0.000000] (0:maestro@) **************************
23 > [  0.000000] (0:maestro@) Counter-example execution trace:
24 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
25 > [  0.000000] (0:maestro@)   2: iSend(mbox=0)
26 > [  0.000000] (0:maestro@)   1: WaitComm(from 2 to 1, mbox=0, no timeout)
27 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
28 > [  0.000000] (0:maestro@)   2: WaitComm(from 2 to 1, mbox=0, no timeout)
29 > [  0.000000] (0:maestro@)   4: iSend(mbox=0)
30 > [  0.000000] (0:maestro@)   1: WaitComm(from 4 to 1, mbox=0, no timeout)
31 > [  0.000000] (0:maestro@)   1: iRecv(mbox=0)
32 > [  0.000000] (0:maestro@)   3: iSend(mbox=0)
33 > [  0.000000] (0:maestro@)   1: WaitComm(from 3 to 1, mbox=0, no timeout)
34 > [  0.000000] (0:maestro@) Path = 1;2;1;1;2;4;1;1;3;1
35 > [  0.000000] (0:maestro@) 22 unique states visited; 4 backtracks (56 transition replays, 30 states visited overall)