fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r170-oct2-162089286900008
Last Updated
Jun 28, 2021

About the Execution of 2020-gold for PhilosophersDyn-COL-10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1498.880 3600000.00 136030.00 307.20 TTFTFFTTFFTTTTFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2021-input.r170-oct2-162089286900008.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/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 gold2020
Input is PhilosophersDyn-COL-10, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r170-oct2-162089286900008
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 404K
-rw-r--r-- 1 mcc users 17K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 134K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.8K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 70K May 10 09:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.4K Mar 28 16:26 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 28 16:26 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Mar 28 16:26 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 28 16:26 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Mar 27 09:18 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 27 09:18 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Mar 25 11:35 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 25 11:35 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 22 09:16 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 22 09:16 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_pt
-rw-r--r-- 1 mcc users 3 May 5 16:51 instance
-rw-r--r-- 1 mcc users 5 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 32K 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

here is the order used to build the result vector(from text file)
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-00
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-01
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-02
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-03
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-04
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-05
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-06
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-07
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-08
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-09
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-10
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-11
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-12
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-13
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-14
FORMULA_NAME PhilosophersDyn-COL-10-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1621372013331

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
[2021-05-18 21:06:56] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -timeout, 3600, -rebuildPNML]
[2021-05-18 21:06:56] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-18 21:06:56] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[2021-05-18 21:06:57] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 906 ms
[2021-05-18 21:06:57] [INFO ] sort/places :
Neighbourhood->Neighbourhood,
Philosopher->Outside,Think,Forks,WaitLeft,WaitRight,HasLeft,HasRight,

