fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r485-tall-167912699600569
Last Updated
May 14, 2023

About the Execution of ITS-Tools for TokenRing-COL-005

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
271.615 6704.00 9690.00 721.50 TFFFTTTFTFTTTFTT normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r485-tall-167912699600569.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..........................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool itstools
Input is TokenRing-COL-005, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r485-tall-167912699600569
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 564K
-rw-r--r-- 1 mcc users 9.4K Feb 25 14:44 CTLCardinality.txt
-rw-r--r-- 1 mcc users 105K Feb 25 14:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.1K Feb 25 14:43 CTLFireability.txt
-rw-r--r-- 1 mcc users 45K Feb 25 14:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K Jan 29 11:41 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.8K Feb 25 17:20 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 17:20 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 17:20 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 25 17:20 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Feb 25 14:45 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 115K Feb 25 14:45 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 17K Feb 25 14:44 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 135K Feb 25 14:44 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 17:20 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:20 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_pt
-rw-r--r-- 1 mcc users 4 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 11K Mar 5 18:23 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 TokenRing-COL-005-CTLCardinality-00
FORMULA_NAME TokenRing-COL-005-CTLCardinality-01
FORMULA_NAME TokenRing-COL-005-CTLCardinality-02
FORMULA_NAME TokenRing-COL-005-CTLCardinality-03
FORMULA_NAME TokenRing-COL-005-CTLCardinality-04
FORMULA_NAME TokenRing-COL-005-CTLCardinality-05
FORMULA_NAME TokenRing-COL-005-CTLCardinality-06
FORMULA_NAME TokenRing-COL-005-CTLCardinality-07
FORMULA_NAME TokenRing-COL-005-CTLCardinality-08
FORMULA_NAME TokenRing-COL-005-CTLCardinality-09
FORMULA_NAME TokenRing-COL-005-CTLCardinality-10
FORMULA_NAME TokenRing-COL-005-CTLCardinality-11
FORMULA_NAME TokenRing-COL-005-CTLCardinality-12
FORMULA_NAME TokenRing-COL-005-CTLCardinality-13
FORMULA_NAME TokenRing-COL-005-CTLCardinality-14
FORMULA_NAME TokenRing-COL-005-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679254776821

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=TokenRing-COL-005
Not applying reductions.
Model is COL
CTLCardinality COL
Running Version 202303021504
[2023-03-19 19:39:38] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2023-03-19 19:39:38] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-19 19:39:38] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2023-03-19 19:39:38] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-19 19:39:38] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 389 ms
[2023-03-19 19:39:38] [INFO ] Imported 1 HL places and 2 HL transitions for a total of 36 PT places and 222.0 transition bindings in 14 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 19 ms.
FORMULA TokenRing-COL-005-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-19 19:39:38] [INFO ] Built PT skeleton of HLPN with 1 places and 2 transitions 4 arcs in 4 ms.
[2023-03-19 19:39:38] [INFO ] Skeletonized 13 HLPN properties in 2 ms.
Initial state reduction rules removed 2 formulas.
FORMULA TokenRing-COL-005-CTLCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Computed a total of 1 stabilizing places and 0 stable transitions
Remains 11 properties that can be checked using skeleton over-approximation.
Reduce places removed 1 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce redundant transitions removed 1 transitions.
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
Finished probabilistic random walk after 0 steps, run visited all 0 properties in 0 ms. (steps per millisecond=0 )
[2023-03-19 19:39:39] [INFO ] Removed 1 GAL types that were empty due to variable simplifications.
petri,
[2023-03-19 19:39:39] [INFO ] Initial state reduction rules for CTL removed 6 formulas.
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 9 ms
[2023-03-19 19:39:39] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA TokenRing-COL-005-CTLCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TokenRing-COL-005-CTLCardinality-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 0 ms
Domain [Process(6), Process(6)] of place State breaks symmetries in sort Process
[2023-03-19 19:39:39] [INFO ] Unfolded HLPN to a Petri net with 36 places and 156 transitions 624 arcs in 16 ms.
[2023-03-19 19:39:39] [INFO ] Unfolded 4 HLPN properties in 0 ms.
Support contains 0 out of 36 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 36/36 places, 156/156 transitions.
Applied a total of 0 rules in 9 ms. Remains 36 /36 variables (removed 0) and now considering 156/156 (removed 0) transitions.
// Phase 1: matrix 156 rows 36 cols
[2023-03-19 19:39:39] [INFO ] Computed 6 place invariants in 10 ms
[2023-03-19 19:39:39] [INFO ] Implicit Places using invariants in 190 ms returned []
[2023-03-19 19:39:39] [INFO ] Invariant cache hit.
[2023-03-19 19:39:39] [INFO ] State equation strengthened by 130 read => feed constraints.
[2023-03-19 19:39:39] [INFO ] Implicit Places using invariants and state equation in 126 ms returned []
Implicit Place search using SMT with State Equation took 340 ms to find 0 implicit places.
[2023-03-19 19:39:39] [INFO ] Invariant cache hit.
[2023-03-19 19:39:39] [INFO ] Dead Transitions using invariants and state equation in 80 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 431 ms. Remains : 36/36 places, 156/156 transitions.
Support contains 0 out of 36 places after structural reductions.
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 20 ms
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 13 ms
[2023-03-19 19:39:39] [INFO ] Input system was already deterministic with 156 transitions.
FORMULA TokenRing-COL-005-CTLCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
Finished probabilistic random walk after 0 steps, run visited all 0 properties in 0 ms. (steps per millisecond=0 )
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 7 ms
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 9 ms
[2023-03-19 19:39:39] [INFO ] Input system was already deterministic with 156 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Starting structural reductions in LTL mode, iteration 0 : 36/36 places, 156/156 transitions.
Applied a total of 0 rules in 3 ms. Remains 36 /36 variables (removed 0) and now considering 156/156 (removed 0) transitions.
[2023-03-19 19:39:39] [INFO ] Invariant cache hit.
[2023-03-19 19:39:39] [INFO ] Implicit Places using invariants in 50 ms returned []
[2023-03-19 19:39:39] [INFO ] Invariant cache hit.
[2023-03-19 19:39:39] [INFO ] State equation strengthened by 130 read => feed constraints.
[2023-03-19 19:39:39] [INFO ] Implicit Places using invariants and state equation in 92 ms returned []
Implicit Place search using SMT with State Equation took 144 ms to find 0 implicit places.
[2023-03-19 19:39:39] [INFO ] Invariant cache hit.
[2023-03-19 19:39:39] [INFO ] Dead Transitions using invariants and state equation in 73 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 222 ms. Remains : 36/36 places, 156/156 transitions.
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 7 ms
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 7 ms
[2023-03-19 19:39:39] [INFO ] Input system was already deterministic with 156 transitions.
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 7 ms
[2023-03-19 19:39:39] [INFO ] Flatten gal took : 7 ms
[2023-03-19 19:39:39] [INFO ] Time to serialize gal into /tmp/CTLCardinality10024579249402316106.gal : 2 ms
[2023-03-19 19:39:39] [INFO ] Time to serialize properties into /tmp/CTLCardinality12374544624189735947.ctl : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLCardinality10024579249402316106.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLCardinality12374544624189735947.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...285
No direction supplied, using forward translation only.
Parsed 1 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,166,0.030153,4300,2,376,5,1409,6,0,303,927,0


