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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
5311.396 288582.00 317951.00 867.20 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/mcc2023-input.r499-tall-167912722500374.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-020, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r499-tall-167912722500374
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 480K
-rw-r--r-- 1 mcc users 8.6K Feb 25 15:39 CTLCardinality.txt
-rw-r--r-- 1 mcc users 95K Feb 25 15:39 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.3K Feb 25 14:59 CTLFireability.txt
-rw-r--r-- 1 mcc users 62K Feb 25 14:59 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.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 18K Feb 25 17:20 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.9K Feb 25 16:29 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 88K Feb 25 16:29 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 12K Feb 25 16:03 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 84K Feb 25 16:03 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 18K 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

FORMULA_NAME Liveness

=== Now, execution of the tool begins

BK_START 1679503261215

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=Liveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=TokenRing-COL-020
Not applying reductions.
Model is COL
Liveness COL
Running Version 202303021504
[2023-03-22 16:41:02] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2023-03-22 16:41:02] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-22 16:41:03] [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-22 16:41:03] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-22 16:41:03] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 405 ms
[2023-03-22 16:41:03] [INFO ] Imported 1 HL places and 2 HL transitions for a total of 441 PT places and 9282.0 transition bindings in 14 ms.
[2023-03-22 16:41:03] [INFO ] Built PT skeleton of HLPN with 1 places and 2 transitions 4 arcs in 3 ms.
[2023-03-22 16:41:03] [INFO ] Skeletonized 0 HLPN properties in 0 ms.
[2023-03-22 16:41:03] [INFO ] Unfolded HLPN to a Petri net with 441 places and 8421 transitions 33684 arcs in 134 ms.
[2023-03-22 16:41:03] [INFO ] Unfolded 0 HLPN properties in 0 ms.
[2023-03-22 16:41:03] [INFO ] Unfolded HLPN to a Petri net with 441 places and 8421 transitions 33684 arcs in 51 ms.
[2023-03-22 16:41:03] [INFO ] Unfolded 2 HLPN properties in 2 ms.
[2023-03-22 16:41:03] [INFO ] Built PT skeleton of HLPN with 1 places and 2 transitions 4 arcs in 0 ms.
[2023-03-22 16:41:03] [INFO ] Skeletonized 1 HLPN properties in 0 ms. Removed 1 properties that had guard overlaps.
Reduce places removed 1 places and 0 transitions.
Skeleton produced trivially non deadlocked net.
Domain [Process(21), Process(21)] of place State breaks symmetries in sort Process
[2023-03-22 16:41:03] [INFO ] Unfolded HLPN to a Petri net with 441 places and 8421 transitions 33684 arcs in 46 ms.
[2023-03-22 16:41:03] [INFO ] Unfolded 2 HLPN properties in 5 ms.
Built sparse matrix representations for Structural reductions in 16 ms.47890KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 441/441 places, 8421/8421 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 229 ms. Remains 441 /441 variables (removed 0) and now considering 8421/8421 (removed 0) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 231 ms. Remains : 441/441 places, 8421/8421 transitions.
Starting structural reductions in DEADLOCK mode, iteration 0 : 441/441 places, 8421/8421 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 135 ms. Remains 441 /441 variables (removed 0) and now considering 8421/8421 (removed 0) transitions.
// Phase 1: matrix 8421 rows 441 cols
[2023-03-22 16:41:04] [INFO ] Computed 21 place invariants in 46 ms
[2023-03-22 16:41:04] [INFO ] Implicit Places using invariants in 279 ms returned []
[2023-03-22 16:41:04] [INFO ] Invariant cache hit.
[2023-03-22 16:41:05] [INFO ] Implicit Places using invariants and state equation in 783 ms returned []
Implicit Place search using SMT with State Equation took 1088 ms to find 0 implicit places.
[2023-03-22 16:41:06] [INFO ] Redundant transitions in 1025 ms returned []
[2023-03-22 16:41:06] [INFO ] Invariant cache hit.
[2023-03-22 16:41:08] [INFO ] Dead Transitions using invariants and state equation in 2302 ms found 0 transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 4563 ms. Remains : 441/441 places, 8421/8421 transitions.
Random walk for 1250000 steps, including 0 resets, run took 5604 ms (no deadlock found). (steps per millisecond=223 )
Random directed walk for 1250000 steps, including 0 resets, run took 5463 ms (no deadlock found). (steps per millisecond=228 )
[2023-03-22 16:41:19] [INFO ] Invariant cache hit.
[2023-03-22 16:41:20] [INFO ] [Real]Absence check using 21 positive place invariants in 19 ms returned unsat
[2023-03-22 16:41:20] [INFO ] Unfolded HLPN to a Petri net with 441 places and 8421 transitions 33684 arcs in 25 ms.
[2023-03-22 16:41:20] [INFO ] Unfolded 2 HLPN properties in 1 ms.
Initial state reduction rules removed 1 formulas.
Finished random walk after 73 steps, including 0 resets, run visited all 1 properties in 14 ms. (steps per millisecond=5 )
[2023-03-22 16:41:21] [INFO ] Flatten gal took : 361 ms
[2023-03-22 16:41:21] [INFO ] Flatten gal took : 206 ms
[2023-03-22 16:41:21] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality7411363522820095766.gal : 108 ms
[2023-03-22 16:41:21] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality8783822556402363684.prop : 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-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality7411363522820095766.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality8783822556402363684.prop' '--nowitness' '--gen-order' 'FOLLOW'

