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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
834.783 59178.00 83188.00 476.60 FFTFFFFTFFTTTFTF 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-165254780500218.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-20, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r071-tall-165254780500218
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 17M
-rw-r--r-- 1 mcc users 214K Apr 30 06:13 CTLCardinality.txt
-rw-r--r-- 1 mcc users 905K Apr 30 06:13 CTLCardinality.xml
-rw-r--r-- 1 mcc users 381K Apr 30 05:47 CTLFireability.txt
-rw-r--r-- 1 mcc users 1.9M Apr 30 05:47 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 214K May 9 07:35 LTLCardinality.txt
-rw-r--r-- 1 mcc users 663K May 9 07:35 LTLCardinality.xml
-rw-r--r-- 1 mcc users 164K May 9 07:35 LTLFireability.txt
-rw-r--r-- 1 mcc users 595K May 9 07:35 LTLFireability.xml
-rw-r--r-- 1 mcc users 474K Apr 30 07:23 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 2.0M Apr 30 07:23 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 1.1M Apr 30 06:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 5.1M Apr 30 06:49 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 28K May 9 07:35 UpperBounds.txt
-rw-r--r-- 1 mcc users 64K 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 2.7M 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-20-ReachabilityCardinality-00
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-01
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-02
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-03
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-04
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-05
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-06
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-07
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-08
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-09
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-10
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-11
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-12
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-13
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-14
FORMULA_NAME DatabaseWithMutex-PT-20-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655069606492

