fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r251-smll-165303245000083
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for SmartHome-PT-04

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
219.460 10371.00 24646.00 277.90 TFTTFTTTFTTTTTTT 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.r251-smll-165303245000083.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 SmartHome-PT-04, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r251-smll-165303245000083
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 548K
-rw-r--r-- 1 mcc users 7.8K Apr 29 15:33 CTLCardinality.txt
-rw-r--r-- 1 mcc users 90K Apr 29 15:33 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.4K Apr 29 15:33 CTLFireability.txt
-rw-r--r-- 1 mcc users 49K Apr 29 15:33 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.6K May 9 09:06 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 9 09:06 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 9 09:06 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 09:06 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Apr 29 15:34 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 148K Apr 29 15:34 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.0K Apr 29 15:34 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 82K Apr 29 15:34 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 09:06 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 9 09:06 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 3 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 35K 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 SmartHome-PT-04-ReachabilityCardinality-00
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-01
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-02
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-03
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-04
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-05
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-06
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-07
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-08
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-09
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-10
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-11
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-12
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-13
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-14
FORMULA_NAME SmartHome-PT-04-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655069034099

Running Version 0
[2022-06-12 21:23:57] [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:23:57] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:23:57] [INFO ] Load time of PNML (sax parser for PT used): 72 ms
[2022-06-12 21:23:57] [INFO ] Transformed 139 places.
[2022-06-12 21:23:57] [INFO ] Transformed 159 transitions.
[2022-06-12 21:23:57] [INFO ] Found NUPN structural information;
[2022-06-12 21:23:57] [INFO ] Parsed PT model containing 139 places and 159 transitions in 135 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 29 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 17 places in 4 ms
Reduce places removed 17 places and 19 transitions.
FORMULA SmartHome-PT-04-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-04-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-04-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-04-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-04-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-04-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-04-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 115 resets, run finished after 85 ms. (steps per millisecond=117 ) properties (out of 9) seen :2
FORMULA SmartHome-PT-04-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-04-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 25 resets, run finished after 79 ms. (steps per millisecond=126 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 24 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 27 resets, run finished after 33 ms. (steps per millisecond=303 ) properties (out of 7) seen :1
FORMULA SmartHome-PT-04-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 23 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 24 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 25 resets, run finished after 16 ms. (steps per millisecond=625 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 27 resets, run finished after 16 ms. (steps per millisecond=625 ) properties (out of 6) seen :0
Running SMT prover for 6 properties.
// Phase 1: matrix 140 rows 122 cols
[2022-06-12 21:23:58] [INFO ] Computed 7 place invariants in 31 ms
[2022-06-12 21:23:58] [INFO ] [Real]Absence check using 7 positive place invariants in 14 ms returned sat
[2022-06-12 21:23:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:23:58] [INFO ] [Real]Absence check using state equation in 173 ms returned sat
[2022-06-12 21:23:58] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:23:58] [INFO ] [Real]Absence check using 7 positive place invariants in 9 ms returned sat
[2022-06-12 21:23:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:23:58] [INFO ] [Real]Absence check using state equation in 100 ms returned sat
[2022-06-12 21:23:59] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:23:59] [INFO ] [Real]Absence check using 7 positive place invariants in 9 ms returned sat
[2022-06-12 21:23:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:23:59] [INFO ] [Real]Absence check using state equation in 103 ms returned sat
[2022-06-12 21:23:59] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:23:59] [INFO ] [Real]Absence check using 7 positive place invariants in 9 ms returned sat
[2022-06-12 21:23:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:23:59] [INFO ] [Real]Absence check using state equation in 89 ms returned sat
[2022-06-12 21:23:59] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:23:59] [INFO ] [Nat]Absence check using 7 positive place invariants in 10 ms returned sat
[2022-06-12 21:23:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:23:59] [INFO ] [Nat]Absence check using state equation in 151 ms returned sat
[2022-06-12 21:24:00] [INFO ] Deduced a trap composed of 27 places in 328 ms of which 13 ms to minimize.
[2022-06-12 21:24:00] [INFO ] Deduced a trap composed of 37 places in 76 ms of which 1 ms to minimize.
[2022-06-12 21:24:00] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 479 ms
[2022-06-12 21:24:00] [INFO ] Computed and/alt/rep : 130/259/130 causal constraints (skipped 9 transitions) in 30 ms.
[2022-06-12 21:24:00] [INFO ] Added : 129 causal constraints over 26 iterations in 685 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 5 ms.
[2022-06-12 21:24:01] [INFO ] [Real]Absence check using 7 positive place invariants in 7 ms returned sat
[2022-06-12 21:24:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:24:01] [INFO ] [Real]Absence check using state equation in 75 ms returned sat
[2022-06-12 21:24:01] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:24:01] [INFO ] [Real]Absence check using 7 positive place invariants in 10 ms returned sat
[2022-06-12 21:24:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:24:01] [INFO ] [Real]Absence check using state equation in 87 ms returned sat
[2022-06-12 21:24:01] [INFO ] Deduced a trap composed of 32 places in 49 ms of which 3 ms to minimize.
[2022-06-12 21:24:01] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 75 ms
[2022-06-12 21:24:01] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:24:01] [INFO ] [Nat]Absence check using 7 positive place invariants in 9 ms returned sat
[2022-06-12 21:24:01] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:24:01] [INFO ] [Nat]Absence check using state equation in 83 ms returned sat
[2022-06-12 21:24:01] [INFO ] Deduced a trap composed of 32 places in 37 ms of which 0 ms to minimize.
[2022-06-12 21:24:01] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 68 ms
[2022-06-12 21:24:01] [INFO ] Computed and/alt/rep : 130/259/130 causal constraints (skipped 9 transitions) in 28 ms.
[2022-06-12 21:24:02] [INFO ] Deduced a trap composed of 35 places in 114 ms of which 13 ms to minimize.
[2022-06-12 21:24:02] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 172 ms
[2022-06-12 21:24:02] [INFO ] Added : 129 causal constraints over 26 iterations in 797 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 5 ms.
FORMULA SmartHome-PT-04-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SmartHome-PT-04-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SmartHome-PT-04-ReachabilityCardinality-05 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SmartHome-PT-04-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 6 Parikh solutions to 2 different solutions.
Incomplete Parikh walk after 17900 steps, including 237 resets, run finished after 83 ms. (steps per millisecond=215 ) properties (out of 2) seen :1 could not realise parikh vector
FORMULA SmartHome-PT-04-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 14900 steps, including 198 resets, run finished after 42 ms. (steps per millisecond=354 ) properties (out of 1) seen :0 could not realise parikh vector
Support contains 10 out of 122 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 122/122 places, 140/140 transitions.
Graph (trivial) has 93 edges and 122 vertex of which 20 / 122 are part of one of the 2 SCC in 7 ms
Free SCC test removed 18 places
Drop transitions removed 24 transitions
Reduce isomorphic transitions removed 24 transitions.
Drop transitions removed 36 transitions
Trivial Post-agglo rules discarded 36 transitions
Performed 36 trivial Post agglomeration. Transition count delta: 36
Iterating post reduction 0 with 36 rules applied. Total rules applied 37 place count 104 transition count 80
Reduce places removed 36 places and 0 transitions.
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Drop transitions removed 3 transitions
Trivial Post-agglo rules discarded 3 transitions
Performed 3 trivial Post agglomeration. Transition count delta: 3
Iterating post reduction 1 with 41 rules applied. Total rules applied 78 place count 68 transition count 75
Reduce places removed 3 places and 0 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Iterating post reduction 2 with 7 rules applied. Total rules applied 85 place count 65 transition count 71
Reduce places removed 4 places and 0 transitions.
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Iterating post reduction 3 with 8 rules applied. Total rules applied 93 place count 61 transition count 67
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 4 with 2 rules applied. Total rules applied 95 place count 59 transition count 67
Performed 5 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 5 Pre rules applied. Total rules applied 95 place count 59 transition count 62
Deduced a syphon composed of 5 places in 0 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 5 with 10 rules applied. Total rules applied 105 place count 54 transition count 62
Discarding 16 places :
Symmetric choice reduction at 5 with 16 rule applications. Total rules 121 place count 38 transition count 46
Iterating global reduction 5 with 16 rules applied. Total rules applied 137 place count 38 transition count 46
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 5 with 3 rules applied. Total rules applied 140 place count 38 transition count 43
Performed 6 Post agglomeration using F-continuation condition.Transition count delta: 6
Deduced a syphon composed of 6 places in 0 ms
Reduce places removed 6 places and 0 transitions.
Iterating global reduction 6 with 12 rules applied. Total rules applied 152 place count 32 transition count 37
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 6 with 1 rules applied. Total rules applied 153 place count 32 transition count 36
Drop transitions removed 2 transitions
Redundant transition composition rules discarded 2 transitions
Iterating global reduction 7 with 2 rules applied. Total rules applied 155 place count 32 transition count 34
Free-agglomeration rule applied 4 times.
Iterating global reduction 7 with 4 rules applied. Total rules applied 159 place count 32 transition count 30
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 7 with 4 rules applied. Total rules applied 163 place count 28 transition count 30
Partial Free-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 8 with 1 rules applied. Total rules applied 164 place count 28 transition count 30
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 8 with 1 rules applied. Total rules applied 165 place count 28 transition count 29
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 8 with 1 rules applied. Total rules applied 166 place count 27 transition count 28
Applied a total of 166 rules in 83 ms. Remains 27 /122 variables (removed 95) and now considering 28/140 (removed 112) transitions.
Finished structural reductions, in 1 iterations. Remains : 27/122 places, 28/140 transitions.
[2022-06-12 21:24:03] [INFO ] Flatten gal took : 69 ms
[2022-06-12 21:24:03] [INFO ] Flatten gal took : 13 ms
[2022-06-12 21:24:03] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6574127318728409632.gal : 10 ms
[2022-06-12 21:24:03] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality10470508791314586896.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/ReachabilityCardinality6574127318728409632.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality10470508791314586896.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/ReachabilityCardinality6574127318728409632.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality10470508791314586896.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality10470508791314586896.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 17
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :17 after 64
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :64 after 664
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,1264,0.033163,3864,2,91,10,593,7,0,153,388,0
Total reachable state count : 1264

Verifying 1 reachability properties.
Reachability property SmartHome-PT-04-ReachabilityCardinality-10 is true.
FORMULA SmartHome-PT-04-ReachabilityCardinality-10 TRUE 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
SmartHome-PT-04-ReachabilityCardinality-10,4,0.034869,4236,2,30,10,593,7,0,169,388,0
All properties solved without resorting to model-checking.

BK_STOP 1655069044470

--------------------
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="SmartHome-PT-04"
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 SmartHome-PT-04, 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 r251-smll-165303245000083"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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