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

About the Execution of 2021-gold for GPPP-PT-C0001N0000000010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
356.067 8573.00 16400.00 405.30 T 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.r108-smll-165260580700109.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 GPPP-PT-C0001N0000000010, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r108-smll-165260580700109
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 244K
-rw-r--r-- 1 mcc users 5.5K Apr 29 18:40 CTLCardinality.txt
-rw-r--r-- 1 mcc users 53K Apr 29 18:40 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.5K Apr 29 18:39 CTLFireability.txt
-rw-r--r-- 1 mcc users 60K Apr 29 18:39 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K May 9 07:52 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 9 07:52 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K May 9 07:52 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 07:52 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 07:52 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 9 07:52 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 17 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 1 May 10 09:33 large_marking
-rw-r--r-- 1 mcc users 21K 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

FORMULA_NAME Liveness

=== Now, execution of the tool begins

BK_START 1652646702133

Running Version 0
[2022-05-15 20:31:45] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -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, 1800]
[2022-05-15 20:31:45] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-15 20:31:45] [INFO ] Load time of PNML (sax parser for PT used): 58 ms
[2022-05-15 20:31:45] [INFO ] Transformed 33 places.
[2022-05-15 20:31:45] [INFO ] Transformed 22 transitions.
[2022-05-15 20:31:45] [INFO ] Parsed PT model containing 33 places and 22 transitions in 137 ms.
Discarding 1 transitions out of 22. Remains 21
Built sparse matrix representations for Structural reductions in 8 ms.17153KB memory used
Starting structural reductions, iteration 0 : 33/33 places, 22/22 transitions.
Applied a total of 0 rules in 21 ms. Remains 33 /33 variables (removed 0) and now considering 22/22 (removed 0) transitions.
// Phase 1: matrix 22 rows 33 cols
[2022-05-15 20:31:45] [INFO ] Computed 13 place invariants in 12 ms
[2022-05-15 20:31:46] [INFO ] Dead Transitions using invariants and state equation in 220 ms returned []
Finished structural reductions, in 1 iterations. Remains : 33/33 places, 22/22 transitions.
Starting structural reductions, iteration 0 : 33/33 places, 22/22 transitions.
Applied a total of 0 rules in 8 ms. Remains 33 /33 variables (removed 0) and now considering 22/22 (removed 0) transitions.
// Phase 1: matrix 22 rows 33 cols
[2022-05-15 20:31:46] [INFO ] Computed 13 place invariants in 10 ms
[2022-05-15 20:31:46] [INFO ] Implicit Places using invariants in 43 ms returned []
// Phase 1: matrix 22 rows 33 cols
[2022-05-15 20:31:46] [INFO ] Computed 13 place invariants in 3 ms
[2022-05-15 20:31:46] [INFO ] Implicit Places using invariants and state equation in 57 ms returned []
Implicit Place search using SMT with State Equation took 101 ms to find 0 implicit places.
[2022-05-15 20:31:46] [INFO ] Redundant transitions in 0 ms returned []
// Phase 1: matrix 22 rows 33 cols
[2022-05-15 20:31:46] [INFO ] Computed 13 place invariants in 5 ms
[2022-05-15 20:31:46] [INFO ] Dead Transitions using invariants and state equation in 48 ms returned []
Finished structural reductions, in 1 iterations. Remains : 33/33 places, 22/22 transitions.
Random walk for 1250001 steps, including 0 resets, run took 939 ms (no deadlock found). (steps per millisecond=1331 )
Random directed walk for 1250001 steps, including 0 resets, run took 714 ms (no deadlock found). (steps per millisecond=1750 )
// Phase 1: matrix 22 rows 33 cols
[2022-05-15 20:31:47] [INFO ] Computed 13 place invariants in 5 ms
[2022-05-15 20:31:47] [INFO ] [Real]Absence check using 6 positive place invariants in 3 ms returned sat
[2022-05-15 20:31:47] [INFO ] [Real]Absence check using 6 positive and 7 generalized place invariants in 6 ms returned sat
[2022-05-15 20:31:47] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 20:31:47] [INFO ] [Real]Absence check using state equation in 27 ms returned sat
[2022-05-15 20:31:47] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 20:31:48] [INFO ] [Nat]Absence check using 6 positive place invariants in 3 ms returned sat
[2022-05-15 20:31:48] [INFO ] [Nat]Absence check using 6 positive and 7 generalized place invariants in 15 ms returned unsat
Starting structural reductions, iteration 0 : 33/33 places, 22/22 transitions.
Graph (trivial) has 4 edges and 33 vertex of which 2 / 33 are part of one of the 1 SCC in 4 ms
Free SCC test removed 1 places
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 0 with 1 rules applied. Total rules applied 2 place count 32 transition count 20
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 3 place count 31 transition count 20
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 1 Pre rules applied. Total rules applied 3 place count 31 transition count 19
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 5 place count 30 transition count 19
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 2 with 5 rules applied. Total rules applied 10 place count 27 transition count 17
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 2 with 3 rules applied. Total rules applied 13 place count 25 transition count 16
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 15 place count 24 transition count 15
Applied a total of 15 rules in 14 ms. Remains 24 /33 variables (removed 9) and now considering 15/22 (removed 7) transitions.
// Phase 1: matrix 15 rows 24 cols
[2022-05-15 20:31:48] [INFO ] Computed 11 place invariants in 2 ms
[2022-05-15 20:31:48] [INFO ] Dead Transitions using invariants and state equation in 51 ms returned []
// Phase 1: matrix 15 rows 24 cols
[2022-05-15 20:31:48] [INFO ] Computed 11 place invariants in 2 ms
[2022-05-15 20:31:48] [INFO ] Implicit Places using invariants in 43 ms returned [0, 1, 2, 3, 13]
Discarding 5 places :
Implicit Place search using SMT only with invariants took 46 ms to find 5 implicit places.
// Phase 1: matrix 15 rows 19 cols
[2022-05-15 20:31:48] [INFO ] Computed 6 place invariants in 2 ms
[2022-05-15 20:31:48] [INFO ] Dead Transitions using invariants and state equation in 27 ms returned []
Starting structural reductions, iteration 1 : 19/33 places, 15/22 transitions.
Drop transitions removed 2 transitions
Trivial Post-agglo rules discarded 2 transitions
Performed 2 trivial Post agglomeration. Transition count delta: 2
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 19 transition count 13
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 4 place count 17 transition count 13
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 1 Pre rules applied. Total rules applied 4 place count 17 transition count 12
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 6 place count 16 transition count 12
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 2 with 4 rules applied. Total rules applied 10 place count 14 transition count 10
Applied a total of 10 rules in 3 ms. Remains 14 /19 variables (removed 5) and now considering 10/15 (removed 5) transitions.
// Phase 1: matrix 10 rows 14 cols
[2022-05-15 20:31:48] [INFO ] Computed 6 place invariants in 1 ms
[2022-05-15 20:31:48] [INFO ] Implicit Places using invariants in 23 ms returned []
// Phase 1: matrix 10 rows 14 cols
[2022-05-15 20:31:48] [INFO ] Computed 6 place invariants in 1 ms
[2022-05-15 20:31:48] [INFO ] State equation strengthened by 2 read => feed constraints.
[2022-05-15 20:31:48] [INFO ] Implicit Places using invariants and state equation in 84 ms returned []
Implicit Place search using SMT with State Equation took 109 ms to find 0 implicit places.
Finished structural reductions, in 2 iterations. Remains : 14/33 places, 10/22 transitions.
Discarding 1 transitions out of 10. Remains 9
[2022-05-15 20:31:48] [INFO ] Initial state test concluded for 1 properties.
Finished random walk after 21 steps, including 0 resets, run visited all 8 properties in 2 ms. (steps per millisecond=10 )
Able to resolve query QuasiLiveness after proving 9 properties.
Starting structural reductions, iteration 0 : 33/33 places, 22/22 transitions.
Graph (trivial) has 4 edges and 33 vertex of which 2 / 33 are part of one of the 1 SCC in 0 ms
Free SCC test removed 1 places
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 0 with 1 rules applied. Total rules applied 2 place count 32 transition count 20
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 3 place count 31 transition count 20
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 1 Pre rules applied. Total rules applied 3 place count 31 transition count 19
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 5 place count 30 transition count 19
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 2 with 5 rules applied. Total rules applied 10 place count 27 transition count 17
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 2 with 3 rules applied. Total rules applied 13 place count 25 transition count 16
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 15 place count 24 transition count 15
Applied a total of 15 rules in 5 ms. Remains 24 /33 variables (removed 9) and now considering 15/22 (removed 7) transitions.
// Phase 1: matrix 15 rows 24 cols
[2022-05-15 20:31:48] [INFO ] Computed 11 place invariants in 2 ms
[2022-05-15 20:31:48] [INFO ] Dead Transitions using invariants and state equation in 32 ms returned []
// Phase 1: matrix 15 rows 24 cols
[2022-05-15 20:31:48] [INFO ] Computed 11 place invariants in 9 ms
[2022-05-15 20:31:48] [INFO ] Implicit Places using invariants in 50 ms returned [0, 1, 2, 3, 13]
Discarding 5 places :
Implicit Place search using SMT only with invariants took 51 ms to find 5 implicit places.
// Phase 1: matrix 15 rows 19 cols
[2022-05-15 20:31:48] [INFO ] Computed 6 place invariants in 0 ms
[2022-05-15 20:31:48] [INFO ] Dead Transitions using invariants and state equation in 44 ms returned []
Starting structural reductions, iteration 1 : 19/33 places, 15/22 transitions.
Drop transitions removed 2 transitions
Trivial Post-agglo rules discarded 2 transitions
Performed 2 trivial Post agglomeration. Transition count delta: 2
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 19 transition count 13
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 4 place count 17 transition count 13
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 1 Pre rules applied. Total rules applied 4 place count 17 transition count 12
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 6 place count 16 transition count 12
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 2 with 4 rules applied. Total rules applied 10 place count 14 transition count 10
Applied a total of 10 rules in 5 ms. Remains 14 /19 variables (removed 5) and now considering 10/15 (removed 5) transitions.
// Phase 1: matrix 10 rows 14 cols
[2022-05-15 20:31:48] [INFO ] Computed 6 place invariants in 2 ms
[2022-05-15 20:31:48] [INFO ] Implicit Places using invariants in 33 ms returned []
// Phase 1: matrix 10 rows 14 cols
[2022-05-15 20:31:48] [INFO ] Computed 6 place invariants in 1 ms
[2022-05-15 20:31:48] [INFO ] State equation strengthened by 2 read => feed constraints.
[2022-05-15 20:31:48] [INFO ] Implicit Places using invariants and state equation in 72 ms returned []
Implicit Place search using SMT with State Equation took 108 ms to find 0 implicit places.
Finished structural reductions, in 2 iterations. Remains : 14/33 places, 10/22 transitions.
Discarding 1 transitions out of 10. Remains 9
[2022-05-15 20:31:48] [INFO ] Flatten gal took : 39 ms
[2022-05-15 20:31:48] [INFO ] Flatten gal took : 7 ms
[2022-05-15 20:31:49] [INFO ] Time to serialize gal into /tmp/CTLFireability14640846075401628293.gal : 9 ms
[2022-05-15 20:31:49] [INFO ] Time to serialize properties into /tmp/CTLFireability12646037638693180124.ctl : 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability14640846075401628293.gal, -t, CGAL, -ctl, /tmp/CTLFireability12646037638693180124.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability14640846075401628293.gal -t CGAL -ctl /tmp/CTLFireability12646037638693180124.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 9 CTL formulae.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,37,0.017321,4220,2,102,5,310,6,0,71,177,0