ITS runner failed with exception null
java.lang.InterruptedException
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Thread.join(Thread.java:1304)
at java.base/java.lang.Thread.join(Thread.java:1372)
at fr.lip6.move.gal.application.runner.AbstractRunner.join(AbstractRunner.java:27)
at fr.lip6.move.gal.application.runner.its.ITSRunner.join(ITSRunner.java:177)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:675)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.lambda$2(ReachabilitySolver.java:63)
at java.base/java.lang.Thread.run(Thread.java:833)
Able to resolve query QuasiLiveness after proving 2 properties.
its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...328
[2023-03-22 16:41:22] [INFO ] Flatten gal took : 461 ms
Loading property file /tmp/ReachabilityCardinality8783822556402363684.prop.
[2023-03-22 16:41:22] [INFO ] Flatten gal took : 247 ms
[2023-03-22 16:41:22] [INFO ] Time to serialize gal into /tmp/CTLFireability17663216131748966485.gal : 38 ms
[2023-03-22 16:41:22] [INFO ] Time to serialize properties into /tmp/CTLFireability3388483538096233725.ctl : 33 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/CTLFireability17663216131748966485.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability3388483538096233725.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 2 CTL formulae.
Found states matching all0 target predicate
Will report total states built up to this point. Computation was interrupted after 3 fixpoint passes
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,2,3.58711,73072,2,443,5,1308,6,0,10188,445,0
Total reachable state count : 2

Detected timeout of ITS tools.
[2023-03-22 16:41:26] [INFO ] Flatten gal took : 198 ms
[2023-03-22 16:41:26] [INFO ] Applying decomposition
[2023-03-22 16:41:26] [INFO ] Flatten gal took : 179 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/convert-linux64' '-i' '/tmp/graph7842065576051770047.txt' '-o' '/tmp/graph7842065576051770047.bin' '-w' '/tmp/graph7842065576051770047.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/louvain-linux64' '/tmp/graph7842065576051770047.bin' '-l' '-1' '-v' '-w' '/tmp/graph7842065576051770047.weights' '-q' '0' '-e' '0.001'
[2023-03-22 16:41:26] [INFO ] Decomposing Gal with order
[2023-03-22 16:41:27] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-22 16:41:27] [INFO ] Removed a total of 19266 redundant transitions.
[2023-03-22 16:41:28] [INFO ] Flatten gal took : 795 ms
[2023-03-22 16:41:29] [INFO ] Fuse similar labels procedure discarded/fused a total of 212 labels/synchronizations in 174 ms.
[2023-03-22 16:41:29] [INFO ] Time to serialize gal into /tmp/CTLFireability10977170644839656316.gal : 32 ms
[2023-03-22 16:41:29] [INFO ] Time to serialize properties into /tmp/CTLFireability746485983001757353.ctl : 68 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/CTLFireability10977170644839656316.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability746485983001757353.ctl'

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 -...262
No direction supplied, using forward translation only.
Parsed 2 CTL formulae.
Detected timeout of ITS tools.
[2023-03-22 16:41:32] [INFO ] Flatten gal took : 189 ms
[2023-03-22 16:41:32] [INFO ] Flatten gal took : 198 ms
[2023-03-22 16:41:32] [INFO ] Time to serialize gal into /tmp/CTLFireability3380383318828049487.gal : 26 ms
[2023-03-22 16:41:32] [INFO ] Time to serialize properties into /tmp/CTLFireability14453095169838959846.ctl : 19 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/CTLFireability3380383318828049487.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability14453095169838959846.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 2 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,2.44663e+10,7.15939,134024,2,20851,5,65754,6,0,10188,36317,0


