Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid into...
[simgrid.git] / examples / msg / mc / bugged1_liveness.tesh
1 #! ./tesh
2
3 ! expect signal SIGABRT
4 ! timeout 60
5 $ ${bindir:=.}/bugged1_liveness --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_bugged1_liveness
9 > [  0.000000] (2:client@Fafard) Ask the request
10 > [  0.000000] (3:client@Boivin) Ask the request
11 > [  0.000000] (2:client@Fafard) Propositions changed : r=1, cs=0
12 > [  0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
13 > [  0.000000] (3:client@Boivin) 2 got the answer. Sleep a bit and release it
14 > [  0.000000] (1:coordinator@Tremblay) CS release. resource now idle
15 > [  4.000000] (3:client@Boivin) Ask the request
16 > [  0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
17 > [  4.000000] (3:client@Boivin) 2 got the answer. Sleep a bit and release it
18 > [  0.000000] (1:coordinator@Tremblay) CS release. resource now idle
19 > [  8.000000] (3:client@Boivin) Ask the request
20 > [  0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
21 > [  0.000000] (0:@) Next pair (depth = 33, 2 interleave) already reached !
22 > [  0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
23 > [  0.000000] (0:@) |             ACCEPTANCE CYCLE            |
24 > [  0.000000] (0:@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
25 > [  0.000000] (0:@) Counter-example that violates formula :
26 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
27 > [  0.000000] (0:@) [(2)client] iSend (src=client, buff=(verbose only), size=(verbose only))
28 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(2)client -> (1)coordinator])
29 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
30 > [  0.000000] (0:@) [(2)client] Wait (comm=(verbose only) [(2)client -> (1)coordinator])
31 > [  0.000000] (0:@) [(2)client] iRecv (dst=client, buff=(verbose only), size=(verbose only))
32 > [  0.000000] (0:@) [(3)client] iSend (src=client, buff=(verbose only), size=(verbose only))
33 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
34 > [  0.000000] (0:@) [(1)coordinator] iSend (src=coordinator, buff=(verbose only), size=(verbose only))
35 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
36 > [  0.000000] (0:@) [(3)client] iRecv (dst=client, buff=(verbose only), size=(verbose only))
37 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(1)coordinator -> (3)client])
38 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
39 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(1)coordinator -> (3)client])
40 > [  0.000000] (0:@) [(3)client] iSend (src=client, buff=(verbose only), size=(verbose only))
41 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
42 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
43 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
44 > [  0.000000] (0:@) [(3)client] iSend (src=client, buff=(verbose only), size=(verbose only))
45 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
46 > [  0.000000] (0:@) [(1)coordinator] iSend (src=coordinator, buff=(verbose only), size=(verbose only))
47 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
48 > [  0.000000] (0:@) [(3)client] iRecv (dst=client, buff=(verbose only), size=(verbose only))
49 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(1)coordinator -> (3)client])
50 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
51 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(1)coordinator -> (3)client])
52 > [  0.000000] (0:@) [(3)client] iSend (src=client, buff=(verbose only), size=(verbose only))
53 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
54 > [  0.000000] (0:@) [(1)coordinator] iRecv (dst=coordinator, buff=(verbose only), size=(verbose only))
55 > [  0.000000] (0:@) [(3)client] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
56 > [  0.000000] (0:@) [(3)client] iSend (src=client, buff=(verbose only), size=(verbose only))
57 > [  0.000000] (0:@) [(1)coordinator] Wait (comm=(verbose only) [(3)client -> (1)coordinator])
58 > [  0.000000] (0:@) Expanded pairs = 34
59 > [  0.000000] (0:@) Visited pairs = 32
60 > [  0.000000] (0:@) Expanded / Visited = 0.941176