Converting to forward existential form...Done !
original formula: AG(EF(((Ru5P>=1)&&(a2>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((Ru5P>=1)&&(a2>=1)))))] = FALSE
Reverse transition relation is NOT exact ! Due to transitions Transketolase2.Phosphofructokinase.Aldolase, Intersection with reachable at each step enabled. (destroyed/reverse/intersect/total) :0/9/1/10
(forward)formula 0,1,0.03138,4932,1,0,26,1245,38,14,473,879,31
Formula is TRUE !

***************************************

original formula: AG(EF(((Ru5P>=1)&&(a1>=2))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((Ru5P>=1)&&(a1>=2)))))] = FALSE
(forward)formula 1,1,0.033931,4932,1,0,27,1375,39,16,473,1022,37
Formula is TRUE !

***************************************

original formula: AG(EF(((Xu5P>=1)&&(R5P>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((Xu5P>=1)&&(R5P>=1)))))] = FALSE
(forward)formula 2,1,0.035717,4932,1,0,28,1429,40,17,473,1062,43
Formula is TRUE !

***************************************

original formula: AG(EF((Lac>=7)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (Lac>=7))))] = FALSE
(forward)formula 3,1,0.036683,4932,1,0,29,1452,41,18,473,1076,49
Formula is TRUE !