Converting to forward existential form...Done !
Detected timeout of ITS tools.
[2023-03-22 16:42:03] [INFO ] Flatten gal took : 189 ms
[2023-03-22 16:42:03] [INFO ] Applying decomposition
[2023-03-22 16:42:03] [INFO ] Flatten gal took : 205 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/convert-linux64' '-i' '/tmp/graph11099917699119370135.txt' '-o' '/tmp/graph11099917699119370135.bin' '-w' '/tmp/graph11099917699119370135.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/louvain-linux64' '/tmp/graph11099917699119370135.bin' '-l' '-1' '-v' '-w' '/tmp/graph11099917699119370135.weights' '-q' '0' '-e' '0.001'
[2023-03-22 16:42:03] [INFO ] Decomposing Gal with order
[2023-03-22 16:42:03] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-22 16:42:04] [INFO ] Removed a total of 19285 redundant transitions.
[2023-03-22 16:42:04] [INFO ] Flatten gal took : 381 ms
[2023-03-22 16:42:04] [INFO ] Fuse similar labels procedure discarded/fused a total of 38 labels/synchronizations in 65 ms.
[2023-03-22 16:42:04] [INFO ] Time to serialize gal into /tmp/CTLFireability16305877625106043550.gal : 30 ms
[2023-03-22 16:42:04] [INFO ] Time to serialize properties into /tmp/CTLFireability9567494978919838675.ctl : 25 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/CTLFireability16305877625106043550.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability9567494978919838675.ctl'

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 -...263
No direction supplied, using forward translation only.
Parsed 2 CTL formulae.
Detected timeout of ITS tools.
[2023-03-22 16:42:35] [INFO ] Flatten gal took : 176 ms
[2023-03-22 16:42:35] [INFO ] Flatten gal took : 182 ms
[2023-03-22 16:42:35] [INFO ] Time to serialize gal into /tmp/CTLFireability16778738370125798845.gal : 24 ms
[2023-03-22 16:42:35] [INFO ] Time to serialize properties into /tmp/CTLFireability1742613312730891691.ctl : 20 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/CTLFireability16778738370125798845.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability1742613312730891691.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 2 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,2.44663e+10,7.2106,134228,2,20851,5,65754,6,0,10188,36317,0


Converting to forward existential form...Done !
original formula: AG(EF((((((((State_6>=1)&&(State_426>=1))||((State_14>=1)&&(State_434>=1)))||(((State_5>=1)&&(State_425>=1))||((State_7>=1)&&(State_427>=...747
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((((State_6>=1)&&(State_426>=1))||((State_14>=1)&&(State_434>=1)))||(((State_5...807
Reverse transition relation is NOT exact ! Due to transitions MainProcessx0, MainProcessx1, MainProcessx2, MainProcessx3, MainProcessx4, MainProcessx5, Mai...42816
(forward)formula 0,1,175.214,4060028,1,0,5761,7.00751e+06,9,1983,27601,6.7349e+06,41
Formula is TRUE !

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

original formula: AG(EF(((((((((((((((((State_195>=1)&&(State_210>=1))||((State_213>=1)&&(State_251>=1)))||(((State_62>=1)&&(State_69>=1))||((State_164>=1)...298642
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((((((((((((State_195>=1)&&(State_210>=1))||((State_213>=1)&&(State_251>=1)))...298702
(forward)formula 1,1,190.63,4060028,1,0,5761,7.00751e+06,10,1983,36421,6.7349e+06,45
Formula is TRUE !

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

ITS tools runner thread asked to quit. Dying gracefully.
Able to resolve query Liveness after proving 2 properties.
FORMULA Liveness TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Total runtime 286019 ms.

BK_STOP 1679503549797

--------------------
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
+ [[ Liveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution Liveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ 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 Liveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800

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-020"
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-5348"
echo " Executing tool itstools"
echo " Input is TokenRing-COL-020, 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 r499-tall-167912722500374"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/TokenRing-COL-020.tgz
mv TokenRing-COL-020 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 ;