About the Execution of 2021-gold for HypertorusGrid-PT-d4k3p2b08
| Execution Summary | |||||
| Max Memory Used (MB)  | 
      Time wait (ms) | CPU Usage (ms) | I/O Wait (ms) | Computed Result | Execution Status  | 
   
| 890.987 | 69273.00 | 107574.00 | 536.20 | TFFTTFTTFFTTTFFF | 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.r143-tall-165271830100023.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 HypertorusGrid-PT-d4k3p2b08, examination is ReachabilityCardinality
    Time confinement is 3600 seconds
    Memory confinement is 16384 MBytes
    Number of cores is 4
    Run identifier is r143-tall-165271830100023
=====================================================================
--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.3M
-rw-r--r-- 1 mcc users 9.2K Apr 30 09:06 CTLCardinality.txt
-rw-r--r-- 1 mcc users  80K Apr 30 09:06 CTLCardinality.xml
-rw-r--r-- 1 mcc users 9.2K Apr 30 08:57 CTLFireability.txt
-rw-r--r-- 1 mcc users  67K Apr 30 08:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.6K May  9 08:05 LTLCardinality.txt
-rw-r--r-- 1 mcc users  25K May  9 08:05 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.2K May  9 08:05 LTLFireability.txt
-rw-r--r-- 1 mcc users  17K May  9 08:05 LTLFireability.xml
-rw-r--r-- 1 mcc users  17K Apr 30 09:50 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 138K Apr 30 09:50 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users  14K Apr 30 09:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users  84K Apr 30 09:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K May  9 08:05 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May  9 08:05 UpperBounds.xml
-rw-r--r-- 1 mcc users    6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users   10 May 10 09:34 instance
-rw-r--r-- 1 mcc users    6 May 10 09:34 iscolored
-rwxr-xr-x 1 mcc users 2.8M 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 HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-00
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-01
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-02
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-03
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-04
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-05
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-06
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-07
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-08
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-09
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-10
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-11
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-12
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-13
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-14
FORMULA_NAME HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-15
=== Now, execution of the tool begins
BK_START 1655068524928
Running Version 0
[2022-06-12 21:15:26] [INFO   ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -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:15:26] [INFO   ] Parsing pnml file : /home/mcc/execution/model.pnml 
[2022-06-12 21:15:26] [INFO   ] Load time of PNML (sax parser for PT used): 244 ms 
[2022-06-12 21:15:26] [INFO   ] Transformed 2025 places. 
[2022-06-12 21:15:26] [INFO   ] Transformed 5184 transitions. 
[2022-06-12 21:15:26] [INFO   ] Parsed PT model containing 2025 places and 5184 transitions in 334 ms. 
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 29 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000  steps, including 2 resets, run finished after 1723 ms. (steps per millisecond=5 ) properties (out of 16) seen :7
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 177 ms. (steps per millisecond=56 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 223 ms. (steps per millisecond=44 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 173 ms. (steps per millisecond=57 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 154 ms. (steps per millisecond=64 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 158 ms. (steps per millisecond=63 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 159 ms. (steps per millisecond=62 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 165 ms. (steps per millisecond=60 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 148 ms. (steps per millisecond=67 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 154 ms. (steps per millisecond=64 ) properties (out of 9) seen :0
Running SMT prover for 9 properties.
// Phase 1: matrix 5184 rows 2025 cols
[2022-06-12 21:15:30] [INFO   ] Computed 730 place invariants in 311 ms 
[2022-06-12 21:15:31] [INFO   ] [Real]Absence check using  729 positive place invariants in 100 ms returned unsat 
[2022-06-12 21:15:31] [INFO   ] [Real]Absence check using  729 positive place invariants in 146 ms returned unsat 
[2022-06-12 21:15:31] [INFO   ] [Real]Absence check using  729 positive place invariants in 104 ms returned unsat 
[2022-06-12 21:15:32] [INFO   ] [Real]Absence check using  729 positive place invariants in 82 ms returned unsat 
[2022-06-12 21:15:32] [INFO   ] [Real]Absence check using  729 positive place invariants in 120 ms returned unsat 
[2022-06-12 21:15:32] [INFO   ] [Real]Absence check using  729 positive place invariants in 63 ms returned unsat 
[2022-06-12 21:15:32] [INFO   ] [Real]Absence check using  729 positive place invariants in 81 ms returned unsat 
[2022-06-12 21:15:33] [INFO   ] [Real]Absence check using  729 positive place invariants in 116 ms returned unsat 
[2022-06-12 21:15:33] [INFO   ] [Real]Absence check using  729 positive place invariants in 132 ms returned sat 
[2022-06-12 21:15:33] [INFO   ] [Real]Absence check using  729 positive and 1 generalized place invariants in 39 ms returned sat 
[2022-06-12 21:15:33] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-06-12 21:15:34] [INFO   ] [Real]Absence check using state equation in 1434 ms returned sat 
[2022-06-12 21:15:35] [INFO   ] Solution in real domain found non-integer solution. 
[2022-06-12 21:15:35] [INFO   ] [Nat]Absence check using  729 positive place invariants in 141 ms returned sat 
[2022-06-12 21:15:35] [INFO   ] [Nat]Absence check using  729 positive and 1 generalized place invariants in 42 ms returned sat 
[2022-06-12 21:15:35] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-06-12 21:15:36] [INFO   ] [Nat]Absence check using state equation in 1389 ms returned sat 
[2022-06-12 21:15:37] [INFO   ] Computed and/alt/rep : 4536/4536/4536 causal constraints (skipped 0 transitions) in 232 ms. 
[2022-06-12 21:15:40] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Broken pipe ... while checking expression at index 8 
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-13 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-09 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT 
Fused 9 Parikh solutions to 1 different solutions.
Support contains 13 out of 2025 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 2025/2025 places, 5184/5184 transitions.
Applied a total of 0 rules in 362 ms. Remains 2025 /2025 variables (removed 0) and now considering 5184/5184 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 2025/2025 places, 5184/5184 transitions.
[2022-06-12 21:15:41] [INFO   ] Flatten gal took : 404 ms 
[2022-06-12 21:15:41] [INFO   ] Flatten gal took : 203 ms 
[2022-06-12 21:15:41] [INFO   ] Time to serialize gal into /tmp/ReachabilityCardinality16873705427469398070.gal : 73 ms 
[2022-06-12 21:15:41] [INFO   ] Time to serialize properties into /tmp/ReachabilityCardinality9944507436799276541.prop : 0 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/ReachabilityCardinality16873705427469398070.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality9944507436799276541.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/ReachabilityCardinality16873705427469398070.gal  -t  CGAL  -reachable-file  /tmp/ReachabilityCardinality9944507436799276541.prop  --nowitness  --gen-order  FOLLOW  
Loading property file /tmp/ReachabilityCardinality9944507436799276541.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 4
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :4 after 48
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :48 after 76
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :76 after 448
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :448 after 5402
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :5402 after 53076
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :53076 after 64504
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :64504 after 90846
SDD proceeding with computation,1 properties remain. new max is 1024
SDD size :90846 after 984557
SDD proceeding with computation,1 properties remain. new max is 2048
SDD size :984557 after 1.0738e+06
SDD proceeding with computation,1 properties remain. new max is 4096
SDD size :1.0738e+06 after 1.83107e+06
Detected timeout of ITS tools.
[2022-06-12 21:15:56] [INFO   ] Flatten gal took : 187 ms 
[2022-06-12 21:15:56] [INFO   ] Applying decomposition  
[2022-06-12 21:15:56] [INFO   ] Flatten gal took : 186 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/graph11524239142960739274.txt, -o, /tmp/graph11524239142960739274.bin, -w, /tmp/graph11524239142960739274.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/graph11524239142960739274.bin, -l, -1, -v, -w, /tmp/graph11524239142960739274.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 21:15:57] [INFO   ] Decomposing Gal with order  
[2022-06-12 21:15:57] [INFO   ] Rewriting arrays  to variables to allow decomposition. 
[2022-06-12 21:15:58] [INFO   ] Removed a total of 7766 redundant transitions. 
[2022-06-12 21:15:58] [INFO   ] Flatten gal took : 494 ms 
[2022-06-12 21:15:58] [INFO   ] Fuse similar labels procedure discarded/fused a total of 273 labels/synchronizations in 168 ms. 
[2022-06-12 21:15:59] [INFO   ] Time to serialize gal into /tmp/ReachabilityCardinality15648628683624937355.gal : 32 ms 
[2022-06-12 21:15:59] [INFO   ] Time to serialize properties into /tmp/ReachabilityCardinality12393394486201503134.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/ReachabilityCardinality15648628683624937355.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality12393394486201503134.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/ReachabilityCardinality15648628683624937355.gal  -t  CGAL  -reachable-file  /tmp/ReachabilityCardinality12393394486201503134.prop  --nowitness  --gen-order  FOLLOW  
Loading property file /tmp/ReachabilityCardinality12393394486201503134.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 28
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :28 after 256
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :256 after 3672
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :3672 after 80436
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :80436 after 83166
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :83166 after 96601
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :96601 after 126560
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :126560 after 784468
SDD proceeding with computation,1 properties remain. new max is 1024
SDD size :784468 after 1.12844e+06
Detected timeout of ITS tools.
Built C files in : 
/tmp/ltsmin16904329951528470313
[2022-06-12 21:16:14] [INFO   ] Built C files in 71ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin16904329951528470313 
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/ltsmin16904329951528470313]
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/ltsmin16904329951528470313] 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/ltsmin16904329951528470313] 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 125886  steps, including 0 resets, run visited all 1 properties in 17341 ms. (steps per millisecond=7 )
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.
BK_STOP 1655068594201
--------------------
content from stderr:
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -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 ReachabilityCardinality -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="HypertorusGrid-PT-d4k3p2b08"
export BK_EXAMINATION="ReachabilityCardinality"
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 HypertorusGrid-PT-d4k3p2b08, examination is ReachabilityCardinality"
echo "    Time confinement is $BK_TIME_CONFINEMENT seconds"
echo "    Memory confinement is 16384 MBytes"
echo "    Number of cores is 4"
echo "    Run identifier is r143-tall-165271830100023"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"
tar xzf /home/mcc/BenchKit/INPUTS/HypertorusGrid-PT-d4k3p2b08.tgz
mv HypertorusGrid-PT-d4k3p2b08 execution
cd execution
if [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "UpperBounds" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] || [ "ReachabilityCardinality" = "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 [ "ReachabilityCardinality" = "UpperBounds" ] ; then
	echo "The expected result is a vector of positive values"
	echo NUM_VECTOR
elif [ "ReachabilityCardinality" != "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 "ReachabilityCardinality.txt" ] ; then
	echo "here is the order used to build the result vector(from text file)"
	for x in $(grep Property ReachabilityCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
		echo "FORMULA_NAME $x"
	done
elif [ -f "ReachabilityCardinality.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 [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] ; then
	echo "FORMULA_NAME ReachabilityCardinality"
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 ;
