fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r204-smll-162089465300184
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for SafeBus-PT-15

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
709.604 233744.00 261629.00 749.40 F normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2021-input.r204-smll-162089465300184.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2021-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is SafeBus-PT-15, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r204-smll-162089465300184
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 20M
-rw-r--r-- 1 mcc users 152K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 795K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4M May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 9.8M May 10 09:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 37K Mar 28 16:34 LTLCardinality.txt
-rw-r--r-- 1 mcc users 133K Mar 28 16:34 LTLCardinality.xml
-rw-r--r-- 1 mcc users 101K Mar 28 16:34 LTLFireability.txt
-rw-r--r-- 1 mcc users 321K Mar 28 16:34 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Mar 27 11:12 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 52K Mar 27 11:12 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 193K Mar 25 14:26 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 584K Mar 25 14:26 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 5.8K Mar 22 08:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 14K Mar 22 08:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 3 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 4.9M May 5 16:51 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

FORMULA_NAME Liveness

=== Now, execution of the tool begins

BK_START 1621023306262

Running Version 0
[2021-05-14 20:15:08] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2021-05-14 20:15:08] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-14 20:15:09] [INFO ] Load time of PNML (sax parser for PT used): 568 ms
[2021-05-14 20:15:09] [INFO ] Transformed 621 places.
[2021-05-14 20:15:09] [INFO ] Transformed 4771 transitions.
[2021-05-14 20:15:09] [INFO ] Found NUPN structural information;
[2021-05-14 20:15:09] [INFO ] Parsed PT model containing 621 places and 4771 transitions in 687 ms.
Reduce places removed 15 places and 0 transitions.
Built sparse matrix representations for Structural reductions in 24 ms.36990KB memory used
Starting structural reductions, iteration 0 : 606/606 places, 4771/4771 transitions.
Applied a total of 0 rules in 1562 ms. Remains 606 /606 variables (removed 0) and now considering 4771/4771 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 606/606 places, 4771/4771 transitions.
Starting structural reductions, iteration 0 : 606/606 places, 4771/4771 transitions.
Applied a total of 0 rules in 1354 ms. Remains 606 /606 variables (removed 0) and now considering 4771/4771 (removed 0) transitions.
[2021-05-14 20:15:13] [INFO ] Flow matrix only has 1412 transitions (discarded 3359 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:15:13] [INFO ] Computed 65 place invariants in 123 ms
[2021-05-14 20:15:14] [INFO ] Implicit Places using invariants in 636 ms returned []
[2021-05-14 20:15:14] [INFO ] Flow matrix only has 1412 transitions (discarded 3359 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:15:14] [INFO ] Computed 65 place invariants in 111 ms
[2021-05-14 20:15:15] [INFO ] State equation strengthened by 241 read => feed constraints.
[2021-05-14 20:15:15] [INFO ] Implicit Places using invariants and state equation in 1288 ms returned []
Implicit Place search using SMT with State Equation took 1972 ms to find 0 implicit places.
[2021-05-14 20:15:16] [INFO ] Redundant transitions in 590 ms returned []
[2021-05-14 20:15:16] [INFO ] Flow matrix only has 1412 transitions (discarded 3359 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:15:16] [INFO ] Computed 65 place invariants in 27 ms
[2021-05-14 20:15:22] [INFO ] Dead Transitions using invariants and state equation in 5990 ms returned [211, 227, 243, 259, 275, 291, 307, 323, 339, 355, 371, 387, 403, 419, 435, 436, 452, 468, 484, 500, 516, 532, 548, 564, 580, 596, 612, 628, 644, 660, 661, 677, 693, 709, 725, 741, 757, 773, 789, 805, 821, 837, 853, 869, 885, 886, 902, 918, 934, 950, 966, 982, 998, 1014, 1030, 1046, 1062, 1078, 1094, 1110, 1111, 1127, 1143, 1159, 1175, 1191, 1207, 1223, 1239, 1255, 1271, 1287, 1303, 1319, 1335, 1336, 1352, 1368, 1384, 1400, 1416, 1432, 1448, 1464, 1480, 1496, 1512, 1528, 1544, 1560, 1561, 1577, 1593, 1609, 1625, 1641, 1657, 1673, 1689, 1705, 1721, 1737, 1753, 1769, 1785, 1786, 1802, 1818, 1834, 1850, 1866, 1882, 1898, 1914, 1930, 1946, 1962, 1978, 1994, 2010, 2011, 2027, 2043, 2059, 2075, 2091, 2107, 2123, 2139, 2155, 2171, 2187, 2203, 2219, 2235, 2236, 2252, 2268, 2284, 2300, 2316, 2332, 2348, 2364, 2380, 2396, 2412, 2428, 2444, 2460, 2461, 2477, 2493, 2509, 2525, 2541, 2557, 2573, 2589, 2605, 2621, 2637, 2653, 2669, 2685, 2686, 2702, 2718, 2734, 2750, 2766, 2782, 2798, 2814, 2830, 2846, 2862, 2878, 2894, 2910, 2911, 2927, 2943, 2959, 2975, 2991, 3007, 3023, 3039, 3055, 3071, 3087, 3103, 3119, 3135, 3136, 3152, 3168, 3184, 3200, 3216, 3232, 3248, 3264, 3280, 3296, 3312, 3328, 3344, 3360, 3361, 3377, 3393, 3409, 3425, 3441, 3457, 3473, 3489, 3505, 3521, 3537, 3553, 3569, 3585]
Found 225 dead transitions using SMT.
Drop transitions removed 225 transitions
Dead transitions reduction (with SMT) removed 225 transitions :[3585, 3569, 3553, 3537, 3521, 3505, 3489, 3473, 3457, 3441, 3425, 3409, 3393, 3377, 3361, 3360, 3344, 3328, 3312, 3296, 3280, 3264, 3248, 3232, 3216, 3200, 3184, 3168, 3152, 3136, 3135, 3119, 3103, 3087, 3071, 3055, 3039, 3023, 3007, 2991, 2975, 2959, 2943, 2927, 2911, 2910, 2894, 2878, 2862, 2846, 2830, 2814, 2798, 2782, 2766, 2750, 2734, 2718, 2702, 2686, 2685, 2669, 2653, 2637, 2621, 2605, 2589, 2573, 2557, 2541, 2525, 2509, 2493, 2477, 2461, 2460, 2444, 2428, 2412, 2396, 2380, 2364, 2348, 2332, 2316, 2300, 2284, 2268, 2252, 2236, 2235, 2219, 2203, 2187, 2171, 2155, 2139, 2123, 2107, 2091, 2075, 2059, 2043, 2027, 2011, 2010, 1994, 1978, 1962, 1946, 1930, 1914, 1898, 1882, 1866, 1850, 1834, 1818, 1802, 1786, 1785, 1769, 1753, 1737, 1721, 1705, 1689, 1673, 1657, 1641, 1625, 1609, 1593, 1577, 1561, 1560, 1544, 1528, 1512, 1496, 1480, 1464, 1448, 1432, 1416, 1400, 1384, 1368, 1352, 1336, 1335, 1319, 1303, 1287, 1271, 1255, 1239, 1223, 1207, 1191, 1175, 1159, 1143, 1127, 1111, 1110, 1094, 1078, 1062, 1046, 1030, 1014, 998, 982, 966, 950, 934, 918, 902, 886, 885, 869, 853, 837, 821, 805, 789, 773, 757, 741, 725, 709, 693, 677, 661, 660, 644, 628, 612, 596, 580, 564, 548, 532, 516, 500, 484, 468, 452, 436, 435, 419, 403, 387, 371, 355, 339, 323, 307, 291, 275, 259, 243, 227, 211]
Starting structural reductions, iteration 1 : 606/606 places, 4546/4771 transitions.
Applied a total of 0 rules in 1249 ms. Remains 606 /606 variables (removed 0) and now considering 4546/4546 (removed 0) transitions.
[2021-05-14 20:15:23] [INFO ] Redundant transitions in 507 ms returned []
[2021-05-14 20:15:23] [INFO ] Flow matrix only has 1412 transitions (discarded 3134 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:15:23] [INFO ] Computed 65 place invariants in 26 ms
[2021-05-14 20:15:31] [INFO ] Dead Transitions using invariants and state equation in 7508 ms returned []
Finished structural reductions, in 2 iterations. Remains : 606/606 places, 4546/4771 transitions.
Random walk for 1250000 steps, including 0 resets, run took 23054 ms (no deadlock found). (steps per millisecond=54 )
Random directed walk for 1250010 steps, including 0 resets, run took 16315 ms (no deadlock found). (steps per millisecond=76 )
[2021-05-14 20:16:10] [INFO ] Flow matrix only has 1412 transitions (discarded 3134 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:16:10] [INFO ] Computed 65 place invariants in 30 ms
[2021-05-14 20:16:12] [INFO ] [Real]Absence check using 32 positive place invariants in 70 ms returned sat
[2021-05-14 20:16:18] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-14 20:16:19] [INFO ] [Real]Absence check using 32 positive and 33 generalized place invariants in 6791 ms returned sat
[2021-05-14 20:16:19] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-14 20:16:23] [INFO ] [Real]Absence check using state equation in 4537 ms returned sat
[2021-05-14 20:16:23] [INFO ] Solution in real domain found non-integer solution.
[2021-05-14 20:16:25] [INFO ] [Nat]Absence check using 32 positive place invariants in 63 ms returned sat
[2021-05-14 20:16:26] [INFO ] [Nat]Absence check using 32 positive and 33 generalized place invariants in 1386 ms returned sat
[2021-05-14 20:16:26] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-14 20:16:29] [INFO ] [Nat]Absence check using state equation in 2947 ms returned sat
[2021-05-14 20:16:29] [INFO ] State equation strengthened by 241 read => feed constraints.
[2021-05-14 20:16:30] [INFO ] [Nat]Added 241 Read/Feed constraints in 644 ms returned sat
[2021-05-14 20:16:30] [INFO ] Deduced a trap composed of 74 places in 346 ms of which 6 ms to minimize.
[2021-05-14 20:16:31] [INFO ] Deduced a trap composed of 61 places in 331 ms of which 3 ms to minimize.
[2021-05-14 20:16:31] [INFO ] Deduced a trap composed of 61 places in 276 ms of which 2 ms to minimize.
[2021-05-14 20:16:31] [INFO ] Deduced a trap composed of 74 places in 272 ms of which 3 ms to minimize.
[2021-05-14 20:16:32] [INFO ] Deduced a trap composed of 61 places in 276 ms of which 2 ms to minimize.
[2021-05-14 20:16:32] [INFO ] Deduced a trap composed of 74 places in 238 ms of which 1 ms to minimize.
[2021-05-14 20:16:32] [INFO ] Deduced a trap composed of 61 places in 235 ms of which 1 ms to minimize.
[2021-05-14 20:16:32] [INFO ] Trap strengthening (SAT) tested/added 8/7 trap constraints in 2816 ms
[2021-05-14 20:16:33] [INFO ] Computed and/alt/rep : 30/45/30 causal constraints (skipped 1367 transitions) in 354 ms.
[2021-05-14 20:16:34] [INFO ] Added : 30 causal constraints over 6 iterations in 1305 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 24 ms.
Parikh directed walk for 210600 steps, including 1000 resets, run took 4467 ms. (steps per millisecond=47 )
Random directed walk for 500000 steps, including 0 resets, run took 6564 ms (no deadlock found). (steps per millisecond=76 )
Random walk for 500000 steps, including 0 resets, run took 9151 ms (no deadlock found). (steps per millisecond=54 )
Random directed walk for 500000 steps, including 0 resets, run took 7461 ms (no deadlock found). (steps per millisecond=67 )
Random walk for 500000 steps, including 0 resets, run took 9561 ms (no deadlock found). (steps per millisecond=52 )
Starting structural reductions, iteration 0 : 606/606 places, 4546/4546 transitions.
Applied a total of 0 rules in 1232 ms. Remains 606 /606 variables (removed 0) and now considering 4546/4546 (removed 0) transitions.
[2021-05-14 20:17:12] [INFO ] Flow matrix only has 1412 transitions (discarded 3134 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:17:12] [INFO ] Computed 65 place invariants in 29 ms
[2021-05-14 20:17:13] [INFO ] Implicit Places using invariants in 227 ms returned []
[2021-05-14 20:17:13] [INFO ] Flow matrix only has 1412 transitions (discarded 3134 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:17:13] [INFO ] Computed 65 place invariants in 29 ms
[2021-05-14 20:17:13] [INFO ] State equation strengthened by 241 read => feed constraints.
[2021-05-14 20:17:14] [INFO ] Implicit Places using invariants and state equation in 1036 ms returned []
Implicit Place search using SMT with State Equation took 1291 ms to find 0 implicit places.
[2021-05-14 20:17:14] [INFO ] Redundant transitions in 268 ms returned []
[2021-05-14 20:17:14] [INFO ] Flow matrix only has 1412 transitions (discarded 3134 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:17:14] [INFO ] Computed 65 place invariants in 26 ms
[2021-05-14 20:17:21] [INFO ] Dead Transitions using invariants and state equation in 7488 ms returned []
Finished structural reductions, in 1 iterations. Remains : 606/606 places, 4546/4546 transitions.
Random walk for 1250000 steps, including 0 resets, run took 23072 ms (no deadlock found). (steps per millisecond=54 )
Random directed walk for 1250000 steps, including 0 resets, run took 17272 ms (no deadlock found). (steps per millisecond=72 )
[2021-05-14 20:18:02] [INFO ] Flow matrix only has 1412 transitions (discarded 3134 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:18:02] [INFO ] Computed 65 place invariants in 28 ms
[2021-05-14 20:18:03] [INFO ] [Real]Absence check using 32 positive place invariants in 71 ms returned sat
[2021-05-14 20:18:10] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-14 20:18:13] [INFO ] [Real]Absence check using 32 positive and 33 generalized place invariants in 9665 ms returned unknown
Random directed walk for 500000 steps, including 0 resets, run took 6706 ms (no deadlock found). (steps per millisecond=74 )
Random walk for 500000 steps, including 0 resets, run took 9130 ms (no deadlock found). (steps per millisecond=54 )
Random directed walk for 500002 steps, including 0 resets, run took 6728 ms (no deadlock found). (steps per millisecond=74 )
Random walk for 500000 steps, including 0 resets, run took 9205 ms (no deadlock found). (steps per millisecond=54 )
[2021-05-14 20:18:46] [INFO ] Flatten gal took : 772 ms
Starting structural reductions, iteration 0 : 621/621 places, 4771/4771 transitions.
Reduce places removed 15 places and 0 transitions.
Iterating post reduction 0 with 15 rules applied. Total rules applied 15 place count 606 transition count 4771
Applied a total of 15 rules in 165 ms. Remains 606 /621 variables (removed 15) and now considering 4771/4771 (removed 0) transitions.
[2021-05-14 20:18:46] [INFO ] Flow matrix only has 1412 transitions (discarded 3359 similar events)
// Phase 1: matrix 1412 rows 606 cols
[2021-05-14 20:18:46] [INFO ] Computed 65 place invariants in 27 ms
[2021-05-14 20:18:51] [INFO ] Implicit Places using invariants in 4853 ms returned [546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560]
Discarding 15 places :
Implicit Place search using SMT only with invariants took 4862 ms to find 15 implicit places.
[2021-05-14 20:18:51] [INFO ] Flow matrix only has 1412 transitions (discarded 3359 similar events)
// Phase 1: matrix 1412 rows 591 cols
[2021-05-14 20:18:51] [INFO ] Computed 50 place invariants in 21 ms
[2021-05-14 20:18:58] [INFO ] Dead Transitions using invariants and state equation in 7308 ms returned [211, 227, 243, 259, 275, 291, 307, 323, 339, 355, 371, 387, 403, 419, 435, 436, 452, 468, 484, 500, 516, 532, 548, 564, 580, 596, 612, 628, 644, 660, 661, 677, 693, 709, 725, 741, 757, 773, 789, 805, 821, 837, 853, 869, 885, 886, 902, 918, 934, 950, 966, 982, 998, 1014, 1030, 1046, 1062, 1078, 1094, 1110, 1111, 1127, 1143, 1159, 1175, 1191, 1207, 1223, 1239, 1255, 1271, 1287, 1303, 1319, 1335, 1336, 1352, 1368, 1384, 1400, 1416, 1432, 1448, 1464, 1480, 1496, 1512, 1528, 1544, 1560, 1561, 1577, 1593, 1609, 1625, 1641, 1657, 1673, 1689, 1705, 1721, 1737, 1753, 1769, 1785, 1786, 1802, 1818, 1834, 1850, 1866, 1882, 1898, 1914, 1930, 1946, 1962, 1978, 1994, 2010, 2011, 2027, 2043, 2059, 2075, 2091, 2107, 2123, 2139, 2155, 2171, 2187, 2203, 2219, 2235, 2236, 2252, 2268, 2284, 2300, 2316, 2332, 2348, 2364, 2380, 2396, 2412, 2428, 2444, 2460, 2461, 2477, 2493, 2509, 2525, 2541, 2557, 2573, 2589, 2605, 2621, 2637, 2653, 2669, 2685, 2686, 2702, 2718, 2734, 2750, 2766, 2782, 2798, 2814, 2830, 2846, 2862, 2878, 2894, 2910, 2911, 2927, 2943, 2959, 2975, 2991, 3007, 3023, 3039, 3055, 3071, 3087, 3103, 3119, 3135, 3136, 3152, 3168, 3184, 3200, 3216, 3232, 3248, 3264, 3280, 3296, 3312, 3328, 3344, 3360, 3361, 3377, 3393, 3409, 3425, 3441, 3457, 3473, 3489, 3505, 3521, 3537, 3553, 3569, 3585]
Found 225 dead transitions using SMT.
FORMULA Liveness FALSE TECHNIQUES QUASILIVENESS_TEST

