fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r088-tall-171620522200022
Last Updated
July 7, 2024

About the Execution of 2023-gold for CANConstruction-PT-040

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
2179.344 81928.00 161782.00 152.90 T normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r088-tall-171620522200022.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.........................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool gold2023
Input is CANConstruction-PT-040, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r088-tall-171620522200022
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.0M
-rw-r--r-- 1 mcc users 11K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 95K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.1K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 42K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.9K Apr 22 14:31 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Apr 22 14:31 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K May 19 07:13 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 19 17:56 LTLFireability.xml
-rw-r--r-- 1 mcc users 20K Apr 12 18:32 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 164K Apr 12 18:32 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 15K Apr 12 18:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 104K Apr 12 18:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Apr 22 14:31 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K Apr 22 14:31 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:42 equiv_col
-rw-r--r-- 1 mcc users 4 May 18 16:42 instance
-rw-r--r-- 1 mcc users 6 May 18 16:42 iscolored
-rw-r--r-- 1 mcc users 2.5M May 18 16:42 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 QuasiLiveness

=== Now, execution of the tool begins

BK_START 1716215700233

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=gold2023
BK_EXAMINATION=QuasiLiveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=CANConstruction-PT-040
Not applying reductions.
Model is PT
QuasiLiveness PT
Running Version 202304061127
[2024-05-20 14:35:01] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2024-05-20 14:35:01] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-20 14:35:01] [INFO ] Load time of PNML (sax parser for PT used): 205 ms
[2024-05-20 14:35:02] [INFO ] Transformed 3682 places.
[2024-05-20 14:35:02] [INFO ] Transformed 6720 transitions.
[2024-05-20 14:35:02] [INFO ] Parsed PT model containing 3682 places and 6720 transitions and 20000 arcs in 411 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 3682/3682 places, 6720/6720 transitions.
Drop transitions removed 280 transitions
Trivial Post-agglo rules discarded 280 transitions
Performed 280 trivial Post agglomeration. Transition count delta: 280
Iterating post reduction 0 with 280 rules applied. Total rules applied 280 place count 3682 transition count 6440
Reduce places removed 280 places and 0 transitions.
Iterating post reduction 1 with 280 rules applied. Total rules applied 560 place count 3402 transition count 6440
Performed 1600 Post agglomeration using F-continuation condition.Transition count delta: 1600
Deduced a syphon composed of 1600 places in 9 ms
Reduce places removed 1600 places and 0 transitions.
Iterating global reduction 2 with 3200 rules applied. Total rules applied 3760 place count 1802 transition count 4840
Applied a total of 3760 rules in 507 ms. Remains 1802 /3682 variables (removed 1880) and now considering 4840/6720 (removed 1880) transitions.
// Phase 1: matrix 4840 rows 1802 cols
[2024-05-20 14:35:02] [INFO ] Computed 81 invariants in 72 ms
[2024-05-20 14:35:04] [INFO ] Implicit Places using invariants in 1413 ms returned [5, 11, 17, 23, 29, 35, 41, 47, 53, 59, 65, 71, 77, 83, 89, 95, 101, 107, 113, 119, 125, 131, 137, 143, 149, 155, 161, 167, 173, 179, 185, 191, 197, 203, 209, 215, 221, 227, 233, 239]
Discarding 40 places :
Implicit Place search using SMT only with invariants took 1441 ms to find 40 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 1762/3682 places, 4840/6720 transitions.
Performed 80 Post agglomeration using F-continuation condition.Transition count delta: 80
Deduced a syphon composed of 80 places in 3 ms
Reduce places removed 80 places and 0 transitions.
Iterating global reduction 0 with 160 rules applied. Total rules applied 160 place count 1682 transition count 4760
Applied a total of 160 rules in 74 ms. Remains 1682 /1762 variables (removed 80) and now considering 4760/4840 (removed 80) transitions.
// Phase 1: matrix 4760 rows 1682 cols
[2024-05-20 14:35:04] [INFO ] Computed 41 invariants in 51 ms
[2024-05-20 14:35:05] [INFO ] Implicit Places using invariants in 967 ms returned []
[2024-05-20 14:35:05] [INFO ] Invariant cache hit.
[2024-05-20 14:35:05] [INFO ] State equation strengthened by 4720 read => feed constraints.
[2024-05-20 14:35:20] [INFO ] Implicit Places using invariants and state equation in 15693 ms returned []
Implicit Place search using SMT with State Equation took 16664 ms to find 0 implicit places.
Starting structural reductions in LIVENESS mode, iteration 2 : 1682/3682 places, 4760/6720 transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 18688 ms. Remains : 1682/3682 places, 4760/6720 transitions.
Discarding 1560 transitions out of 4760. Remains 3200
Initial state reduction rules removed 40 formulas.
[2024-05-20 14:35:21] [INFO ] Flatten gal took : 312 ms
[2024-05-20 14:35:21] [INFO ] Flatten gal took : 299 ms
[2024-05-20 14:35:22] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality5160643670571839012.gal : 71 ms
[2024-05-20 14:35:22] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2469515801832470404.prop : 22 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality5160643670571839012.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality2469515801832470404.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...328
Incomplete random walk after 10000 steps, including 49 resets, run finished after 1552 ms. (steps per millisecond=6 ) properties (out of 3160) seen :3033
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 127) seen :0
Loading property file /tmp/ReachabilityCardinality2469515801832470404.prop.
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 127) seen :0
Running SMT prover for 127 properties.
[2024-05-20 14:35:22] [INFO ] Invariant cache hit.
[2024-05-20 14:35:26] [INFO ] [Real]Absence check using 41 positive place invariants in 32 ms returned sat
Reachability property qltransition_2519 is true.
Reachability property qltransition_2441 is true.
Reachability property qltransition_2363 is true.
Reachability property qltransition_2285 is true.
Reachability property qltransition_2207 is true.
Reachability property qltransition_2129 is true.
Reachability property qltransition_2051 is true.
Reachability property qltransition_1973 is true.
Reachability property qltransition_1895 is true.
Reachability property qltransition_1817 is true.
Reachability property qltransition_1739 is true.
Reachability property qltransition_1661 is true.
Reachability property qltransition_1639 is true.
Reachability property qltransition_1638 is true.
Reachability property qltransition_1637 is true.
Reachability property qltransition_1636 is true.
Reachability property qltransition_1635 is true.
Reachability property qltransition_1634 is true.
Reachability property qltransition_1633 is true.
Reachability property qltransition_1632 is true.
Reachability property qltransition_1631 is true.
Reachability property qltransition_1630 is true.
Reachability property qltransition_1629 is true.
Reachability property qltransition_1628 is true.
Reachability property qltransition_1627 is true.
Reachability property qltransition_1626 is true.
Reachability property qltransition_1625 is true.
Reachability property qltransition_1624 is true.
Reachability property qltransition_1623 is true.
Reachability property qltransition_1622 is true.
Reachability property qltransition_1621 is true.
Reachability property qltransition_1620 is true.
Reachability property qltransition_1619 is true.
Reachability property qltransition_1618 is true.
Reachability property qltransition_1617 is true.
Reachability property qltransition_1616 is true.
Reachability property qltransition_1615 is true.
Reachability property qltransition_1614 is true.
Reachability property qltransition_1613 is true.
Reachability property qltransition_1612 is true.
Reachability property qltransition_1611 is true.
Reachability property qltransition_1610 is true.
Reachability property qltransition_1609 is true.
Reachability property qltransition_1608 is true.
Reachability property qltransition_1607 is true.
Reachability property qltransition_1606 is true.
Reachability property qltransition_1605 is true.
Reachability property qltransition_1604 is true.
Reachability property qltransition_1603 is true.
Reachability property qltransition_1602 is true.
Reachability property qltransition_1601 is true.
Reachability property qltransition_1600 is true.
Reachability property qltransition_490 is true.
Reachability property qltransition_451 is true.
Reachability property qltransition_412 is true.
Reachability property qltransition_373 is true.
Reachability property qltransition_334 is true.
Reachability property qltransition_295 is true.
[2024-05-20 14:35:44] [INFO ] After 14015ms SMT Verify possible using state equation in real domain returned unsat :0 sat :23 real:104
[2024-05-20 14:35:44] [INFO ] State equation strengthened by 4720 read => feed constraints.
Reachability property qltransition_256 is true.
Reachability property qltransition_217 is true.
Reachability property qltransition_178 is true.
Reachability property qltransition_139 is true.
Reachability property qltransition_100 is true.
Reachability property qltransition_61 is true.
SDD proceeding with computation,3096 properties remain. new max is 2
SDD size :1 after 48
[2024-05-20 14:35:47] [INFO ] After 3914ms SMT Verify possible using 4720 Read/Feed constraints in real domain returned unsat :0 sat :0 real:127
[2024-05-20 14:35:47] [INFO ] After 3915ms SMT Verify possible using trap constraints in real domain returned unsat :0 sat :0 real:127
[2024-05-20 14:35:47] [INFO ] After 25046ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:127
[2024-05-20 14:35:51] [INFO ] [Nat]Absence check using 41 positive place invariants in 29 ms returned sat
[2024-05-20 14:36:07] [INFO ] After 13088ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :127
[2024-05-20 14:36:12] [INFO ] After 5258ms SMT Verify possible using 4720 Read/Feed constraints in natural domain returned unsat :0 sat :126
[2024-05-20 14:36:12] [INFO ] After 5259ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :126
Attempting to minimize the solution found.
Minimization took 1 ms.
[2024-05-20 14:36:12] [INFO ] After 25010ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :126
Parikh walk visited 18 properties in 323 ms.
Support contains 144 out of 1682 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1682/1682 places, 4760/4760 transitions.
SDD proceeding with computation,3096 properties remain. new max is 4
SDD size :48 after 324
Applied a total of 0 rules in 6796 ms. Remains 1682 /1682 variables (removed 0) and now considering 4760/4760 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 6797 ms. Remains : 1682/1682 places, 4760/4760 transitions.
Finished random walk after 15685 steps, including 79 resets, run visited all 109 properties in 628 ms. (steps per millisecond=24 )
Parikh walk visited 0 properties in 0 ms.
ITS runner failed with exception null
java.lang.InterruptedException
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Thread.join(Thread.java:1304)
at java.base/java.lang.Thread.join(Thread.java:1372)
at fr.lip6.move.gal.application.runner.AbstractRunner.join(AbstractRunner.java:27)
at fr.lip6.move.gal.application.runner.its.ITSRunner.join(ITSRunner.java:177)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:675)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.lambda$2(ReachabilitySolver.java:63)
at java.base/java.lang.Thread.run(Thread.java:833)
Able to resolve query QuasiLiveness after proving 3200 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK TOPOLOGICAL INITIAL_STATE
Total runtime 79099 ms.

BK_STOP 1716215782161

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ QuasiLiveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution QuasiLiveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202304061127.jar
+ VERSION=202304061127
+ echo 'Running Version 202304061127'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination QuasiLiveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800

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="CANConstruction-PT-040"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="gold2023"
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-5568"
echo " Executing tool gold2023"
echo " Input is CANConstruction-PT-040, examination is QuasiLiveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r088-tall-171620522200022"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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