***************************************

original formula: AG(EF(((Gluc>=1)&&(b2>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((Gluc>=1)&&(b2>=1)))))] = FALSE
(forward)formula 4,1,0.040764,4932,1,0,31,1683,42,20,473,1289,55
Formula is TRUE !

***************************************

original formula: AG(EF((((S7P>=1)&&(DHAP>=1))&&(c1>=7))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((S7P>=1)&&(DHAP>=1))&&(c1>=7)))))] = FALSE
(forward)formula 5,1,0.043013,5196,1,0,32,1718,43,21,474,1313,61
Formula is TRUE !

***************************************

original formula: AG(EF(((Xu5P>=1)&&(E4P>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((Xu5P>=1)&&(E4P>=1)))))] = FALSE
(forward)formula 6,1,0.044047,5196,1,0,32,1718,44,21,474,1313,63
Formula is TRUE !

***************************************

original formula: AG(EF(((Gluc>=1)&&(b1>=3))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((Gluc>=1)&&(b1>=3)))))] = FALSE
(forward)formula 7,1,0.045569,5196,1,0,33,1761,45,22,474,1346,69
Formula is TRUE !

***************************************

original formula: AG(EF(((DHAP>=1)&&(c2>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((DHAP>=1)&&(c2>=1)))))] = FALSE
(forward)formula 8,1,0.046758,5196,1,0,34,1773,46,23,474,1359,75
Formula is TRUE !

