fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r287-smll-165307357000129
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for ViralEpidemic-PT-S03D1C1A08

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
2232.367 212633.00 255370.00 918.20 TFTTTFFTFTTTTTTT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r287-smll-165307357000129.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-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 gold2021
Input is ViralEpidemic-PT-S03D1C1A08, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r287-smll-165307357000129
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 29M
-rw-r--r-- 1 mcc users 7.1K Apr 29 13:25 CTLCardinality.txt
-rw-r--r-- 1 mcc users 58K Apr 29 13:25 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.7K Apr 29 12:46 CTLFireability.txt
-rw-r--r-- 1 mcc users 59K Apr 29 12:46 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.8K May 9 09:22 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 09:22 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May 9 09:22 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 09:22 LTLFireability.xml
-rw-r--r-- 1 mcc users 19K Apr 29 14:44 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 164K Apr 29 14:44 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 11K Apr 29 14:02 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 71K Apr 29 14:02 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K May 9 09:22 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May 9 09:22 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 11 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 29M May 10 09:34 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 ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-00
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-01
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-02
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-03
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-04
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-05
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-06
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-07
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-08
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-09
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-10
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-11
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-12
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-13
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-14
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1655069663002

Running Version 0
[2022-06-12 21:34:26] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -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, 3600]
[2022-06-12 21:34:26] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:34:28] [INFO ] Load time of PNML (sax parser for PT used): 2261 ms
[2022-06-12 21:34:28] [INFO ] Transformed 49206 places.
[2022-06-12 21:34:28] [INFO ] Transformed 68887 transitions.
[2022-06-12 21:34:28] [INFO ] Parsed PT model containing 49206 places and 68887 transitions in 2681 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 43 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 69 resets, run finished after 5066 ms. (steps per millisecond=1 ) properties (out of 16) seen :4
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 4 resets, run finished after 4394 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 4607 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 4 resets, run finished after 3904 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 4141 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 4 resets, run finished after 3991 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 4171 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 4307 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 4118 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 3887 ms. (steps per millisecond=2 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 3895 ms. (steps per millisecond=2 ) properties (out of 12) seen :1
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 3817 ms. (steps per millisecond=2 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 3810 ms. (steps per millisecond=2 ) properties (out of 11) seen :0
Running SMT prover for 11 properties.
// Phase 1: matrix 68887 rows 49206 cols
[2022-06-12 21:36:49] [INFO ] Invariants computation overflowed in 85589 ms
[2022-06-12 21:37:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:37:14] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
Fused 11 Parikh solutions to 1 different solutions.
Support contains 334 out of 49206 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 49206/49206 places, 68887/68887 transitions.
Graph (complete) has 29523 edges and 49206 vertex of which 1470 are kept as prefixes of interest. Removing 47736 places using SCC suffix rule.88 ms
Discarding 47736 places :
Also discarding 65798 output transitions
Drop transitions removed 65798 transitions
Drop transitions removed 1722 transitions
Reduce isomorphic transitions removed 1722 transitions.
Drop transitions removed 191 transitions
Trivial Post-agglo rules discarded 191 transitions
Performed 191 trivial Post agglomeration. Transition count delta: 191
Iterating post reduction 0 with 1913 rules applied. Total rules applied 1914 place count 1470 transition count 1176
Reduce places removed 191 places and 0 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Iterating post reduction 1 with 193 rules applied. Total rules applied 2107 place count 1279 transition count 1174
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 2109 place count 1277 transition count 1174
Performed 143 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 143 Pre rules applied. Total rules applied 2109 place count 1277 transition count 1031
Deduced a syphon composed of 143 places in 2 ms
Reduce places removed 143 places and 0 transitions.
Iterating global reduction 3 with 286 rules applied. Total rules applied 2395 place count 1134 transition count 1031
Discarding 176 places :
Symmetric choice reduction at 3 with 176 rule applications. Total rules 2571 place count 958 transition count 855
Iterating global reduction 3 with 176 rules applied. Total rules applied 2747 place count 958 transition count 855
Performed 109 Post agglomeration using F-continuation condition.Transition count delta: 109
Deduced a syphon composed of 109 places in 1 ms
Reduce places removed 109 places and 0 transitions.
Iterating global reduction 3 with 218 rules applied. Total rules applied 2965 place count 849 transition count 746
Renaming transitions due to excessive name length > 1024 char.
Free-agglomeration rule applied 2 times.
Iterating global reduction 3 with 2 rules applied. Total rules applied 2967 place count 849 transition count 744
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 3 with 2 rules applied. Total rules applied 2969 place count 847 transition count 744
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 4 with 1 rules applied. Total rules applied 2970 place count 846 transition count 743
Applied a total of 2970 rules in 1374 ms. Remains 846 /49206 variables (removed 48360) and now considering 743/68887 (removed 68144) transitions.
Finished structural reductions, in 1 iterations. Remains : 846/49206 places, 743/68887 transitions.
[2022-06-12 21:37:16] [INFO ] Flatten gal took : 205 ms
[2022-06-12 21:37:16] [INFO ] Flatten gal took : 93 ms
[2022-06-12 21:37:16] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality10985177499236343184.gal : 87 ms
[2022-06-12 21:37:16] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality1875658645531101150.prop : 6 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality10985177499236343184.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality1875658645531101150.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality10985177499236343184.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality1875658645531101150.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality1875658645531101150.prop.
SDD proceeding with computation,11 properties remain. new max is 4
SDD size :1 after 8
SDD proceeding with computation,11 properties remain. new max is 8
SDD size :8 after 64
SDD proceeding with computation,11 properties remain. new max is 16
SDD size :64 after 6144
SDD proceeding with computation,11 properties remain. new max is 32
SDD size :6144 after 4.71859e+06
Reachability property ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-07 is true.
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-07 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
SDD proceeding with computation,10 properties remain. new max is 32
SDD size :4.71859e+06 after 4.79318e+12
SDD proceeding with computation,10 properties remain. new max is 64
SDD size :4.79318e+12 after 7.85315e+17
SDD proceeding with computation,10 properties remain. new max is 128
SDD size :7.85315e+17 after 3.19606e+26
SDD proceeding with computation,10 properties remain. new max is 256
SDD size :3.19606e+26 after 2.5135e+31
Detected timeout of ITS tools.
[2022-06-12 21:37:32] [INFO ] Flatten gal took : 89 ms
[2022-06-12 21:37:32] [INFO ] Applying decomposition
[2022-06-12 21:37:32] [INFO ] Flatten gal took : 48 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph9390875950541523035.txt, -o, /tmp/graph9390875950541523035.bin, -w, /tmp/graph9390875950541523035.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph9390875950541523035.bin, -l, -1, -v, -w, /tmp/graph9390875950541523035.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 21:37:32] [INFO ] Decomposing Gal with order
[2022-06-12 21:37:32] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 21:37:32] [INFO ] Removed a total of 314 redundant transitions.
[2022-06-12 21:37:33] [INFO ] Flatten gal took : 327 ms
[2022-06-12 21:37:33] [INFO ] Fuse similar labels procedure discarded/fused a total of 8 labels/synchronizations in 30 ms.
[2022-06-12 21:37:33] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality18232083718046597553.gal : 50 ms
[2022-06-12 21:37:33] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality17295912849244596554.prop : 2 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality18232083718046597553.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality17295912849244596554.prop, --nowitness], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality18232083718046597553.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality17295912849244596554.prop --nowitness
Loading property file /tmp/ReachabilityCardinality17295912849244596554.prop.
SDD proceeding with computation,10 properties remain. new max is 4
SDD size :1 after 432
SDD proceeding with computation,10 properties remain. new max is 8
SDD size :432 after 31104
Reachability property ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-15 is true.
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-15 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN
SDD proceeding with computation,9 properties remain. new max is 8
SDD size :31104 after 1.71993e+09
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin2331449231156134574
[2022-06-12 21:37:48] [INFO ] Built C files in 46ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin2331449231156134574
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin2331449231156134574]
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin2331449231156134574] killed by timeout after 1 SECONDS
java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin2331449231156134574] killed by timeout after 1 SECONDS
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:79)
at java.base/java.lang.Thread.run(Thread.java:834)
Finished random walk after 232078 steps, including 550 resets, run visited all 9 properties in 5139 ms. (steps per millisecond=45 )
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655069875635

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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 ReachabilityFireability -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 3600 -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="ViralEpidemic-PT-S03D1C1A08"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="gold2021"
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 gold2021"
echo " Input is ViralEpidemic-PT-S03D1C1A08, 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 r287-smll-165307357000129"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/ViralEpidemic-PT-S03D1C1A08.tgz
mv ViralEpidemic-PT-S03D1C1A08 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 ;