Converting to forward existential form...Done !
original formula: EF(EX(TRUE))
=> equivalent forward existential formula: [(EY(FwdU(Init,TRUE)) * TRUE)] != FALSE
(forward)formula 0,1,0.040383,4300,1,0,6,1409,7,1,507,927,1
FORMULA TokenRing-COL-005-CTLCardinality-05 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !

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

ITS tools runner thread asked to quit. Dying gracefully.
Starting structural reductions in LTL mode, iteration 0 : 36/36 places, 156/156 transitions.
Applied a total of 0 rules in 2 ms. Remains 36 /36 variables (removed 0) and now considering 156/156 (removed 0) transitions.
[2023-03-19 19:39:40] [INFO ] Invariant cache hit.
[2023-03-19 19:39:40] [INFO ] Implicit Places using invariants in 39 ms returned []
[2023-03-19 19:39:40] [INFO ] Invariant cache hit.
[2023-03-19 19:39:40] [INFO ] State equation strengthened by 130 read => feed constraints.
[2023-03-19 19:39:40] [INFO ] Implicit Places using invariants and state equation in 88 ms returned []
Implicit Place search using SMT with State Equation took 131 ms to find 0 implicit places.
[2023-03-19 19:39:40] [INFO ] Invariant cache hit.
[2023-03-19 19:39:40] [INFO ] Dead Transitions using invariants and state equation in 72 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 206 ms. Remains : 36/36 places, 156/156 transitions.
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Input system was already deterministic with 156 transitions.
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Time to serialize gal into /tmp/CTLCardinality11805698595104406514.gal : 1 ms
[2023-03-19 19:39:40] [INFO ] Time to serialize properties into /tmp/CTLCardinality10126765849546062270.ctl : 0 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLCardinality11805698595104406514.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLCardinality10126765849546062270.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...285
No direction supplied, using forward translation only.
Parsed 1 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,166,0.024204,4412,2,376,5,1409,6,0,303,927,0