***************************************

Able to resolve query Liveness after proving 9 properties.
FORMULA Liveness TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

BK_STOP 1652646710706

--------------------
content from stderr:

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ Liveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution Liveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ 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 Liveness -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 1800 -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="GPPP-PT-C0001N0000000010"
export BK_EXAMINATION="Liveness"
export BK_TOOL="gold2021"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
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 GPPP-PT-C0001N0000000010, examination is Liveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r108-smll-165260580700109"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/GPPP-PT-C0001N0000000010.tgz
mv GPPP-PT-C0001N0000000010 execution
cd execution
if [ "Liveness" = "ReachabilityDeadlock" ] || [ "Liveness" = "UpperBounds" ] || [ "Liveness" = "QuasiLiveness" ] || [ "Liveness" = "StableMarking" ] || [ "Liveness" = "Liveness" ] || [ "Liveness" = "OneSafe" ] || [ "Liveness" = "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 [ "Liveness" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "Liveness" != "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 "Liveness.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property Liveness.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "Liveness.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 '' Liveness.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "Liveness" = "ReachabilityDeadlock" ] || [ "Liveness" = "QuasiLiveness" ] || [ "Liveness" = "StableMarking" ] || [ "Liveness" = "Liveness" ] || [ "Liveness" = "OneSafe" ] ; then
echo "FORMULA_NAME Liveness"
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 ;