fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r197-tajo-165281578800062
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for RERS17pb115-PT-3

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16245.831 267471.00 457078.00 13302.90 F?FFTTF??FTFF??T normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2022-input.r197-tajo-165281578800062.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2022-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool gold2021
Input is RERS17pb115-PT-3, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r197-tajo-165281578800062
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 70M
-rw-r--r-- 1 mcc users 6.9K Apr 30 06:24 CTLCardinality.txt
-rw-r--r-- 1 mcc users 74K Apr 30 06:24 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.6K Apr 30 06:21 CTLFireability.txt
-rw-r--r-- 1 mcc users 49K Apr 30 06:21 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.8K May 9 08:33 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 9 08:33 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K May 9 08:33 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 08:33 LTLFireability.xml
-rw-r--r-- 1 mcc users 9.4K Apr 30 06:31 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 101K Apr 30 06:31 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 13K Apr 30 06:28 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 81K Apr 30 06:28 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 08:33 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 9 08:33 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 2 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 69M 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 RERS17pb115-PT-3-ReachabilityCardinality-00
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-01
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-02
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-03
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-04
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-05
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-06
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-07
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-08
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-09
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-10
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-11
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-12
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-13
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-14
FORMULA_NAME RERS17pb115-PT-3-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655098639237

Running Version 0
[2022-06-13 05:37:22] [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-13 05:37:22] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-13 05:37:24] [INFO ] Load time of PNML (sax parser for PT used): 2649 ms
[2022-06-13 05:37:25] [INFO ] Transformed 1399 places.
[2022-06-13 05:37:25] [INFO ] Transformed 144369 transitions.
[2022-06-13 05:37:25] [INFO ] Parsed PT model containing 1399 places and 144369 transitions in 3295 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 21 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1635 ms. (steps per millisecond=6 ) properties (out of 16) seen :4
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 133 ms. (steps per millisecond=75 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 100 ms. (steps per millisecond=100 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 140 ms. (steps per millisecond=71 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 136 ms. (steps per millisecond=73 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 107 ms. (steps per millisecond=93 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 97 ms. (steps per millisecond=103 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 100 ms. (steps per millisecond=100 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 189 ms. (steps per millisecond=52 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 166 ms. (steps per millisecond=60 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 160 ms. (steps per millisecond=62 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 136 ms. (steps per millisecond=73 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 147 ms. (steps per millisecond=68 ) properties (out of 12) seen :0
Running SMT prover for 12 properties.
[2022-06-13 05:37:30] [INFO ] Flow matrix only has 81238 transitions (discarded 63131 similar events)
// Phase 1: matrix 81238 rows 1399 cols
[2022-06-13 05:37:30] [INFO ] Computed 37 place invariants in 577 ms
[2022-06-13 05:37:31] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:12
[2022-06-13 05:37:31] [INFO ] [Nat]Absence check using 19 positive place invariants in 14 ms returned sat
[2022-06-13 05:37:31] [INFO ] [Nat]Absence check using 19 positive and 18 generalized place invariants in 2 ms returned sat
[2022-06-13 05:37:32] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-13 05:37:56] [INFO ] [Nat]Absence check using state equation in 24451 ms returned unsat :3 sat :9
[2022-06-13 05:38:01] [INFO ] State equation strengthened by 2277 read => feed constraints.
[2022-06-13 05:38:01] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-02 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 12 Parikh solutions to 1 different solutions.
Support contains 91 out of 1399 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1399/1399 places, 144369/144369 transitions.
Ensure Unique test removed 16 places
Iterating post reduction 0 with 16 rules applied. Total rules applied 16 place count 1383 transition count 144369
Applied a total of 16 rules in 2268 ms. Remains 1383 /1399 variables (removed 16) and now considering 144369/144369 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 1383/1399 places, 144369/144369 transitions.
[2022-06-13 05:38:10] [INFO ] Flatten gal took : 5259 ms
[2022-06-13 05:38:14] [INFO ] Flatten gal took : 4798 ms
[2022-06-13 05:38:16] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality3240558314903010757.gal : 591 ms
[2022-06-13 05:38:16] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality8662639936962860019.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/ReachabilityCardinality3240558314903010757.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality8662639936962860019.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/ReachabilityCardinality3240558314903010757.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality8662639936962860019.prop --nowitness --gen-order FOLLOW
Detected timeout of ITS tools.
[2022-06-13 05:38:35] [INFO ] Flatten gal took : 4334 ms
[2022-06-13 05:38:35] [INFO ] Applying decomposition
[2022-06-13 05:38:39] [INFO ] Flatten gal took : 3661 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/graph13735937914176208828.txt, -o, /tmp/graph13735937914176208828.bin, -w, /tmp/graph13735937914176208828.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/graph13735937914176208828.bin, -l, -1, -v, -w, /tmp/graph13735937914176208828.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-13 05:38:50] [INFO ] Decomposing Gal with order
[2022-06-13 05:38:50] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-13 05:39:03] [INFO ] Removed a total of 435752 redundant transitions.
[2022-06-13 05:39:04] [INFO ] Flatten gal took : 8158 ms
[2022-06-13 05:39:37] [INFO ] Fuse similar labels procedure discarded/fused a total of 4003 labels/synchronizations in 20021 ms.
[2022-06-13 05:39:43] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality17445172622859414446.gal : 587 ms
[2022-06-13 05:39:43] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality10933984638793200933.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/ReachabilityCardinality17445172622859414446.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality10933984638793200933.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/ReachabilityCardinality17445172622859414446.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality10933984638793200933.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality10933984638793200933.prop.
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin2699921308988357659
[2022-06-13 05:40:00] [INFO ] Built C files in 1358ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin2699921308988357659
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/ltsmin2699921308988357659]
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/ltsmin2699921308988357659] 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/ltsmin2699921308988357659] 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)
Interrupted random walk after 164428 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=5 ) properties seen :{2=1, 8=1}
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 533577 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=106 ) properties seen :{0=1}
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 538246 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=107 ) properties seen :{}
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 4807 ms. (steps per millisecond=208 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 4259 ms. (steps per millisecond=234 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 4635 ms. (steps per millisecond=215 ) properties (out of 6) seen :1
FORMULA RERS17pb115-PT-3-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 882935 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=176 ) properties seen :{}
Interrupted Best-First random walk after 679088 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=135 ) properties seen :{}
Running SMT prover for 5 properties.
[2022-06-13 05:41:05] [INFO ] Flow matrix only has 81238 transitions (discarded 63131 similar events)
// Phase 1: matrix 81238 rows 1383 cols
[2022-06-13 05:41:06] [INFO ] Computed 21 place invariants in 564 ms
[2022-06-13 05:41:07] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:5
[2022-06-13 05:41:07] [INFO ] [Nat]Absence check using 3 positive place invariants in 7 ms returned sat
[2022-06-13 05:41:07] [INFO ] [Nat]Absence check using 3 positive and 18 generalized place invariants in 69 ms returned sat
[2022-06-13 05:41:07] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-13 05:41:22] [INFO ] [Nat]Absence check using state equation in 14330 ms returned unsat :0 sat :5
[2022-06-13 05:41:24] [INFO ] State equation strengthened by 2277 read => feed constraints.
[2022-06-13 05:41:24] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
Fused 5 Parikh solutions to 1 different solutions.
Support contains 33 out of 1383 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1383/1383 places, 144369/144369 transitions.
Ensure Unique test removed 2 places
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 1381 transition count 144369
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 3 place count 1380 transition count 144368
Applied a total of 3 rules in 8393 ms. Remains 1380 /1383 variables (removed 3) and now considering 144368/144369 (removed 1) transitions.
Finished structural reductions, in 1 iterations. Remains : 1380/1383 places, 144368/144369 transitions.

BK_STOP 1655098906708

--------------------
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="RERS17pb115-PT-3"
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 RERS17pb115-PT-3, 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 r197-tajo-165281578800062"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/RERS17pb115-PT-3.tgz
mv RERS17pb115-PT-3 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 '' ReachabilityCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
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 ;