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

About the Execution of 2021-gold for DoubleExponent-PT-003

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
725.035 12781.00 23669.00 160.30 TTTTTFTFTFTFFFTT 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.r089-tall-165260117600068.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 DoubleExponent-PT-003, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r089-tall-165260117600068
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 476K
-rw-r--r-- 1 mcc users 6.3K Apr 29 13:48 CTLCardinality.txt
-rw-r--r-- 1 mcc users 66K Apr 29 13:48 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.6K Apr 29 13:48 CTLFireability.txt
-rw-r--r-- 1 mcc users 56K Apr 29 13:48 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.2K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K May 9 07:41 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 07:41 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 07:42 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 07:42 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.0K Apr 29 13:49 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 81K Apr 29 13:49 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.4K Apr 29 13:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 87K Apr 29 13:49 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 07:42 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 07:42 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 4 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 50K 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 DoubleExponent-PT-003-ReachabilityCardinality-00
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-01
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-02
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-03
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-04
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-05
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-06
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-07
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-08
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-09
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-10
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-11
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-12
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-13
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-14
FORMULA_NAME DoubleExponent-PT-003-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655068507068

Running Version 0
[2022-06-12 21:15:08] [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:08] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:15:08] [INFO ] Load time of PNML (sax parser for PT used): 39 ms
[2022-06-12 21:15:08] [INFO ] Transformed 163 places.
[2022-06-12 21:15:08] [INFO ] Transformed 148 transitions.
[2022-06-12 21:15:08] [INFO ] Parsed PT model containing 163 places and 148 transitions in 75 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 12 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 349 resets, run finished after 67 ms. (steps per millisecond=149 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 27 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 30 resets, run finished after 8 ms. (steps per millisecond=125 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 28 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 28 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 25 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 31 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 30 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 25 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 28 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 29 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 28 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 26 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 29 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 29 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 28 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 27 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Probably explored full state space saw : 450435 states, properties seen :{2=1, 4=1, 7=1, 10=1, 12=1, 15=1}
Probabilistic random walk after 900899 steps, saw 450435 distinct states, run finished after 2643 ms. (steps per millisecond=340 ) properties seen :{2=1, 4=1, 7=1, 10=1, 12=1, 15=1}
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
Exhaustive walk after 1000000 steps, saw 500080 distinct states, run finished after 2862 ms. (steps per millisecond=349 ) properties seen :{}
Running SMT prover for 10 properties.
// Phase 1: matrix 148 rows 163 cols
[2022-06-12 21:15:14] [INFO ] Computed 19 place invariants in 24 ms
[2022-06-12 21:15:14] [INFO ] [Real]Absence check using 5 positive place invariants in 8 ms returned sat
[2022-06-12 21:15:14] [INFO ] [Real]Absence check using 5 positive and 14 generalized place invariants in 5 ms returned unsat
[2022-06-12 21:15:14] [INFO ] [Real]Absence check using 5 positive place invariants in 10 ms returned sat
[2022-06-12 21:15:14] [INFO ] [Real]Absence check using 5 positive and 14 generalized place invariants in 4 ms returned sat
[2022-06-12 21:15:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:15:14] [INFO ] [Real]Absence check using state equation in 105 ms returned sat
[2022-06-12 21:15:14] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:15:15] [INFO ] [Nat]Absence check using 5 positive place invariants in 8 ms returned unsat
[2022-06-12 21:15:15] [INFO ] [Real]Absence check using 5 positive place invariants in 4 ms returned sat
[2022-06-12 21:15:15] [INFO ] [Real]Absence check using 5 positive and 14 generalized place invariants in 4 ms returned sat
[2022-06-12 21:15:15] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:15:15] [INFO ] [Real]Absence check using state equation in 55 ms returned sat
[2022-06-12 21:15:15] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:15:15] [INFO ] [Nat]Absence check using 5 positive place invariants in 3 ms returned unsat
[2022-06-12 21:15:15] [INFO ] [Real]Absence check using 5 positive place invariants in 4 ms returned sat
[2022-06-12 21:15:15] [INFO ] [Real]Absence check using 5 positive and 14 generalized place invariants in 3 ms returned sat
[2022-06-12 21:15:15] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:15:15] [INFO ] [Real]Absence check using state equation in 69 ms returned sat
[2022-06-12 21:15:15] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:15:15] [INFO ] [Nat]Absence check using 5 positive place invariants in 9 ms returned sat
[2022-06-12 21:15:15] [INFO ] [Nat]Absence check using 5 positive and 14 generalized place invariants in 3 ms returned sat
[2022-06-12 21:15:15] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:15:15] [INFO ] [Nat]Absence check using state equation in 50 ms returned sat
[2022-06-12 21:15:15] [INFO ] Computed and/alt/rep : 147/284/147 causal constraints (skipped 0 transitions) in 13 ms.
[2022-06-12 21:15:16] [INFO ] Added : 147 causal constraints over 30 iterations in 758 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 4 ms.
[2022-06-12 21:15:16] [INFO ] [Real]Absence check using 5 positive place invariants in 3 ms returned unsat
[2022-06-12 21:15:16] [INFO ] [Real]Absence check using 5 positive place invariants in 5 ms returned unsat
[2022-06-12 21:15:16] [INFO ] [Real]Absence check using 5 positive place invariants in 3 ms returned unsat
[2022-06-12 21:15:16] [INFO ] [Real]Absence check using 5 positive place invariants in 3 ms returned unsat
[2022-06-12 21:15:16] [INFO ] [Real]Absence check using 5 positive place invariants in 73 ms returned unsat
[2022-06-12 21:15:16] [INFO ] [Real]Absence check using 5 positive place invariants in 3 ms returned unsat
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-14 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-13 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-11 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-09 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-08 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-06 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-03 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-01 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 10 Parikh solutions to 1 different solutions.
Incomplete Parikh walk after 142800 steps, including 5116 resets, run finished after 173 ms. (steps per millisecond=825 ) properties (out of 1) seen :0 could not realise parikh vector
Support contains 22 out of 163 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 163/163 places, 148/148 transitions.
Graph (complete) has 269 edges and 163 vertex of which 160 are kept as prefixes of interest. Removing 3 places using SCC suffix rule.1 ms
Discarding 3 places :
Also discarding 0 output transitions
Drop transitions removed 18 transitions
Trivial Post-agglo rules discarded 18 transitions
Performed 18 trivial Post agglomeration. Transition count delta: 18
Iterating post reduction 0 with 18 rules applied. Total rules applied 19 place count 160 transition count 130
Reduce places removed 18 places and 0 transitions.
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: 5
Iterating post reduction 1 with 23 rules applied. Total rules applied 42 place count 142 transition count 125
Reduce places removed 5 places and 0 transitions.
Iterating post reduction 2 with 5 rules applied. Total rules applied 47 place count 137 transition count 125
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 3 Pre rules applied. Total rules applied 47 place count 137 transition count 122
Deduced a syphon composed of 3 places in 3 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 3 with 6 rules applied. Total rules applied 53 place count 134 transition count 122
Performed 21 Post agglomeration using F-continuation condition.Transition count delta: 21
Deduced a syphon composed of 21 places in 1 ms
Reduce places removed 21 places and 0 transitions.
Iterating global reduction 3 with 42 rules applied. Total rules applied 95 place count 113 transition count 101
Performed 3 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 3 places in 1 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 3 with 6 rules applied. Total rules applied 101 place count 110 transition count 101
Free-agglomeration rule applied 1 times.
Iterating global reduction 3 with 1 rules applied. Total rules applied 102 place count 110 transition count 100
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 3 with 1 rules applied. Total rules applied 103 place count 109 transition count 100
Free-agglomeration rule (complex) applied 11 times.
Iterating global reduction 4 with 11 rules applied. Total rules applied 114 place count 109 transition count 89
Reduce places removed 11 places and 0 transitions.
Iterating post reduction 4 with 11 rules applied. Total rules applied 125 place count 98 transition count 89
Partial Free-agglomeration rule applied 11 times.
Drop transitions removed 11 transitions
Iterating global reduction 5 with 11 rules applied. Total rules applied 136 place count 98 transition count 89
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 5 with 1 rules applied. Total rules applied 137 place count 97 transition count 88
Applied a total of 137 rules in 131 ms. Remains 97 /163 variables (removed 66) and now considering 88/148 (removed 60) transitions.
Finished structural reductions, in 1 iterations. Remains : 97/163 places, 88/148 transitions.
[2022-06-12 21:15:17] [INFO ] Flatten gal took : 59 ms
[2022-06-12 21:15:17] [INFO ] Flatten gal took : 12 ms
[2022-06-12 21:15:17] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality10354960172766998343.gal : 15 ms
[2022-06-12 21:15:17] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality11521123631520317971.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/ReachabilityCardinality10354960172766998343.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality11521123631520317971.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/ReachabilityCardinality10354960172766998343.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality11521123631520317971.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality11521123631520317971.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 2
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :2 after 6
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :6 after 9
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :9 after 11
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :11 after 27
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :27 after 41
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :41 after 74
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :74 after 279
SDD proceeding with computation,1 properties remain. new max is 1024
SDD size :279 after 1265
SDD proceeding with computation,1 properties remain. new max is 2048
SDD size :4692 after 5030
SDD proceeding with computation,1 properties remain. new max is 4096
SDD size :83818 after 83849
SDD proceeding with computation,1 properties remain. new max is 8192
SDD size :250312 after 251551
SDD proceeding with computation,1 properties remain. new max is 16384
SDD size :596238 after 599567
SDD proceeding with computation,1 properties remain. new max is 32768
SDD size :1.35168e+06 after 1.355e+06
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst,1.38078e+06,1.55292,48104,2,6488,24,205108,7,0,498,188503,0
Total reachable state count : 1380781

Verifying 1 reachability properties.
Invariant property DoubleExponent-PT-003-ReachabilityCardinality-05 does not hold.
FORMULA DoubleExponent-PT-003-ReachabilityCardinality-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
DoubleExponent-PT-003-ReachabilityCardinality-05,1,1.55797,48104,2,98,24,205108,7,0,515,188503,0
All properties solved without resorting to model-checking.

BK_STOP 1655068519849

--------------------
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="DoubleExponent-PT-003"
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 DoubleExponent-PT-003, 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 r089-tall-165260117600068"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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