fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r071-tall-165254780500215
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for DatabaseWithMutex-PT-10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
630.764 42643.00 54114.00 599.40 TFTFFFFTTTTFTTFT 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.r071-tall-165254780500215.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 DatabaseWithMutex-PT-10, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r071-tall-165254780500215
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 4.9M
-rw-r--r-- 1 mcc users 72K Apr 30 05:32 CTLCardinality.txt
-rw-r--r-- 1 mcc users 329K Apr 30 05:32 CTLCardinality.xml
-rw-r--r-- 1 mcc users 103K Apr 30 05:26 CTLFireability.txt
-rw-r--r-- 1 mcc users 523K Apr 30 05:26 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.7K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 52K May 9 07:35 LTLCardinality.txt
-rw-r--r-- 1 mcc users 171K May 9 07:35 LTLCardinality.xml
-rw-r--r-- 1 mcc users 41K May 9 07:35 LTLFireability.txt
-rw-r--r-- 1 mcc users 169K May 9 07:35 LTLFireability.xml
-rw-r--r-- 1 mcc users 113K Apr 30 05:49 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 545K Apr 30 05:49 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 320K Apr 30 05:43 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 1.7M Apr 30 05:43 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 8.4K May 9 07:35 UpperBounds.txt
-rw-r--r-- 1 mcc users 20K May 9 07:35 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 3 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 840K May 10 09:33 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 DatabaseWithMutex-PT-10-ReachabilityCardinality-00
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-01
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-02
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-03
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-04
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-05
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-06
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-07
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-08
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-09
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-10
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-11
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-12
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-13
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-14
FORMULA_NAME DatabaseWithMutex-PT-10-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655069525622

