About the Execution of 2021-gold for ShieldRVs-PT-100B
| Execution Summary | |||||
| Max Memory Used (MB)  | 
      Time wait (ms) | CPU Usage (ms) | I/O Wait (ms) | Computed Result | Execution Status  | 
   
| 2242.752 | 74267.00 | 111932.00 | 504.80 | FFFTTFFTTTTFTTTT | 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.r233-tall-165286037500330.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 ShieldRVs-PT-100B, examination is ReachabilityFireability
    Time confinement is 3600 seconds
    Memory confinement is 16384 MBytes
    Number of cores is 4
    Run identifier is r233-tall-165286037500330
=====================================================================
--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.7M
-rw-r--r-- 1 mcc users 5.8K Apr 30 06:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users  56K Apr 30 06:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.1K Apr 30 06:54 CTLFireability.txt
-rw-r--r-- 1 mcc users  59K Apr 30 06:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.5K May  9 08:59 LTLCardinality.txt
-rw-r--r-- 1 mcc users  24K May  9 08:59 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May  9 08:59 LTLFireability.txt
-rw-r--r-- 1 mcc users  17K May  9 08:59 LTLFireability.xml
-rw-r--r-- 1 mcc users  11K Apr 30 06:55 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 107K Apr 30 06:55 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 6.3K Apr 30 06:55 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users  50K Apr 30 06:55 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May  9 08:59 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May  9 08:59 UpperBounds.xml
-rw-r--r-- 1 mcc users    6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users    5 May 10 09:34 instance
-rw-r--r-- 1 mcc users    6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 1.3M 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 ShieldRVs-PT-100B-ReachabilityFireability-00
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-01
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-02
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-03
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-04
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-05
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-06
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-07
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-08
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-09
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-10
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-11
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-12
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-13
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-14
FORMULA_NAME ShieldRVs-PT-100B-ReachabilityFireability-15
=== Now, execution of the tool begins
BK_START 1655080806005
Running Version 0
[2022-06-13 00:40:07] [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-13 00:40:07] [INFO   ] Parsing pnml file : /home/mcc/execution/model.pnml 
[2022-06-13 00:40:07] [INFO   ] Load time of PNML (sax parser for PT used): 198 ms 
[2022-06-13 00:40:08] [INFO   ] Transformed 4003 places. 
[2022-06-13 00:40:08] [INFO   ] Transformed 4503 transitions. 
[2022-06-13 00:40:08] [INFO   ] Found NUPN structural information; 
[2022-06-13 00:40:08] [INFO   ] Parsed PT model containing 4003 places and 4503 transitions in 382 ms. 
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 12 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000  steps, including 2 resets, run finished after 129 ms. (steps per millisecond=77 ) properties (out of 16) seen :9
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 57 ms. (steps per millisecond=175 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 43 ms. (steps per millisecond=232 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 49 ms. (steps per millisecond=204 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 7) seen :0
Running SMT prover for 7 properties.
// Phase 1: matrix 4503 rows 4003 cols
[2022-06-13 00:40:08] [INFO   ] Computed 401 place invariants in 68 ms 
[2022-06-13 00:40:09] [INFO   ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:7 
[2022-06-13 00:40:11] [INFO   ] [Nat]Absence check using  401 positive place invariants in 269 ms returned sat 
[2022-06-13 00:40:11] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-06-13 00:40:15] [INFO   ] [Nat]Absence check using state equation in 3978 ms returned unsat :1 sat :6 
Attempting to minimize the solution found.
Minimization took 1024 ms.
[2022-06-13 00:40:16] [INFO   ] SMT Verify possible in nat domain returned unsat :1 sat :6 
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
Fused 7 Parikh solutions to 5 different solutions.
Incomplete Parikh walk after 241300 steps, including 210 resets, run finished after 1870 ms. (steps per millisecond=129 ) properties (out of 6) seen :1 could not realise parikh vector 
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-03 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 242200 steps, including 211 resets, run finished after 1809 ms. (steps per millisecond=133 ) properties (out of 5) seen :0 could not realise parikh vector 
Incomplete Parikh walk after 242800 steps, including 211 resets, run finished after 1756 ms. (steps per millisecond=138 ) properties (out of 5) seen :0 could not realise parikh vector 
Incomplete Parikh walk after 241700 steps, including 209 resets, run finished after 1737 ms. (steps per millisecond=139 ) properties (out of 5) seen :0 could not realise parikh vector 
Incomplete Parikh walk after 242600 steps, including 208 resets, run finished after 1757 ms. (steps per millisecond=138 ) properties (out of 5) seen :0 could not realise parikh vector 
Support contains 130 out of 4003 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 4003/4003 places, 4503/4503 transitions.
Drop transitions removed 379 transitions 
Trivial Post-agglo rules discarded 379 transitions
Performed 379 trivial Post agglomeration. Transition count delta: 379
Iterating post reduction 0 with 379 rules applied. Total rules applied 379 place count 4003 transition count 4124
Reduce places removed 379 places and 0 transitions. 
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: 5
Iterating post reduction 1 with 384 rules applied. Total rules applied 763 place count 3624 transition count 4119
Reduce places removed 5 places and 0 transitions. 
Iterating post reduction 2 with 5 rules applied. Total rules applied 768 place count 3619 transition count 4119
Performed 494 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 494 Pre rules applied. Total rules applied 768 place count 3619 transition count 3625
Deduced a syphon composed of 494 places in 33 ms
Reduce places removed 494 places and 0 transitions. 
Iterating global reduction 3 with 988 rules applied. Total rules applied 1756 place count 3125 transition count 3625
Discarding 668 places :
Symmetric choice reduction at 3 with 668 rule applications. Total rules  2424 place count 2457 transition count 2957
Iterating global reduction 3 with 668 rules applied. Total rules applied 3092 place count 2457 transition count 2957
Performed 261 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 261 Pre rules applied. Total rules applied 3092 place count 2457 transition count 2696
Deduced a syphon composed of 261 places in 9 ms
Reduce places removed 261 places and 0 transitions. 
Iterating global reduction 3 with 522 rules applied. Total rules applied 3614 place count 2196 transition count 2696
Performed 672 Post agglomeration using F-continuation condition.Transition count delta: 672
Deduced a syphon composed of 672 places in 6 ms
Reduce places removed 672 places and 0 transitions. 
Iterating global reduction 3 with 1344 rules applied. Total rules applied 4958 place count 1524 transition count 2024
Renaming transitions due to excessive name length > 1024 char.
Partial Free-agglomeration rule applied 196 times.
Drop transitions removed 196 transitions 
Iterating global reduction 3 with 196 rules applied. Total rules applied 5154 place count 1524 transition count 2024
Reduce places removed 1 places and 1 transitions. 
Iterating global reduction 3 with 1 rules applied. Total rules applied 5155 place count 1523 transition count 2023
Applied a total of 5155 rules in 1501 ms. Remains 1523 /4003 variables (removed 2480) and now considering 2023/4503 (removed 2480) transitions.
Finished structural reductions, in 1 iterations. Remains : 1523/4003 places, 2023/4503 transitions.
[2022-06-13 00:40:27] [INFO   ] Flatten gal took : 262 ms 
[2022-06-13 00:40:27] [INFO   ] Flatten gal took : 135 ms 
[2022-06-13 00:40:27] [INFO   ] Time to serialize gal into /tmp/ReachabilityCardinality9074681685407206726.gal : 45 ms 
[2022-06-13 00:40:27] [INFO   ] Time to serialize properties into /tmp/ReachabilityCardinality11860018474199420972.prop : 1 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/ReachabilityCardinality9074681685407206726.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality11860018474199420972.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/ReachabilityCardinality9074681685407206726.gal  -t  CGAL  -reachable-file  /tmp/ReachabilityCardinality11860018474199420972.prop  --nowitness  --gen-order  FOLLOW  
Loading property file /tmp/ReachabilityCardinality11860018474199420972.prop.
SDD proceeding with computation,5 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,5 properties remain. new max is 8
SDD size :5 after 7
SDD proceeding with computation,5 properties remain. new max is 16
SDD size :7 after 9
SDD proceeding with computation,5 properties remain. new max is 32
SDD size :9 after 21
SDD proceeding with computation,5 properties remain. new max is 64
SDD size :21 after 161
SDD proceeding with computation,5 properties remain. new max is 128
SDD size :161 after 40321
SDD proceeding with computation,5 properties remain. new max is 256
SDD size :40321 after 9.75421e+08
SDD proceeding with computation,5 properties remain. new max is 512
SDD size :9.75421e+08 after 2.27546e+14
Detected timeout of ITS tools.
[2022-06-13 00:40:42] [INFO   ] Flatten gal took : 115 ms 
[2022-06-13 00:40:42] [INFO   ] Applying decomposition  
[2022-06-13 00:40:43] [INFO   ] Flatten gal took : 106 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/graph10788410497044723338.txt, -o, /tmp/graph10788410497044723338.bin, -w, /tmp/graph10788410497044723338.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/graph10788410497044723338.bin, -l, -1, -v, -w, /tmp/graph10788410497044723338.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-13 00:40:43] [INFO   ] Decomposing Gal with order  
[2022-06-13 00:40:43] [INFO   ] Rewriting arrays  to variables to allow decomposition. 
[2022-06-13 00:40:43] [INFO   ] Removed a total of 2398 redundant transitions. 
[2022-06-13 00:40:43] [INFO   ] Flatten gal took : 239 ms 
[2022-06-13 00:40:44] [INFO   ] Fuse similar labels procedure discarded/fused a total of 2006 labels/synchronizations in 114 ms. 
[2022-06-13 00:40:44] [INFO   ] Time to serialize gal into /tmp/ReachabilityCardinality11270047111036020742.gal : 25 ms 
[2022-06-13 00:40:44] [INFO   ] Time to serialize properties into /tmp/ReachabilityCardinality329270016015145466.prop : 1 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/ReachabilityCardinality11270047111036020742.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality329270016015145466.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/ReachabilityCardinality11270047111036020742.gal  -t  CGAL  -reachable-file  /tmp/ReachabilityCardinality329270016015145466.prop  --nowitness  
Loading property file /tmp/ReachabilityCardinality329270016015145466.prop.
SDD proceeding with computation,5 properties remain. new max is 4
SDD size :1 after 1
SDD proceeding with computation,5 properties remain. new max is 8
SDD size :1 after 1
SDD proceeding with computation,5 properties remain. new max is 16
SDD size :1 after 2
SDD proceeding with computation,5 properties remain. new max is 32
SDD size :2 after 2
SDD proceeding with computation,5 properties remain. new max is 64
SDD size :2 after 62
SDD proceeding with computation,5 properties remain. new max is 128
SDD size :62 after 162
SDD proceeding with computation,5 properties remain. new max is 256
SDD size :162 after 3202
Detected timeout of ITS tools.
Built C files in : 
/tmp/ltsmin12502506206093888215
[2022-06-13 00:40:59] [INFO   ] Built C files in 42ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin12502506206093888215 
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/ltsmin12502506206093888215]
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/ltsmin12502506206093888215] 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/ltsmin12502506206093888215] 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)
Incomplete random walk after 1000000  steps, including 758 resets, run finished after 8888 ms. (steps per millisecond=112 ) properties (out of 5) seen :2
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 754540  steps, including 49 resets, run timeout after 5001 ms. (steps per millisecond=150 ) properties seen :{0=1}
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 743494  steps, including 40 resets, run timeout after 5001 ms. (steps per millisecond=148 ) properties seen :{0=1}
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Finished Best-First random walk after 10929  steps, including 0 resets, run visited all 1 properties in 64 ms. (steps per millisecond=170 )
FORMULA ShieldRVs-PT-100B-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
All properties solved without resorting to model-checking.
BK_STOP 1655080880272
--------------------
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="ShieldRVs-PT-100B"
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 ShieldRVs-PT-100B, 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 r233-tall-165286037500330"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"
tar xzf /home/mcc/BenchKit/INPUTS/ShieldRVs-PT-100B.tgz
mv ShieldRVs-PT-100B 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 '
		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 ;