[2021-05-18 21:06:57] [INFO ] Imported 8 HL places and 7 HL transitions for a total of 170 PT places and 2320.0 transition bindings in 17 ms.
[2021-05-18 21:06:57] [INFO ] Computed order based on color domains.
[2021-05-18 21:06:57] [INFO ] Unfolded HLPN to a Petri net with 170 places and 2310 transitions in 103 ms.
[2021-05-18 21:06:57] [INFO ] Unfolded HLPN properties in 3 ms.
[2021-05-18 21:06:57] [INFO ] Reduced 89 identical enabling conditions.
[2021-05-18 21:06:57] [INFO ] Reduced 89 identical enabling conditions.
[2021-05-18 21:06:57] [INFO ] Reduced 89 identical enabling conditions.
Ensure Unique test removed 45 transitions
Reduce redundant transitions removed 45 transitions.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 313 ms.
Working with output stream class java.io.PrintStream
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 1192 resets, run finished after 696 ms. (steps per millisecond=14 ) properties seen :[0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0]
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 80 resets, run finished after 1196 ms. (steps per millisecond=8 ) properties seen :[0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 79 resets, run finished after 1038 ms. (steps per millisecond=9 ) properties seen :[0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 138 resets, run finished after 1307 ms. (steps per millisecond=7 ) properties seen :[0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 138 resets, run finished after 41 ms. (steps per millisecond=243 ) properties seen :[0, 0, 0, 0]
[2021-05-18 21:07:01] [INFO ] Flow matrix only has 1905 transitions (discarded 360 similar events)
// Phase 1: matrix 1905 rows 170 cols
[2021-05-18 21:07:01] [INFO ] Computed 39 place invariants in 45 ms
[2021-05-18 21:07:01] [INFO ] [Real]Absence check using 30 positive place invariants in 42 ms returned sat
[2021-05-18 21:07:01] [INFO ] [Real]Absence check using 30 positive and 9 generalized place invariants in 8 ms returned sat
[2021-05-18 21:07:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 21:07:02] [INFO ] [Real]Absence check using state equation in 744 ms returned sat
[2021-05-18 21:07:02] [INFO ] State equation strengthened by 1030 read => feed constraints.
[2021-05-18 21:07:03] [INFO ] [Real]Added 1030 Read/Feed constraints in 227 ms returned sat
[2021-05-18 21:07:03] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 21:07:03] [INFO ] [Nat]Absence check using 30 positive place invariants in 123 ms returned sat
[2021-05-18 21:07:03] [INFO ] [Nat]Absence check using 30 positive and 9 generalized place invariants in 15 ms returned sat
[2021-05-18 21:07:03] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 21:07:04] [INFO ] [Nat]Absence check using state equation in 1043 ms returned sat
[2021-05-18 21:07:07] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-18 21:07:08] [INFO ] [Nat]Added 1030 Read/Feed constraints in 3750 ms returned unknown
[2021-05-18 21:07:08] [INFO ] [Real]Absence check using 30 positive place invariants in 43 ms returned sat
[2021-05-18 21:07:08] [INFO ] [Real]Absence check using 30 positive and 9 generalized place invariants in 25 ms returned sat
[2021-05-18 21:07:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 21:07:09] [INFO ] [Real]Absence check using state equation in 1454 ms returned sat
[2021-05-18 21:07:10] [INFO ] [Real]Added 1030 Read/Feed constraints in 334 ms returned sat
[2021-05-18 21:07:10] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 21:07:10] [INFO ] [Nat]Absence check using 30 positive place invariants in 71 ms returned sat
[2021-05-18 21:07:10] [INFO ] [Nat]Absence check using 30 positive and 9 generalized place invariants in 8 ms returned sat
[2021-05-18 21:07:10] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 21:07:11] [INFO ] [Nat]Absence check using state equation in 793 ms returned sat
[2021-05-18 21:07:14] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-18 21:07:15] [INFO ] [Nat]Added 1030 Read/Feed constraints in 4046 ms returned unknown
[2021-05-18 21:07:15] [INFO ] [Real]Absence check using 30 positive place invariants in 39 ms returned sat
[2021-05-18 21:07:15] [INFO ] [Real]Absence check using 30 positive and 9 generalized place invariants in 7 ms returned sat
[2021-05-18 21:07:15] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 21:07:16] [INFO ] [Real]Absence check using state equation in 1211 ms returned sat
[2021-05-18 21:07:16] [INFO ] [Real]Added 1030 Read/Feed constraints in 298 ms returned sat
[2021-05-18 21:07:16] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 21:07:16] [INFO ] [Nat]Absence check using 30 positive place invariants in 37 ms returned sat
[2021-05-18 21:07:16] [INFO ] [Nat]Absence check using 30 positive and 9 generalized place invariants in 6 ms returned sat
[2021-05-18 21:07:16] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 21:07:17] [INFO ] [Nat]Absence check using state equation in 728 ms returned sat
[2021-05-18 21:07:20] [INFO ] [Nat]Added 1030 Read/Feed constraints in 2427 ms returned sat
[2021-05-18 21:07:21] [INFO ] Computed and/alt/rep : 2220/268350/1860 causal constraints in 838 ms.
[2021-05-18 21:07:21] [INFO ] Added : 25 causal constraints over 5 iterations in 1700 ms. Result :unknown
[2021-05-18 21:07:21] [INFO ] [Real]Absence check using 30 positive place invariants in 20 ms returned unsat
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-14 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Incomplete Parikh walk after 232800 steps, including 29021 resets, run finished after 11494 ms. (steps per millisecond=20 ) properties seen :[0, 0, 0] could not realise parikh vector
Support contains 160 out of 170 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 170/170 places, 2265/2265 transitions.
Applied a total of 0 rules in 169 ms. Remains 170 /170 variables (removed 0) and now considering 2265/2265 (removed 0) transitions.
[2021-05-18 21:07:33] [INFO ] Flow matrix only has 1905 transitions (discarded 360 similar events)
// Phase 1: matrix 1905 rows 170 cols
[2021-05-18 21:07:33] [INFO ] Computed 39 place invariants in 19 ms
[2021-05-18 21:07:35] [INFO ] Dead Transitions using invariants and state equation in 1611 ms returned [45, 55, 56, 65, 67, 75, 78, 85, 89, 95, 100, 105, 111, 115, 122, 125, 133, 135, 144, 145, 146, 156, 166, 167, 176, 178, 186, 189, 196, 200, 206, 211, 216, 222, 226, 233, 236, 244, 245, 247, 256, 257, 267, 277, 278, 287, 289, 297, 300, 307, 311, 317, 322, 327, 333, 337, 344, 345, 348, 356, 358, 367, 368, 378, 388, 389, 398, 400, 408, 411, 418, 422, 428, 433, 438, 444, 445, 449, 456, 459, 467, 469, 478, 479, 489, 499, 500, 509, 511, 519, 522, 529, 533, 539, 544, 545, 550, 556, 560, 567, 570, 578, 580, 589, 590, 600, 610, 611, 620, 622, 630, 633, 640, 644, 645, 651, 656, 661, 667, 671, 678, 681, 689, 691, 700, 701, 711, 721, 722, 731, 733, 741, 744, 745, 752, 756, 762, 767, 772, 778, 782, 789, 792, 800, 802, 811, 812, 822, 832, 833, 842, 844, 845, 853, 856, 863, 867, 873, 878, 883, 889, 893, 900, 903, 911, 913, 922, 923, 933, 943, 944, 945, 954, 956, 964, 967, 974, 978, 984, 989, 994, 1000, 1004, 1011, 1014, 1022, 1024, 1033, 1034, 1044, 1045, 1055, 1056, 1065, 1067, 1075, 1078, 1085, 1089, 1095, 1100, 1105, 1111, 1115, 1122, 1125, 1133, 1135, 1144, 1145, 1146, 1156, 1166, 1167, 1176, 1178, 1186, 1189, 1196, 1200, 1206, 1211, 1216, 1222, 1226, 1233, 1236, 1244, 1245, 1247, 1256, 1257, 1267, 1277, 1278, 1287, 1289, 1297, 1300, 1307, 1311, 1317, 1322, 1327, 1333, 1337, 1344, 1345, 1348, 1356, 1358, 1367, 1368, 1378, 1388, 1389, 1398, 1400, 1408, 1411, 1418, 1422, 1428, 1433, 1438, 1444, 1445, 1449, 1456, 1459, 1467, 1469, 1478, 1479, 1489, 1499, 1500, 1509, 1511, 1519, 1522, 1529, 1533, 1539, 1544, 1545, 1550, 1556, 1560, 1567, 1570, 1578, 1580, 1589, 1590, 1600, 1610, 1611, 1620, 1622, 1630, 1633, 1640, 1644, 1645, 1651, 1656, 1661, 1667, 1671, 1678, 1681, 1689, 1691, 1700, 1701, 1711, 1721, 1722, 1731, 1733, 1741, 1744, 1745, 1752, 1756, 1762, 1767, 1772, 1778, 1782, 1789, 1792, 1800, 1802, 1811, 1812, 1822, 1832, 1833, 1842, 1844, 1845, 1853, 1856, 1863, 1867, 1873, 1878, 1883, 1889, 1893, 1900, 1903, 1911, 1913, 1922, 1923, 1933, 1943, 1944, 1945, 1954, 1956, 1964, 1967, 1974, 1978, 1984, 1989, 1994, 2000, 2004, 2011, 2014, 2022, 2024, 2033, 2034, 2044]
Found 380 dead transitions using SMT.
Drop transitions removed 380 transitions
Dead transitions reduction (with SMT) triggered by suspicious arc values removed 380 transitions :[2044, 2034, 2033, 2024, 2022, 2014, 2011, 2004, 2000, 1994, 1989, 1984, 1978, 1974, 1967, 1964, 1956, 1954, 1945, 1944, 1943, 1933, 1923, 1922, 1913, 1911, 1903, 1900, 1893, 1889, 1883, 1878, 1873, 1867, 1863, 1856, 1853, 1845, 1844, 1842, 1833, 1832, 1822, 1812, 1811, 1802, 1800, 1792, 1789, 1782, 1778, 1772, 1767, 1762, 1756, 1752, 1745, 1744, 1741, 1733, 1731, 1722, 1721, 1711, 1701, 1700, 1691, 1689, 1681, 1678, 1671, 1667, 1661, 1656, 1651, 1645, 1644, 1640, 1633, 1630, 1622, 1620, 1611, 1610, 1600, 1590, 1589, 1580, 1578, 1570, 1567, 1560, 1556, 1550, 1545, 1544, 1539, 1533, 1529, 1522, 1519, 1511, 1509, 1500, 1499, 1489, 1479, 1478, 1469, 1467, 1459, 1456, 1449, 1445, 1444, 1438, 1433, 1428, 1422, 1418, 1411, 1408, 1400, 1398, 1389, 1388, 1378, 1368, 1367, 1358, 1356, 1348, 1345, 1344, 1337, 1333, 1327, 1322, 1317, 1311, 1307, 1300, 1297, 1289, 1287, 1278, 1277, 1267, 1257, 1256, 1247, 1245, 1244, 1236, 1233, 1226, 1222, 1216, 1211, 1206, 1200, 1196, 1189, 1186, 1178, 1176, 1167, 1166, 1156, 1146, 1145, 1144, 1135, 1133, 1125, 1122, 1115, 1111, 1105, 1100, 1095, 1089, 1085, 1078, 1075, 1067, 1065, 1056, 1055, 1045, 1044, 1034, 1033, 1024, 1022, 1014, 1011, 1004, 1000, 994, 989, 984, 978, 974, 967, 964, 956, 954, 945, 944, 943, 933, 923, 922, 913, 911, 903, 900, 893, 889, 883, 878, 873, 867, 863, 856, 853, 845, 844, 842, 833, 832, 822, 812, 811, 802, 800, 792, 789, 782, 778, 772, 767, 762, 756, 752, 745, 744, 741, 733, 731, 722, 721, 711, 701, 700, 691, 689, 681, 678, 671, 667, 661, 656, 651, 645, 644, 640, 633, 630, 622, 620, 611, 610, 600, 590, 589, 580, 578, 570, 567, 560, 556, 550, 545, 544, 539, 533, 529, 522, 519, 511, 509, 500, 499, 489, 479, 478, 469, 467, 459, 456, 449, 445, 444, 438, 433, 428, 422, 418, 411, 408, 400, 398, 389, 388, 378, 368, 367, 358, 356, 348, 345, 344, 337, 333, 327, 322, 317, 311, 307, 300, 297, 289, 287, 278, 277, 267, 257, 256, 247, 245, 244, 236, 233, 226, 222, 216, 211, 206, 200, 196, 189, 186, 178, 176, 167, 166, 156, 146, 145, 144, 135, 133, 125, 122, 115, 111, 105, 100, 95, 89, 85, 78, 75, 67, 65, 56, 55, 45]
Starting structural reductions, iteration 1 : 170/170 places, 1885/2265 transitions.
Applied a total of 0 rules in 84 ms. Remains 170 /170 variables (removed 0) and now considering 1885/1885 (removed 0) transitions.
Finished structural reductions, in 2 iterations. Remains : 170/170 places, 1885/2265 transitions.
Interrupted random walk after 603004 steps, including 71936 resets, run timeout after 30001 ms. (steps per millisecond=20 ) properties seen :[0, 0, 0]
Interrupted Best-First random walk after 44323 steps, including 351 resets, run timeout after 5002 ms. (steps per millisecond=8 ) properties seen :[0, 0, 0]
Interrupted Best-First random walk after 52905 steps, including 420 resets, run timeout after 5002 ms. (steps per millisecond=10 ) properties seen :[0, 0, 0]
Interrupted Best-First random walk after 41827 steps, including 580 resets, run timeout after 5002 ms. (steps per millisecond=8 ) properties seen :[0, 0, 0]
Probably explored full state space saw : 199049 states, properties seen :[0, 0, 0]
Probabilistic random walk after 816347 steps, saw 199049 distinct states, run finished after 15400 ms. (steps per millisecond=53 ) properties seen :[0, 0, 0]
Explored full state space saw : 199051 states, properties seen :[0, 0, 0]
Exhaustive walk after 816356 steps, saw 199051 distinct states, run finished after 15288 ms. (steps per millisecond=53 ) properties seen :[0, 0, 0]
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL EXHAUSTIVE_WALK
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL EXHAUSTIVE_WALK
FORMULA PhilosophersDyn-COL-10-ReachabilityFireability-01 TRUE TECHNIQUES TOPOLOGICAL EXHAUSTIVE_WALK
All properties solved without resorting to model-checking.

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

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="PhilosophersDyn-COL-10"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="gold2020"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
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 gold2020"
echo " Input is PhilosophersDyn-COL-10, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r170-oct2-162089286900008"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/PhilosophersDyn-COL-10.tgz
mv PhilosophersDyn-COL-10 execution
cd execution
if [ "ReachabilityFireability" = "ReachabilityDeadlock" ] || [ "ReachabilityFireability" = "UpperBounds" ] || [ "ReachabilityFireability" = "QuasiLiveness" ] || [ "ReachabilityFireability" = "StableMarking" ] || [ "ReachabilityFireability" = "Liveness" ] || [ "ReachabilityFireability" = "OneSafe" ] || [ "ReachabilityFireability" = "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 [ "ReachabilityFireability" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityFireability" != "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 "ReachabilityFireability.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityFireability.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityFireability.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 '' ReachabilityFireability.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityFireability" = "ReachabilityDeadlock" ] || [ "ReachabilityFireability" = "QuasiLiveness" ] || [ "ReachabilityFireability" = "StableMarking" ] || [ "ReachabilityFireability" = "Liveness" ] || [ "ReachabilityFireability" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityFireability"
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 ;