fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r128-tall-162075419600329
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for Kanban-PT-00200

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
899.176 47994.00 52705.00 390.40 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/mcc2021-input.r128-tall-162075419600329.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
...................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is Kanban-PT-00200, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r128-tall-162075419600329
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 368K
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 105K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 87K May 10 09:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.4K Mar 28 16:18 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 28 16:18 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Mar 28 16:18 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 28 16:18 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K Mar 27 06:02 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 27 06:02 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.0K Mar 25 07:10 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 25 07:10 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 09:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Mar 22 09:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 6 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 14K May 5 16:51 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 1620860120001

Running Version 0
[2021-05-12 22:55:21] [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]
[2021-05-12 22:55:21] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-12 22:55:21] [INFO ] Load time of PNML (sax parser for PT used): 23 ms
[2021-05-12 22:55:21] [INFO ] Transformed 16 places.
[2021-05-12 22:55:21] [INFO ] Transformed 16 transitions.
[2021-05-12 22:55:21] [INFO ] Parsed PT model containing 16 places and 16 transitions in 62 ms.
Discarding 4 transitions out of 16. Remains 12
Built sparse matrix representations for Structural reductions in 4 ms.15103KB memory used
Starting structural reductions, iteration 0 : 16/16 places, 16/16 transitions.
Applied a total of 0 rules in 11 ms. Remains 16 /16 variables (removed 0) and now considering 16/16 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 16/16 places, 16/16 transitions.
Starting structural reductions, iteration 0 : 16/16 places, 16/16 transitions.
Applied a total of 0 rules in 2 ms. Remains 16 /16 variables (removed 0) and now considering 16/16 (removed 0) transitions.
// Phase 1: matrix 16 rows 16 cols
[2021-05-12 22:55:21] [INFO ] Computed 5 place invariants in 5 ms
[2021-05-12 22:55:21] [INFO ] Implicit Places using invariants in 65 ms returned []
// Phase 1: matrix 16 rows 16 cols
[2021-05-12 22:55:21] [INFO ] Computed 5 place invariants in 3 ms
[2021-05-12 22:55:22] [INFO ] Implicit Places using invariants and state equation in 30 ms returned []
Implicit Place search using SMT with State Equation took 122 ms to find 0 implicit places.
[2021-05-12 22:55:22] [INFO ] Redundant transitions in 0 ms returned []
// Phase 1: matrix 16 rows 16 cols
[2021-05-12 22:55:22] [INFO ] Computed 5 place invariants in 2 ms
[2021-05-12 22:55:22] [INFO ] Dead Transitions using invariants and state equation in 39 ms returned []
Finished structural reductions, in 1 iterations. Remains : 16/16 places, 16/16 transitions.
Random walk for 1250042 steps, including 0 resets, run took 282 ms (no deadlock found). (steps per millisecond=4432 )
Random directed walk for 1250048 steps, including 0 resets, run took 221 ms (no deadlock found). (steps per millisecond=5656 )
// Phase 1: matrix 16 rows 16 cols
[2021-05-12 22:55:22] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-12 22:55:22] [INFO ] [Real]Absence check using 4 positive place invariants in 1 ms returned sat
[2021-05-12 22:55:22] [INFO ] [Real]Absence check using 4 positive and 1 generalized place invariants in 0 ms returned unsat
Starting structural reductions, iteration 0 : 16/16 places, 16/16 transitions.
Graph (trivial) has 14 edges and 16 vertex of which 8 / 16 are part of one of the 4 SCC in 3 ms
Free SCC test removed 4 places
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Ensure Unique test removed 1 places
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 2 rules applied. Total rules applied 3 place count 11 transition count 11
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 4 place count 10 transition count 11
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 6 place count 9 transition count 10
Applied a total of 6 rules in 12 ms. Remains 9 /16 variables (removed 7) and now considering 10/16 (removed 6) transitions.
[2021-05-12 22:55:22] [INFO ] Flow matrix only has 7 transitions (discarded 3 similar events)
// Phase 1: matrix 7 rows 9 cols
[2021-05-12 22:55:22] [INFO ] Computed 4 place invariants in 0 ms
[2021-05-12 22:55:22] [INFO ] Implicit Places using invariants in 13 ms returned []
[2021-05-12 22:55:22] [INFO ] Flow matrix only has 7 transitions (discarded 3 similar events)
// Phase 1: matrix 7 rows 9 cols
[2021-05-12 22:55:22] [INFO ] Computed 4 place invariants in 0 ms
[2021-05-12 22:55:22] [INFO ] State equation strengthened by 1 read => feed constraints.
[2021-05-12 22:55:22] [INFO ] Implicit Places using invariants and state equation in 15 ms returned []
Implicit Place search using SMT with State Equation took 37 ms to find 0 implicit places.
[2021-05-12 22:55:22] [INFO ] Flow matrix only has 7 transitions (discarded 3 similar events)
// Phase 1: matrix 7 rows 9 cols
[2021-05-12 22:55:22] [INFO ] Computed 4 place invariants in 1 ms
[2021-05-12 22:55:22] [INFO ] Dead Transitions using invariants and state equation in 14 ms returned []
Finished structural reductions, in 1 iterations. Remains : 9/16 places, 10/16 transitions.
Discarding 4 transitions out of 10. Remains 6
[2021-05-12 22:55:22] [INFO ] Initial state test concluded for 1 properties.
Finished random walk after 1206 steps, including 0 resets, run visited all 5 properties in 1 ms. (steps per millisecond=1206 )
Able to resolve query QuasiLiveness after proving 6 properties.
Starting structural reductions, iteration 0 : 16/16 places, 16/16 transitions.
Graph (trivial) has 14 edges and 16 vertex of which 8 / 16 are part of one of the 4 SCC in 0 ms
Free SCC test removed 4 places
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Ensure Unique test removed 1 places
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 2 rules applied. Total rules applied 3 place count 11 transition count 11
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 4 place count 10 transition count 11
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 6 place count 9 transition count 10
Applied a total of 6 rules in 6 ms. Remains 9 /16 variables (removed 7) and now considering 10/16 (removed 6) transitions.
[2021-05-12 22:55:22] [INFO ] Flow matrix only has 7 transitions (discarded 3 similar events)
// Phase 1: matrix 7 rows 9 cols
[2021-05-12 22:55:22] [INFO ] Computed 4 place invariants in 0 ms
[2021-05-12 22:55:22] [INFO ] Implicit Places using invariants in 9 ms returned []
[2021-05-12 22:55:22] [INFO ] Flow matrix only has 7 transitions (discarded 3 similar events)
// Phase 1: matrix 7 rows 9 cols
[2021-05-12 22:55:22] [INFO ] Computed 4 place invariants in 0 ms
[2021-05-12 22:55:22] [INFO ] State equation strengthened by 1 read => feed constraints.
[2021-05-12 22:55:22] [INFO ] Implicit Places using invariants and state equation in 14 ms returned []
Implicit Place search using SMT with State Equation took 24 ms to find 0 implicit places.
[2021-05-12 22:55:22] [INFO ] Flow matrix only has 7 transitions (discarded 3 similar events)
// Phase 1: matrix 7 rows 9 cols
[2021-05-12 22:55:22] [INFO ] Computed 4 place invariants in 0 ms
[2021-05-12 22:55:22] [INFO ] Dead Transitions using invariants and state equation in 12 ms returned []
Finished structural reductions, in 1 iterations. Remains : 9/16 places, 10/16 transitions.
Discarding 4 transitions out of 10. Remains 6
[2021-05-12 22:55:22] [INFO ] Flatten gal took : 17 ms
[2021-05-12 22:55:22] [INFO ] Flatten gal took : 2 ms
[2021-05-12 22:55:22] [INFO ] Time to serialize gal into /tmp/CTLFireability6161985268607523936.gal : 4 ms
[2021-05-12 22:55:22] [INFO ] Time to serialize properties into /tmp/CTLFireability5681130393539634990.ctl : 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability6161985268607523936.gal, -t, CGAL, -ctl, /tmp/CTLFireability5681130393539634990.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/CTLFireability6161985268607523936.gal -t CGAL -ctl /tmp/CTLFireability5681130393539634990.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 6 CTL formulae.
Detected timeout of ITS tools.
[2021-05-12 22:55:25] [INFO ] Flatten gal took : 1 ms
[2021-05-12 22:55:25] [INFO ] Applying decomposition
[2021-05-12 22:55:25] [INFO ] Flatten gal took : 2 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/graph5080887763159905386.txt, -o, /tmp/graph5080887763159905386.bin, -w, /tmp/graph5080887763159905386.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/graph5080887763159905386.bin, -l, -1, -v, -w, /tmp/graph5080887763159905386.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-12 22:55:25] [INFO ] Decomposing Gal with order
[2021-05-12 22:55:25] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-12 22:55:26] [INFO ] Flatten gal took : 28 ms
[2021-05-12 22:55:26] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 0 ms.
[2021-05-12 22:55:26] [INFO ] Time to serialize gal into /tmp/CTLFireability16155623150246619454.gal : 1 ms
[2021-05-12 22:55:26] [INFO ] Time to serialize properties into /tmp/CTLFireability12685126408683125707.ctl : 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability16155623150246619454.gal, -t, CGAL, -ctl, /tmp/CTLFireability12685126408683125707.ctl], 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/CTLFireability16155623150246619454.gal -t CGAL -ctl /tmp/CTLFireability12685126408683125707.ctl
No direction supplied, using forward translation only.
Parsed 6 CTL formulae.
Detected timeout of ITS tools.
[2021-05-12 22:55:29] [INFO ] Flatten gal took : 1 ms
[2021-05-12 22:55:29] [INFO ] Flatten gal took : 2 ms
[2021-05-12 22:55:29] [INFO ] Time to serialize gal into /tmp/CTLFireability7990231597016316785.gal : 2 ms
[2021-05-12 22:55:29] [INFO ] Time to serialize properties into /tmp/CTLFireability8387399322351423673.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/CTLFireability7990231597016316785.gal, -t, CGAL, -ctl, /tmp/CTLFireability8387399322351423673.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/CTLFireability7990231597016316785.gal -t CGAL -ctl /tmp/CTLFireability8387399322351423673.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 6 CTL formulae.
Detected timeout of ITS tools.
[2021-05-12 22:55:59] [INFO ] Flatten gal took : 3 ms
[2021-05-12 22:55:59] [INFO ] Applying decomposition
[2021-05-12 22:55:59] [INFO ] Flatten gal took : 2 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/graph7334232588294765235.txt, -o, /tmp/graph7334232588294765235.bin, -w, /tmp/graph7334232588294765235.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/graph7334232588294765235.bin, -l, -1, -v, -w, /tmp/graph7334232588294765235.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-12 22:55:59] [INFO ] Decomposing Gal with order
[2021-05-12 22:55:59] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-12 22:55:59] [INFO ] Flatten gal took : 2 ms
[2021-05-12 22:55:59] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 0 ms.
[2021-05-12 22:55:59] [INFO ] Time to serialize gal into /tmp/CTLFireability181476510171952094.gal : 1 ms
[2021-05-12 22:55:59] [INFO ] Time to serialize properties into /tmp/CTLFireability12423054629313482823.ctl : 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability181476510171952094.gal, -t, CGAL, -ctl, /tmp/CTLFireability12423054629313482823.ctl], 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/CTLFireability181476510171952094.gal -t CGAL -ctl /tmp/CTLFireability12423054629313482823.ctl
No direction supplied, using forward translation only.
Parsed 6 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,1.10178e+11,3.41831,79160,607,20904,4211,43600,35,22301,23,1.41829e+06,0