BK_STOP 1621023540006

--------------------
content from stderr:

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ Liveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution Liveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination Liveness -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="SafeBus-PT-15"
export BK_EXAMINATION="Liveness"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool itstools"
echo " Input is SafeBus-PT-15, examination is Liveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r204-smll-162089465300184"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/SafeBus-PT-15.tgz
mv SafeBus-PT-15 execution
cd execution
if [ "Liveness" = "ReachabilityDeadlock" ] || [ "Liveness" = "UpperBounds" ] || [ "Liveness" = "QuasiLiveness" ] || [ "Liveness" = "StableMarking" ] || [ "Liveness" = "Liveness" ] || [ "Liveness" = "OneSafe" ] || [ "Liveness" = "StateSpace" ]; then
rm -f GenericPropertiesVerdict.xml
fi
pwd
ls -lh

echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "Liveness" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "Liveness" != "StateSpace" ] ; then
echo "The expected result is a vector of booleans"
echo BOOL_VECTOR
else
echo "no data necessary for post analysis"
fi
echo
if [ -f "Liveness.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property Liveness.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "Liveness.xml" ] ; then # for cunf (txt files deleted;-)
echo echo "here is the order used to build the result vector(from xml file)"
for x in $(grep '' Liveness.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "Liveness" = "ReachabilityDeadlock" ] || [ "Liveness" = "QuasiLiveness" ] || [ "Liveness" = "StableMarking" ] || [ "Liveness" = "Liveness" ] || [ "Liveness" = "OneSafe" ] ; then
echo "FORMULA_NAME Liveness"
fi
echo
echo "=== Now, execution of the tool begins"
echo
echo -n "BK_START "
date -u +%s%3N
echo
timeout -s 9 $BK_TIME_CONFINEMENT bash -c "/home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n \"BK_STOP \" ; date -u +%s%3N"
if [ $? -eq 137 ] ; then
echo
echo "BK_TIME_CONFINEMENT_REACHED"
fi
echo
echo "--------------------"
echo "content from stderr:"
echo
cat STDERR ;