Converting to forward existential form...Done !
original formula: EF(AG(AX(FALSE)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U !(!(EX(!(FALSE)))))))] != FALSE
Reverse transition relation is NOT exact ! Due to transitions t0, t1, t2, t3, t4, t5, t6, t10, t11, t17, t23, t29, t35, t36, t37, t40, t41, t42, t47, t53, ...536
(forward)formula 0,0,0.06848,6312,1,0,207,10412,238,72,2163,10793,230
FORMULA TokenRing-COL-005-CTLCardinality-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

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

Starting structural reductions in LTL mode, iteration 0 : 36/36 places, 156/156 transitions.
Applied a total of 0 rules in 7 ms. Remains 36 /36 variables (removed 0) and now considering 156/156 (removed 0) transitions.
[2023-03-19 19:39:40] [INFO ] Invariant cache hit.
[2023-03-19 19:39:40] [INFO ] Implicit Places using invariants in 37 ms returned []
[2023-03-19 19:39:40] [INFO ] Invariant cache hit.
[2023-03-19 19:39:40] [INFO ] State equation strengthened by 130 read => feed constraints.
[2023-03-19 19:39:40] [INFO ] Implicit Places using invariants and state equation in 85 ms returned []
Implicit Place search using SMT with State Equation took 126 ms to find 0 implicit places.
[2023-03-19 19:39:40] [INFO ] Invariant cache hit.
[2023-03-19 19:39:40] [INFO ] Dead Transitions using invariants and state equation in 68 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 201 ms. Remains : 36/36 places, 156/156 transitions.
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Input system was already deterministic with 156 transitions.
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Time to serialize gal into /tmp/CTLCardinality8011680041455667082.gal : 1 ms
[2023-03-19 19:39:40] [INFO ] Time to serialize properties into /tmp/CTLCardinality10367632422961551197.ctl : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLCardinality8011680041455667082.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLCardinality10367632422961551197.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...284
No direction supplied, using forward translation only.
Parsed 1 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,166,0.023056,4408,2,376,5,1409,6,0,303,927,0


Converting to forward existential form...Done !
original formula: EF(EX(EX(TRUE)))
=> equivalent forward existential formula: [(EY(EY(FwdU(Init,TRUE))) * TRUE)] != FALSE
(forward)formula 0,1,0.027999,4408,1,0,7,1476,7,1,507,927,2
FORMULA TokenRing-COL-005-CTLCardinality-15 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !

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

[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
[2023-03-19 19:39:40] [INFO ] Flatten gal took : 6 ms
Total runtime 2377 ms.

BK_STOP 1679254783525

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution CTLCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination CTLCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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="TokenRing-COL-005"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="itstools"
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-5348"
echo " Executing tool itstools"
echo " Input is TokenRing-COL-005, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r485-tall-167912699600569"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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