Converting to forward existential form...Done !
original formula: AG(EF((u0.Pback3>=1)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (u0.Pback3>=1))))] = FALSE
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 0,1,7.54927,118344,1,0,5441,85990,112,113832,675,1.59177e+06,7101
Formula is TRUE !

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

original formula: AG(EF((u1.Pback4>=1)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (u1.Pback4>=1))))] = FALSE
(forward)formula 1,1,7.59853,118344,1,0,5854,85990,113,114055,675,1.59178e+06,8540
Formula is TRUE !

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

original formula: AG(EF((((u0.Pout3>=1)&&(u2.P1>=1))&&(u3.Pout2>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((u0.Pout3>=1)&&(u2.P1>=1))&&(u3.Pout2>=1)))))] = FALSE
(forward)formula 2,1,7.72656,118872,1,0,6057,86385,123,114058,675,1.59218e+06,10552
Formula is TRUE !

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

original formula: AG(EF((u2.Pback1>=1)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (u2.Pback1>=1))))] = FALSE
(forward)formula 3,1,7.7279,119136,1,0,6058,86387,124,114059,675,1.59218e+06,10563
Formula is TRUE !

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

original formula: AG(EF((u3.Pback2>=1)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (u3.Pback2>=1))))] = FALSE
(forward)formula 4,1,7.81698,119664,1,0,6064,86985,125,114065,675,1.59278e+06,11986
Formula is TRUE !

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

original formula: AG(EF(((u1.Pout4>=1)&&(u3.P2>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((u1.Pout4>=1)&&(u3.P2>=1)))))] = FALSE
(forward)formula 5,1,7.86148,120720,1,0,6072,86985,129,114081,675,1.59279e+06,12411
Formula is TRUE !

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

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

BK_STOP 1620860167995

--------------------
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="Kanban-PT-00200"
export BK_EXAMINATION="Liveness"
export BK_TOOL="itstools"
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 itstools"
echo " Input is Kanban-PT-00200, 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 r128-tall-162075419600329"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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