fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r440-smll-171690586100079
Last Updated
July 7, 2024

About the Execution of 2023-gold for TokenRing-COL-050

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
0.000 1502655.00 0.00 0.00 [undef] Cannot compute

Execution Chart

Sorry, for this execution, no execution chart could be reported.

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r440-smll-171690586100079.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 TokenRing-COL-050, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r440-smll-171690586100079
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 448K
-rw-r--r-- 1 mcc users 6.6K Apr 13 03:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 68K Apr 13 03:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Apr 12 18:37 CTLFireability.txt
-rw-r--r-- 1 mcc users 53K Apr 12 18:37 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:43 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.8K Apr 23 08:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 23 08:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Apr 23 08:02 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 23 08:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 10K Apr 14 13:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 97K Apr 14 13:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.0K Apr 14 08:23 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 63K Apr 14 08:23 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 23 08:02 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Apr 23 08:02 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 18 16:43 equiv_pt
-rw-r--r-- 1 mcc users 4 May 18 16:43 instance
-rw-r--r-- 1 mcc users 5 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 33K May 18 16:43 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 1717000655492

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=Liveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=TokenRing-COL-050
Not applying reductions.
Model is COL
Liveness COL
Running Version 202304061127
[2024-05-29 16:37:37] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2024-05-29 16:37:37] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-29 16:37:37] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2024-05-29 16:37:38] [WARNING] Using fallBack plugin, rng conformance not checked
[2024-05-29 16:37:38] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 705 ms
[2024-05-29 16:37:38] [INFO ] Imported 1 HL places and 2 HL transitions for a total of 2601 PT places and 132702.0 transition bindings in 43 ms.
[2024-05-29 16:37:38] [INFO ] Built PT skeleton of HLPN with 1 places and 2 transitions 4 arcs in 6 ms.
[2024-05-29 16:37:38] [INFO ] Skeletonized 0 HLPN properties in 0 ms.
[2024-05-29 16:37:39] [INFO ] Unfolded HLPN to a Petri net with 2601 places and 127551 transitions 510204 arcs in 1021 ms.
[2024-05-29 16:37:39] [INFO ] Unfolded 0 HLPN properties in 0 ms.
[2024-05-29 16:37:40] [INFO ] Unfolded HLPN to a Petri net with 2601 places and 127551 transitions 510204 arcs in 585 ms.
[2024-05-29 16:37:40] [INFO ] Unfolded 2 HLPN properties in 26 ms.
[2024-05-29 16:37:41] [INFO ] Built PT skeleton of HLPN with 1 places and 2 transitions 4 arcs in 1 ms.
[2024-05-29 16:37:41] [INFO ] Skeletonized 1 HLPN properties in 1 ms. Removed 1 properties that had guard overlaps.
Reduce places removed 1 places and 0 transitions.
Skeleton produced trivially non deadlocked net.
Domain [Process(51), Process(51)] of place State breaks symmetries in sort Process
[2024-05-29 16:37:42] [INFO ] Unfolded HLPN to a Petri net with 2601 places and 127551 transitions 510204 arcs in 667 ms.
[2024-05-29 16:37:42] [INFO ] Unfolded 2 HLPN properties in 15 ms.
Built sparse matrix representations for Structural reductions in 178 ms.1335957KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 2601/2601 places, 127551/127551 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 1989 ms. Remains 2601 /2601 variables (removed 0) and now considering 127551/127551 (removed 0) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 2003 ms. Remains : 2601/2601 places, 127551/127551 transitions.
Starting structural reductions in DEADLOCK mode, iteration 0 : 2601/2601 places, 127551/127551 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 1320 ms. Remains 2601 /2601 variables (removed 0) and now considering 127551/127551 (removed 0) transitions.
// Phase 1: matrix 127551 rows 2601 cols
[2024-05-29 16:37:49] [INFO ] Computed 51 invariants in 650 ms
[2024-05-29 16:37:49] [INFO ] Implicit Places using invariants in 1547 ms returned []
Implicit Place search using SMT only with invariants took 1599 ms to find 0 implicit places.
[2024-05-29 16:37:49] [INFO ] Invariant cache hit.
[2024-05-29 16:38:20] [INFO ] Performed 42325/127551 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2024-05-29 16:38:49] [INFO ] Dead Transitions using invariants and state equation in 60085 ms found 0 transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 63011 ms. Remains : 2601/2601 places, 127551/127551 transitions.
Interrupted Random walk after 496207 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=16 )
[2024-05-29 16:39:20] [INFO ] Invariant cache hit.
[2024-05-29 16:40:16] [INFO ] [Real]Absence check using 51 positive place invariants in 905 ms returned unsat
[2024-05-29 16:40:17] [INFO ] Unfolded HLPN to a Petri net with 2601 places and 127551 transitions 510204 arcs in 378 ms.
[2024-05-29 16:40:17] [INFO ] Unfolded 2 HLPN properties in 9 ms.
Initial state reduction rules removed 1 formulas.
Finished random walk after 222 steps, including 0 resets, run visited all 1 properties in 45 ms. (steps per millisecond=4 )
Parikh walk visited 0 properties in 1 ms.
[2024-05-29 16:40:23] [INFO ] Flatten gal took : 4252 ms
[2024-05-29 16:40:27] [INFO ] Flatten gal took : 3356 ms
[2024-05-29 16:40:27] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality18226067558961099408.gal : 589 ms
[2024-05-29 16:40:27] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality17644391740993421569.prop : 1 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/ReachabilityCardinality18226067558961099408.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality17644391740993421569.prop' '--nowitness' '--gen-order' 'FOLLOW'

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 2 properties.
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 ...330
[2024-05-29 16:40:35] [INFO ] Flatten gal took : 4401 ms
[2024-05-29 16:40:39] [INFO ] Flatten gal took : 3923 ms
[2024-05-29 16:40:39] [INFO ] Time to serialize gal into /tmp/CTLFireability3224815386610478290.gal : 435 ms
[2024-05-29 16:40:40] [INFO ] Time to serialize properties into /tmp/CTLFireability4885572152579067097.ctl : 642 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-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability3224815386610478290.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability4885572152579067097.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...283
Detected timeout of ITS tools.
[2024-05-29 16:40:48] [INFO ] Flatten gal took : 4093 ms
[2024-05-29 16:40:48] [INFO ] Applying decomposition
[2024-05-29 16:40:52] [INFO ] Flatten gal took : 3767 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202304061127/bin/convert-linux64' '-i' '/tmp/graph1727433165380214729.txt' '-o' '/tmp/graph1727433165380214729.bin' '-w' '/tmp/graph1727433165380214729.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202304061127/bin/louvain-linux64' '/tmp/graph1727433165380214729.bin' '-l' '-1' '-v' '-w' '/tmp/graph1727433165380214729.weights' '-q' '0' '-e' '0.001'
[2024-05-29 16:41:02] [INFO ] Decomposing Gal with order
[2024-05-29 16:41:02] [INFO ] Rewriting arrays to variables to allow decomposition.
[2024-05-29 16:41:18] [INFO ] Removed a total of 303947 redundant transitions.
[2024-05-29 16:41:21] [INFO ] Flatten gal took : 7954 ms
Loading property file /tmp/ReachabilityCardinality17644391740993421569.prop.
[2024-05-29 16:43:03] [INFO ] Fuse similar labels procedure discarded/fused a total of 853 labels/synchronizations in 6481 ms.
[2024-05-29 16:43:05] [INFO ] Time to serialize gal into /tmp/CTLFireability7568750134270161746.gal : 1018 ms
[2024-05-29 16:43:05] [INFO ] Time to serialize properties into /tmp/CTLFireability8034535000041651491.ctl : 596 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-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability7568750134270161746.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability8034535000041651491.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...262
Detected timeout of ITS tools.
[2024-05-29 16:43:14] [INFO ] Flatten gal took : 4370 ms
[2024-05-29 16:43:19] [INFO ] Flatten gal took : 4467 ms
[2024-05-29 16:43:20] [INFO ] Time to serialize gal into /tmp/CTLFireability18005990830083129762.gal : 630 ms
[2024-05-29 16:43:20] [INFO ] Time to serialize properties into /tmp/CTLFireability16132820564433460267.ctl : 460 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-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability18005990830083129762.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability16132820564433460267.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...285
Detected timeout of ITS tools.
[2024-05-29 16:43:56] [INFO ] Flatten gal took : 4488 ms
[2024-05-29 16:43:56] [INFO ] Applying decomposition
[2024-05-29 16:44:04] [INFO ] Flatten gal took : 8493 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202304061127/bin/convert-linux64' '-i' '/tmp/graph18259246050613213024.txt' '-o' '/tmp/graph18259246050613213024.bin' '-w' '/tmp/graph18259246050613213024.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202304061127/bin/louvain-linux64' '/tmp/graph18259246050613213024.bin' '-l' '-1' '-v' '-w' '/tmp/graph18259246050613213024.weights' '-q' '0' '-e' '0.001'
[2024-05-29 16:44:15] [INFO ] Decomposing Gal with order
[2024-05-29 16:44:15] [INFO ] Rewriting arrays to variables to allow decomposition.
[2024-05-29 16:44:30] [INFO ] Removed a total of 303849 redundant transitions.
[2024-05-29 16:44:33] [INFO ] Flatten gal took : 6677 ms
[2024-05-29 16:45:30] [INFO ] Fuse similar labels procedure discarded/fused a total of 715 labels/synchronizations in 5153 ms.
[2024-05-29 16:45:31] [INFO ] Time to serialize gal into /tmp/CTLFireability3904678561476509426.gal : 468 ms
[2024-05-29 16:45:31] [INFO ] Time to serialize properties into /tmp/CTLFireability7663540477507209817.ctl : 545 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-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability3904678561476509426.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability7663540477507209817.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...262
Detected timeout of ITS tools.
[2024-05-29 16:46:06] [INFO ] Flatten gal took : 4154 ms
[2024-05-29 16:46:12] [INFO ] Flatten gal took : 5541 ms
[2024-05-29 16:46:13] [INFO ] Time to serialize gal into /tmp/CTLFireability16483178252811265410.gal : 388 ms
[2024-05-29 16:46:13] [INFO ] Time to serialize properties into /tmp/CTLFireability7540116442432478690.ctl : 294 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-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability16483178252811265410.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability7540116442432478690.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...284
No direction supplied, using forward translation only.
Parsed 2 CTL formulae.
ITS tools runner thread asked to quit. Dying gracefully.
Detected timeout of ITS tools.
[2024-05-29 16:51:19] [INFO ] Flatten gal took : 5190 ms
[2024-05-29 16:51:19] [INFO ] Applying decomposition
[2024-05-29 16:51:23] [INFO ] Flatten gal took : 3842 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202304061127/bin/convert-linux64' '-i' '/tmp/graph5884904855473218215.txt' '-o' '/tmp/graph5884904855473218215.bin' '-w' '/tmp/graph5884904855473218215.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202304061127/bin/louvain-linux64' '/tmp/graph5884904855473218215.bin' '-l' '-1' '-v' '-w' '/tmp/graph5884904855473218215.weights' '-q' '0' '-e' '0.001'
[2024-05-29 16:51:31] [INFO ] Decomposing Gal with order
[2024-05-29 16:51:31] [INFO ] Rewriting arrays to variables to allow decomposition.
[2024-05-29 16:51:53] [INFO ] Removed a total of 304045 redundant transitions.
[2024-05-29 16:51:55] [INFO ] Flatten gal took : 13179 ms
[2024-05-29 16:57:43] [INFO ] Fuse similar labels procedure discarded/fused a total of 2030 labels/synchronizations in 6028 ms.
[2024-05-29 16:57:44] [INFO ] Time to serialize gal into /tmp/CTLFireability8926372378657913100.gal : 574 ms
[2024-05-29 16:57:45] [INFO ] Time to serialize properties into /tmp/CTLFireability11175921055432564838.ctl : 1036 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-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability8926372378657913100.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability11175921055432564838.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...263
No direction supplied, using forward translation only.
Parsed 2 CTL formulae.

BK_STOP 1717002158147

--------------------
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
+ [[ Liveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution Liveness -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 Liveness -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="TokenRing-COL-050"
export BK_EXAMINATION="Liveness"
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 TokenRing-COL-050, 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 r440-smll-171690586100079"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/TokenRing-COL-050.tgz
mv TokenRing-COL-050 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 ;