Running Version 0
[2022-06-12 21:32:07] [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:32:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:32:07] [INFO ] Load time of PNML (sax parser for PT used): 110 ms
[2022-06-12 21:32:07] [INFO ] Transformed 830 places.
[2022-06-12 21:32:07] [INFO ] Transformed 800 transitions.
[2022-06-12 21:32:07] [INFO ] Found NUPN structural information;
[2022-06-12 21:32:07] [INFO ] Parsed PT model containing 830 places and 800 transitions in 171 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 55 ms.
Working with output stream class java.io.PrintStream
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 2 resets, run finished after 233 ms. (steps per millisecond=42 ) properties (out of 14) seen :8
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 339 ms. (steps per millisecond=29 ) properties (out of 6) seen :1
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 194 ms. (steps per millisecond=51 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 40 ms. (steps per millisecond=250 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 61 ms. (steps per millisecond=163 ) properties (out of 5) seen :0
Running SMT prover for 5 properties.
// Phase 1: matrix 800 rows 830 cols
[2022-06-12 21:32:08] [INFO ] Computed 130 place invariants in 49 ms
[2022-06-12 21:32:08] [INFO ] [Real]Absence check using 19 positive place invariants in 31 ms returned sat
[2022-06-12 21:32:08] [INFO ] [Real]Absence check using 19 positive and 111 generalized place invariants in 24 ms returned unsat
[2022-06-12 21:32:09] [INFO ] [Real]Absence check using 19 positive place invariants in 17 ms returned sat
[2022-06-12 21:32:09] [INFO ] [Real]Absence check using 19 positive and 111 generalized place invariants in 46 ms returned unsat
[2022-06-12 21:32:09] [INFO ] [Real]Absence check using 19 positive place invariants in 14 ms returned sat
[2022-06-12 21:32:09] [INFO ] [Real]Absence check using 19 positive and 111 generalized place invariants in 48 ms returned sat
[2022-06-12 21:32:09] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:32:09] [INFO ] [Real]Absence check using state equation in 246 ms returned sat
[2022-06-12 21:32:09] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:32:09] [INFO ] [Real]Absence check using 19 positive place invariants in 16 ms returned sat
[2022-06-12 21:32:10] [INFO ] [Real]Absence check using 19 positive and 111 generalized place invariants in 432 ms returned sat
[2022-06-12 21:32:10] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:32:14] [INFO ] [Real]Absence check using state equation in 4444 ms returned unknown
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-12 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-05 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 5 Parikh solutions to 1 different solutions.
Support contains 66 out of 830 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 830/830 places, 800/800 transitions.
Drop transitions removed 106 transitions
Trivial Post-agglo rules discarded 106 transitions
Performed 106 trivial Post agglomeration. Transition count delta: 106
Iterating post reduction 0 with 106 rules applied. Total rules applied 106 place count 830 transition count 694
Reduce places removed 106 places and 0 transitions.
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: 5
Iterating post reduction 1 with 111 rules applied. Total rules applied 217 place count 724 transition count 689
Reduce places removed 6 places and 0 transitions.
Drop transitions removed 13 transitions
Trivial Post-agglo rules discarded 13 transitions
Performed 13 trivial Post agglomeration. Transition count delta: 13
Iterating post reduction 2 with 19 rules applied. Total rules applied 236 place count 718 transition count 676
Reduce places removed 13 places and 0 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Iterating post reduction 3 with 17 rules applied. Total rules applied 253 place count 705 transition count 672
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 4 with 4 rules applied. Total rules applied 257 place count 701 transition count 672
Performed 166 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 166 Pre rules applied. Total rules applied 257 place count 701 transition count 506
Deduced a syphon composed of 166 places in 1 ms
Reduce places removed 166 places and 0 transitions.
Iterating global reduction 5 with 332 rules applied. Total rules applied 589 place count 535 transition count 506
Free-agglomeration rule applied 91 times.
Iterating global reduction 5 with 91 rules applied. Total rules applied 680 place count 535 transition count 415
Reduce places removed 91 places and 0 transitions.
Iterating post reduction 5 with 91 rules applied. Total rules applied 771 place count 444 transition count 415
Free-agglomeration rule (complex) applied 48 times.
Iterating global reduction 6 with 48 rules applied. Total rules applied 819 place count 444 transition count 367
Reduce places removed 50 places and 0 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Iterating post reduction 6 with 54 rules applied. Total rules applied 873 place count 394 transition count 363
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 7 with 4 rules applied. Total rules applied 877 place count 390 transition count 363
Performed 14 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 8 with 14 Pre rules applied. Total rules applied 877 place count 390 transition count 349
Deduced a syphon composed of 14 places in 1 ms
Reduce places removed 14 places and 0 transitions.
Iterating global reduction 8 with 28 rules applied. Total rules applied 905 place count 376 transition count 349
Applied a total of 905 rules in 227 ms. Remains 376 /830 variables (removed 454) and now considering 349/800 (removed 451) transitions.
Finished structural reductions, in 1 iterations. Remains : 376/830 places, 349/800 transitions.
[2022-06-12 21:32:15] [INFO ] Flatten gal took : 90 ms
[2022-06-12 21:32:15] [INFO ] Flatten gal took : 49 ms
[2022-06-12 21:32:15] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality7211053201533910710.gal : 25 ms
[2022-06-12 21:32:15] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality16074078196050678309.prop : 7 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/ReachabilityCardinality7211053201533910710.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality16074078196050678309.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/ReachabilityCardinality7211053201533910710.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality16074078196050678309.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality16074078196050678309.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 10
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :10 after 15
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :15 after 20
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :20 after 90
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :90 after 991
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :991 after 2396
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :2396 after 51422
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :51422 after 671345
SDD proceeding with computation,1 properties remain. new max is 1024
SDD size :671345 after 4.39649e+06
SDD proceeding with computation,1 properties remain. new max is 2048
SDD size :4.39649e+06 after 4.71995e+07
SDD proceeding with computation,1 properties remain. new max is 4096
SDD size :4.71995e+07 after 8.61197e+09
Detected timeout of ITS tools.
[2022-06-12 21:32:30] [INFO ] Flatten gal took : 49 ms
[2022-06-12 21:32:30] [INFO ] Applying decomposition
[2022-06-12 21:32:30] [INFO ] Flatten gal took : 45 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/graph8183246941317859172.txt, -o, /tmp/graph8183246941317859172.bin, -w, /tmp/graph8183246941317859172.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/graph8183246941317859172.bin, -l, -1, -v, -w, /tmp/graph8183246941317859172.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 21:32:30] [INFO ] Decomposing Gal with order
[2022-06-12 21:32:30] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 21:32:30] [INFO ] Removed a total of 1150 redundant transitions.
[2022-06-12 21:32:30] [INFO ] Flatten gal took : 110 ms
[2022-06-12 21:32:31] [INFO ] Fuse similar labels procedure discarded/fused a total of 24 labels/synchronizations in 39 ms.
[2022-06-12 21:32:31] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality9538362062585523479.gal : 12 ms
[2022-06-12 21:32:31] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality3975154083904230237.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/ReachabilityCardinality9538362062585523479.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality3975154083904230237.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/ReachabilityCardinality9538362062585523479.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality3975154083904230237.prop --nowitness
Loading property file /tmp/ReachabilityCardinality3975154083904230237.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :5 after 25
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :25 after 81
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :81 after 5.60032e+07
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin9749297197402907041
[2022-06-12 21:32:46] [INFO ] Built C files in 34ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin9749297197402907041
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/ltsmin9749297197402907041]
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/ltsmin9749297197402907041] 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/ltsmin9749297197402907041] 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 3964 steps, including 0 resets, run visited all 1 properties in 41 ms. (steps per millisecond=96 )
FORMULA DatabaseWithMutex-PT-10-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655069568265

--------------------
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="DatabaseWithMutex-PT-10"
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 DatabaseWithMutex-PT-10, 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 r071-tall-165254780500215"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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