Running Version 0
[2022-06-12 21:33:28] [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:33:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:33:28] [INFO ] Load time of PNML (sax parser for PT used): 281 ms
[2022-06-12 21:33:28] [INFO ] Transformed 3260 places.
[2022-06-12 21:33:28] [INFO ] Transformed 3200 transitions.
[2022-06-12 21:33:28] [INFO ] Parsed PT model containing 3260 places and 3200 transitions in 357 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 377 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 709 ms. (steps per millisecond=14 ) properties (out of 16) seen :8
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 945 ms. (steps per millisecond=10 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 77 ms. (steps per millisecond=129 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 888 ms. (steps per millisecond=11 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 18 ms. (steps per millisecond=555 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 38 ms. (steps per millisecond=263 ) properties (out of 8) 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 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 68 ms. (steps per millisecond=147 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 14 ms. (steps per millisecond=714 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
// Phase 1: matrix 3200 rows 3260 cols
[2022-06-12 21:33:32] [INFO ] Computed 460 place invariants in 304 ms
[2022-06-12 21:33:32] [INFO ] [Real]Absence check using 78 positive place invariants in 93 ms returned sat
[2022-06-12 21:33:33] [INFO ] [Real]Absence check using 78 positive and 382 generalized place invariants in 202 ms returned unsat
[2022-06-12 21:33:33] [INFO ] [Real]Absence check using 78 positive place invariants in 60 ms returned sat
[2022-06-12 21:33:33] [INFO ] [Real]Absence check using 78 positive and 382 generalized place invariants in 105 ms returned unsat
[2022-06-12 21:33:34] [INFO ] [Real]Absence check using 78 positive place invariants in 50 ms returned unsat
[2022-06-12 21:33:34] [INFO ] [Real]Absence check using 78 positive place invariants in 56 ms returned sat
[2022-06-12 21:33:34] [INFO ] [Real]Absence check using 78 positive and 382 generalized place invariants in 72 ms returned unsat
[2022-06-12 21:33:35] [INFO ] [Real]Absence check using 78 positive place invariants in 52 ms returned sat
[2022-06-12 21:33:35] [INFO ] [Real]Absence check using 78 positive and 382 generalized place invariants in 191 ms returned sat
[2022-06-12 21:33:35] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:33:36] [INFO ] [Real]Absence check using state equation in 1602 ms returned sat
[2022-06-12 21:33:37] [INFO ] Computed and/alt/rep : 2000/2000/2000 causal constraints (skipped 800 transitions) in 219 ms.
[2022-06-12 21:33:39] [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: Stream close... while checking expression at index 5
[2022-06-12 21:33:40] [INFO ] [Real]Absence check using 78 positive place invariants in 31 ms returned unsat
[2022-06-12 21:33:40] [INFO ] [Real]Absence check using 78 positive place invariants in 63 ms returned sat
[2022-06-12 21:33:40] [INFO ] [Real]Absence check using 78 positive and 382 generalized place invariants in 159 ms returned unsat
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-13 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-12 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-09 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-04 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 1 different solutions.
Support contains 3 out of 3260 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 3260/3260 places, 3200/3200 transitions.
Drop transitions removed 797 transitions
Trivial Post-agglo rules discarded 797 transitions
Performed 797 trivial Post agglomeration. Transition count delta: 797
Iterating post reduction 0 with 797 rules applied. Total rules applied 797 place count 3260 transition count 2403
Reduce places removed 816 places and 0 transitions.
Drop transitions removed 760 transitions
Trivial Post-agglo rules discarded 760 transitions
Performed 760 trivial Post agglomeration. Transition count delta: 760
Iterating post reduction 1 with 1576 rules applied. Total rules applied 2373 place count 2444 transition count 1643
Reduce places removed 760 places and 0 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 2 with 761 rules applied. Total rules applied 3134 place count 1684 transition count 1642
Reduce places removed 2 places and 0 transitions.
Drop transitions removed 38 transitions
Trivial Post-agglo rules discarded 38 transitions
Performed 38 trivial Post agglomeration. Transition count delta: 38
Iterating post reduction 3 with 40 rules applied. Total rules applied 3174 place count 1682 transition count 1604
Reduce places removed 38 places and 0 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 4 with 39 rules applied. Total rules applied 3213 place count 1644 transition count 1603
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 5 with 1 rules applied. Total rules applied 3214 place count 1643 transition count 1603
Performed 399 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 6 with 399 Pre rules applied. Total rules applied 3214 place count 1643 transition count 1204
Renaming transitions due to excessive name length > 1024 char.
Deduced a syphon composed of 399 places in 2 ms
Reduce places removed 399 places and 0 transitions.
Iterating global reduction 6 with 798 rules applied. Total rules applied 4012 place count 1244 transition count 1204
Free-agglomeration rule applied 400 times.
Iterating global reduction 6 with 400 rules applied. Total rules applied 4412 place count 1244 transition count 804
Reduce places removed 400 places and 0 transitions.
Iterating post reduction 6 with 400 rules applied. Total rules applied 4812 place count 844 transition count 804
Free-agglomeration rule (complex) applied 2 times.
Iterating global reduction 7 with 2 rules applied. Total rules applied 4814 place count 844 transition count 802
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 7 with 2 rules applied. Total rules applied 4816 place count 842 transition count 802
Applied a total of 4816 rules in 9858 ms. Remains 842 /3260 variables (removed 2418) and now considering 802/3200 (removed 2398) transitions.
Finished structural reductions, in 1 iterations. Remains : 842/3260 places, 802/3200 transitions.
[2022-06-12 21:33:51] [INFO ] Flatten gal took : 382 ms
[2022-06-12 21:33:51] [INFO ] Flatten gal took : 202 ms
[2022-06-12 21:33:51] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality15760643478738482665.gal : 77 ms
[2022-06-12 21:33:51] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality5399558206810922341.prop : 2 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality15760643478738482665.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality5399558206810922341.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/ReachabilityCardinality15760643478738482665.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality5399558206810922341.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality5399558206810922341.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 8501
Detected timeout of ITS tools.
[2022-06-12 21:34:06] [INFO ] Flatten gal took : 185 ms
[2022-06-12 21:34:06] [INFO ] Applying decomposition
[2022-06-12 21:34:06] [INFO ] Flatten gal took : 151 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/graph11046350592445623853.txt, -o, /tmp/graph11046350592445623853.bin, -w, /tmp/graph11046350592445623853.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/graph11046350592445623853.bin, -l, -1, -v, -w, /tmp/graph11046350592445623853.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 21:34:07] [INFO ] Decomposing Gal with order
[2022-06-12 21:34:07] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 21:34:07] [INFO ] Removed a total of 488 redundant transitions.
[2022-06-12 21:34:08] [INFO ] Flatten gal took : 404 ms
[2022-06-12 21:34:08] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 9 ms.
[2022-06-12 21:34:08] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality1503252177420277465.gal : 23 ms
[2022-06-12 21:34:08] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality8030635131626122312.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/ReachabilityCardinality1503252177420277465.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality8030635131626122312.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/ReachabilityCardinality1503252177420277465.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality8030635131626122312.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality8030635131626122312.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 8501
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin7968037666417640167
[2022-06-12 21:34:23] [INFO ] Built C files in 60ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin7968037666417640167
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/ltsmin7968037666417640167]
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/ltsmin7968037666417640167] 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/ltsmin7968037666417640167] 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 3559 steps, including 0 resets, run visited all 1 properties in 189 ms. (steps per millisecond=18 )
FORMULA DatabaseWithMutex-PT-20-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655069665670

--------------------
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-20"
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-20, 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-165254780500218"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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