fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r265-tall-165303551700554
Last Updated
Jun 22, 2022

About the Execution of ITS-Tools for TwoPhaseLocking-PT-nC10000vN

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
4179.680 1800000.00 1817151.00 4755.40 [undef] Time out reached

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.r265-tall-165303551700554.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 itstools
Input is TwoPhaseLocking-PT-nC10000vN, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r265-tall-165303551700554
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 216K
-rw-r--r-- 1 mcc users 7.9K Apr 30 10:35 CTLCardinality.txt
-rw-r--r-- 1 mcc users 80K Apr 30 10:35 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.5K Apr 30 10:34 CTLFireability.txt
-rw-r--r-- 1 mcc users 34K Apr 30 10:34 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 9 09:19 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 09:19 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 9 09:19 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 9 09:19 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.8K May 9 09:19 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May 9 09:19 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 10 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 4.6K May 10 09:34 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

FORMULA_NAME Liveness

=== Now, execution of the tool begins

BK_START 1653072114703

Running Version 202205111006
[2022-05-20 18:41:55] [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-20 18:41:55] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 18:41:55] [INFO ] Load time of PNML (sax parser for PT used): 35 ms
[2022-05-20 18:41:55] [INFO ] Transformed 8 places.
[2022-05-20 18:41:55] [INFO ] Transformed 6 transitions.
[2022-05-20 18:41:55] [INFO ] Parsed PT model containing 8 places and 6 transitions in 129 ms.
Built sparse matrix representations for Structural reductions in 4 ms.8005KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 8/8 places, 6/6 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 8 ms. Remains 8 /8 variables (removed 0) and now considering 6/6 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 8/8 places, 6/6 transitions.
Starting structural reductions in DEADLOCKS mode, iteration 0 : 8/8 places, 6/6 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 1 ms. Remains 8 /8 variables (removed 0) and now considering 6/6 (removed 0) transitions.
// Phase 1: matrix 6 rows 8 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 7 ms
[2022-05-20 18:41:56] [INFO ] Implicit Places using invariants in 104 ms returned []
// Phase 1: matrix 6 rows 8 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 2 ms
[2022-05-20 18:41:56] [INFO ] Implicit Places using invariants and state equation in 54 ms returned []
Implicit Place search using SMT with State Equation took 184 ms to find 0 implicit places.
[2022-05-20 18:41:56] [INFO ] Redundant transitions in 0 ms returned []
// Phase 1: matrix 6 rows 8 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 1 ms
[2022-05-20 18:41:56] [INFO ] Dead Transitions using invariants and state equation in 36 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 8/8 places, 6/6 transitions.
Random walk for 1250003 steps, including 0 resets, run took 282 ms (no deadlock found). (steps per millisecond=4432 )
Random directed walk for 1250002 steps, including 0 resets, run took 337 ms (no deadlock found). (steps per millisecond=3709 )
// Phase 1: matrix 6 rows 8 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 1 ms
[2022-05-20 18:41:56] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
Starting structural reductions in LIVENESS mode, iteration 0 : 8/8 places, 6/6 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 8 transition count 4
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 4 place count 6 transition count 4
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 5 transition count 3
Applied a total of 6 rules in 5 ms. Remains 5 /8 variables (removed 3) and now considering 3/6 (removed 3) transitions.
// Phase 1: matrix 3 rows 5 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 2 ms
[2022-05-20 18:41:56] [INFO ] Implicit Places using invariants in 24 ms returned []
// Phase 1: matrix 3 rows 5 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 0 ms
[2022-05-20 18:41:56] [INFO ] Implicit Places using invariants and state equation in 23 ms returned []
Implicit Place search using SMT with State Equation took 48 ms to find 0 implicit places.
// Phase 1: matrix 3 rows 5 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 1 ms
[2022-05-20 18:41:56] [INFO ] Dead Transitions using invariants and state equation in 17 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 5/8 places, 3/6 transitions.
Finished structural reductions, in 1 iterations. Remains : 5/8 places, 3/6 transitions.
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10003 steps, including 1 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties (out of 2) seen :1
Finished Best-First random walk after 4 steps, including 0 resets, run visited all 1 properties in 1 ms. (steps per millisecond=4 )
Able to resolve query QuasiLiveness after proving 3 properties.
Starting structural reductions in LIVENESS mode, iteration 0 : 8/8 places, 6/6 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 8 transition count 4
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 4 place count 6 transition count 4
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 5 transition count 3
Applied a total of 6 rules in 1 ms. Remains 5 /8 variables (removed 3) and now considering 3/6 (removed 3) transitions.
// Phase 1: matrix 3 rows 5 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 0 ms
[2022-05-20 18:41:56] [INFO ] Implicit Places using invariants in 19 ms returned []
// Phase 1: matrix 3 rows 5 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 0 ms
[2022-05-20 18:41:56] [INFO ] Implicit Places using invariants and state equation in 21 ms returned []
Implicit Place search using SMT with State Equation took 42 ms to find 0 implicit places.
// Phase 1: matrix 3 rows 5 cols
[2022-05-20 18:41:56] [INFO ] Computed 3 place invariants in 1 ms
[2022-05-20 18:41:57] [INFO ] Dead Transitions using invariants and state equation in 16 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 5/8 places, 3/6 transitions.
Finished structural reductions, in 1 iterations. Remains : 5/8 places, 3/6 transitions.
[2022-05-20 18:41:57] [INFO ] Flatten gal took : 13 ms
[2022-05-20 18:41:57] [INFO ] Flatten gal took : 2 ms
[2022-05-20 18:41:57] [INFO ] Time to serialize gal into /tmp/CTLFireability6913257816746177043.gal : 3 ms
[2022-05-20 18:41:57] [INFO ] Time to serialize properties into /tmp/CTLFireability5307523981308939451.ctl : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability6913257816746177043.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability5307523981308939451.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...274
No direction supplied, using forward translation only.
Parsed 3 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 18:42:00] [INFO ] Flatten gal took : 2 ms
[2022-05-20 18:42:00] [INFO ] Applying decomposition
[2022-05-20 18:42:00] [INFO ] Flatten gal took : 3 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/convert-linux64' '-i' '/tmp/graph9990340250223667678.txt' '-o' '/tmp/graph9990340250223667678.bin' '-w' '/tmp/graph9990340250223667678.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph9990340250223667678.bin' '-l' '-1' '-v' '-w' '/tmp/graph9990340250223667678.weights' '-q' '0' '-e' '0.001'
[2022-05-20 18:42:00] [INFO ] Decomposing Gal with order
[2022-05-20 18:42:00] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 18:42:00] [INFO ] Flatten gal took : 24 ms
[2022-05-20 18:42:00] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 1 ms.
[2022-05-20 18:42:00] [INFO ] Time to serialize gal into /tmp/CTLFireability13360048845196950673.gal : 1 ms
[2022-05-20 18:42:00] [INFO ] Time to serialize properties into /tmp/CTLFireability1915997784725623023.ctl : 0 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability13360048845196950673.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability1915997784725623023.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...254
No direction supplied, using forward translation only.
Parsed 3 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 18:42:03] [INFO ] Flatten gal took : 1 ms
[2022-05-20 18:42:03] [INFO ] Flatten gal took : 1 ms
[2022-05-20 18:42:03] [INFO ] Time to serialize gal into /tmp/CTLFireability10045074903027061313.gal : 1 ms
[2022-05-20 18:42:03] [INFO ] Time to serialize properties into /tmp/CTLFireability15905422645447572251.ctl : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability10045074903027061313.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability15905422645447572251.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...276
No direction supplied, using forward translation only.
Parsed 3 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 18:42:33] [INFO ] Flatten gal took : 2 ms
[2022-05-20 18:42:33] [INFO ] Applying decomposition
[2022-05-20 18:42:33] [INFO ] Flatten gal took : 1 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/convert-linux64' '-i' '/tmp/graph13043050096616023.txt' '-o' '/tmp/graph13043050096616023.bin' '-w' '/tmp/graph13043050096616023.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph13043050096616023.bin' '-l' '-1' '-v' '-w' '/tmp/graph13043050096616023.weights' '-q' '0' '-e' '0.001'
[2022-05-20 18:42:33] [INFO ] Decomposing Gal with order
[2022-05-20 18:42:33] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 18:42:33] [INFO ] Flatten gal took : 1 ms
[2022-05-20 18:42:33] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 0 ms.
[2022-05-20 18:42:33] [INFO ] Time to serialize gal into /tmp/CTLFireability5418166896481802132.gal : 1 ms
[2022-05-20 18:42:33] [INFO ] Time to serialize properties into /tmp/CTLFireability11165155202345880437.ctl : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability5418166896481802132.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability11165155202345880437.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...254
No direction supplied, using forward translation only.
Parsed 3 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 18:43:03] [INFO ] Flatten gal took : 3 ms
[2022-05-20 18:43:03] [INFO ] Flatten gal took : 3 ms
[2022-05-20 18:43:03] [INFO ] Time to serialize gal into /tmp/CTLFireability9108472486464165663.gal : 1 ms
[2022-05-20 18:43:03] [INFO ] Time to serialize properties into /tmp/CTLFireability15864496154684421117.ctl : 0 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability9108472486464165663.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability15864496154684421117.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...275
No direction supplied, using forward translation only.
Parsed 3 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 18:48:03] [INFO ] Flatten gal took : 3 ms
[2022-05-20 18:48:03] [INFO ] Applying decomposition
[2022-05-20 18:48:03] [INFO ] Flatten gal took : 2 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/convert-linux64' '-i' '/tmp/graph17382681983452471690.txt' '-o' '/tmp/graph17382681983452471690.bin' '-w' '/tmp/graph17382681983452471690.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph17382681983452471690.bin' '-l' '-1' '-v' '-w' '/tmp/graph17382681983452471690.weights' '-q' '0' '-e' '0.001'
[2022-05-20 18:48:03] [INFO ] Decomposing Gal with order
[2022-05-20 18:48:03] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 18:48:03] [INFO ] Flatten gal took : 1 ms
[2022-05-20 18:48:03] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 0 ms.
[2022-05-20 18:48:03] [INFO ] Time to serialize gal into /tmp/CTLFireability17518039434975414026.gal : 1 ms
[2022-05-20 18:48:03] [INFO ] Time to serialize properties into /tmp/CTLFireability15253890015021233516.ctl : 0 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability17518039434975414026.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability15253890015021233516.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...255
No direction supplied, using forward translation only.
Parsed 3 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 18:53:03] [INFO ] Flatten gal took : 7 ms
[2022-05-20 18:53:03] [INFO ] Flatten gal took : 1 ms
[2022-05-20 18:53:03] [INFO ] Time to serialize gal into /tmp/CTLFireability8843358362014519877.gal : 1 ms
[2022-05-20 18:53:03] [INFO ] Time to serialize properties into /tmp/CTLFireability14645259677178324998.ctl : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability8843358362014519877.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability14645259677178324998.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...275
No direction supplied, using forward translation only.
Parsed 3 CTL formulae.

BK_TIME_CONFINEMENT_REACHED

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

+ export LANG=C
+ LANG=C
+ 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
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -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=@none -Xss128m -Xms40m -Xmx8192m

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="TwoPhaseLocking-PT-nC10000vN"
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 TwoPhaseLocking-PT-nC10000vN, 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 r265-tall-165303551700554"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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