fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r189-tall-171640617800414
Last Updated
July 7, 2024

About the Execution of ITS-Tools for GlobalResAllocation-COL-09

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
0.000 443478.00 0.00 0.00 [undef] Cannot compute

Execution Chart

Sorry, for this execution, no execution chart could be reported.

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r189-tall-171640617800414.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool itstools
Input is GlobalResAllocation-COL-09, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r189-tall-171640617800414
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 428K
-rw-r--r-- 1 mcc users 7.5K Apr 12 08:59 CTLCardinality.txt
-rw-r--r-- 1 mcc users 70K Apr 12 08:59 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.3K Apr 12 08:59 CTLFireability.txt
-rw-r--r-- 1 mcc users 55K Apr 12 08:59 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:42 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.7K Apr 22 14:47 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Apr 22 14:47 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Apr 22 14:47 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 22 14:47 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.4K Apr 12 08:59 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 66K Apr 12 08:59 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.3K Apr 12 08:59 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 77K Apr 12 08:59 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Apr 22 14:47 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Apr 22 14:47 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 18 16:42 equiv_pt
-rw-r--r-- 1 mcc users 3 May 18 16:42 instance
-rw-r--r-- 1 mcc users 5 May 18 16:42 iscolored
-rw-r--r-- 1 mcc users 29K May 18 16:42 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 1716473666151

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=Liveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=GlobalResAllocation-COL-09
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is COL
Liveness COL
Running Version 202405141337
[2024-05-23 14:14:27] [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]
[2024-05-23 14:14:27] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-23 14:14:27] [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.
[2024-05-23 14:14:27] [WARNING] Using fallBack plugin, rng conformance not checked
[2024-05-23 14:14:27] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 544 ms
[2024-05-23 14:14:27] [INFO ] Imported 5 HL places and 7 HL transitions for a total of 207 PT places and 1003437.0 transition bindings in 12 ms.
[2024-05-23 14:14:27] [INFO ] Built PT skeleton of HLPN with 5 places and 7 transitions 29 arcs in 4 ms.
[2024-05-23 14:14:27] [INFO ] Skeletonized 0 HLPN properties in 0 ms.
[2024-05-23 14:14:32] [INFO ] Unfolded HLPN to a Petri net with 207 places and 1003437 transitions 9334944 arcs in 4912 ms.
[2024-05-23 14:14:32] [INFO ] Unfolded 0 HLPN properties in 0 ms.
[2024-05-23 14:14:38] [INFO ] Unfolded HLPN to a Petri net with 207 places and 1003437 transitions 9334944 arcs in 5000 ms.
[2024-05-23 14:14:38] [INFO ] Unfolded 7 HLPN properties in 86 ms.
[2024-05-23 14:14:38] [INFO ] Reduced 1377 identical enabling conditions.
[2024-05-23 14:14:38] [INFO ] Reduced 42228 identical enabling conditions.
[2024-05-23 14:14:38] [INFO ] Reduced 890919 identical enabling conditions.
[2024-05-23 14:14:39] [INFO ] Reduced 1377 identical enabling conditions.
[2024-05-23 14:14:39] [INFO ] Built PT skeleton of HLPN with 5 places and 7 transitions 29 arcs in 1 ms.
[2024-05-23 14:14:39] [INFO ] Skeletonized 7 HLPN properties in 2 ms.
Computed a total of 0 stabilizing places and 0 stable transitions
Prefix of Interest using HLPN skeleton for deadlock discarded 0 places and 0 transitions.
Symmetric sort wr.t. initial and guards and successors and join/free detected :Res
Symmetric sort wr.t. initial detected :Res
Symmetric sort wr.t. initial and guards detected :Res
Applying symmetric unfolding of full symmetric sort :Res domain size was 18
Transition release1 forces synchronizations/join behavior on parameter p of sort Proc
[2024-05-23 14:14:39] [INFO ] Unfolded HLPN to a Petri net with 37 places and 63 transitions 261 arcs in 6 ms.
[2024-05-23 14:14:39] [INFO ] Unfolded 7 HLPN properties in 1 ms.
Built sparse matrix representations for Structural reductions in 0 ms.3959361KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 37/37 places, 63/63 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Reduce isomorphic (modulo) transitions removed 18 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Iterating post reduction 0 with 18 rules applied. Total rules applied 18 place count 37 transition count 54
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 18 rules in 15 ms. Remains 37 /37 variables (removed 0) and now considering 54/63 (removed 9) transitions.
Running 18 sub problems to find dead transitions.
// Phase 1: matrix 54 rows 37 cols
[2024-05-23 14:14:39] [INFO ] Computed 19 invariants in 4 ms
At refinement iteration 0 (INCLUDED_ONLY) 0/27 variables, 9/9 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/27 variables, 0/9 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 2 (OVERLAPS) 10/37 variables, 10/19 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/37 variables, 0/19 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 4 (OVERLAPS) 54/91 variables, 37/56 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/91 variables, 0/56 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 6 (OVERLAPS) 0/91 variables, 0/56 constraints. Problems are: Problem set: 0 solved, 18 unsolved
No progress, stopping.
After SMT solving in domain Real declared 91/91 variables, and 56 constraints, problems are : Problem set: 0 solved, 18 unsolved in 444 ms.
Refiners :[Positive P Invariants (semi-flows): 10/10 constraints, Generalized P Invariants (flows): 9/9 constraints, State Equation: 37/37 constraints, PredecessorRefiner: 18/18 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 0 solved, 18 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/27 variables, 9/9 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/27 variables, 0/9 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 2 (OVERLAPS) 10/37 variables, 10/19 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/37 variables, 0/19 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 4 (OVERLAPS) 54/91 variables, 37/56 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/91 variables, 18/74 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/91 variables, 0/74 constraints. Problems are: Problem set: 0 solved, 18 unsolved
At refinement iteration 7 (OVERLAPS) 0/91 variables, 0/74 constraints. Problems are: Problem set: 0 solved, 18 unsolved
No progress, stopping.
After SMT solving in domain Int declared 91/91 variables, and 74 constraints, problems are : Problem set: 0 solved, 18 unsolved in 383 ms.
Refiners :[Positive P Invariants (semi-flows): 10/10 constraints, Generalized P Invariants (flows): 9/9 constraints, State Equation: 37/37 constraints, PredecessorRefiner: 18/18 constraints, Known Traps: 0/0 constraints]
After SMT, in 924ms problems are : Problem set: 0 solved, 18 unsolved
Search for dead transitions found 0 dead transitions in 933ms
Finished structural reductions in DEADLOCK mode , in 1 iterations and 979 ms. Remains : 37/37 places, 54/63 transitions.
Random walk for 1250002 steps, including 0 resets, run took 1771 ms (no deadlock found). (steps per millisecond=705 )
Random directed walk for 1250000 steps, including 0 resets, run took 1315 ms (no deadlock found). (steps per millisecond=950 )
[2024-05-23 14:14:43] [INFO ] Invariant cache hit.
[2024-05-23 14:14:43] [INFO ] [Real]Absence check using 10 positive place invariants in 3 ms returned sat
[2024-05-23 14:14:43] [INFO ] [Real]Absence check using 10 positive and 9 generalized place invariants in 2 ms returned unsat
[2024-05-23 14:14:43] [INFO ] Unfolded HLPN to a Petri net with 37 places and 63 transitions 261 arcs in 0 ms.
[2024-05-23 14:14:43] [INFO ] Unfolded 7 HLPN properties in 0 ms.
Initial state reduction rules removed 4 formulas.
RANDOM walk for 35 steps (0 resets) in 20 ms. (1 steps per ms) remains 0/3 properties
[2024-05-23 14:14:44] [INFO ] Flatten gal took : 49 ms
[2024-05-23 14:14:44] [INFO ] Flatten gal took : 11 ms
[2024-05-23 14:14:44] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality17734142250214837431.gal : 6 ms
[2024-05-23 14:14:44] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality13633890798252992018.prop : 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.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality17734142250214837431.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality13633890798252992018.prop' '--nowitness' '--gen-order' 'FOLLOW'

ITS runner timed out or was interrupted.
its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...330
ITS tools runner thread asked to quit. Dying gracefully.
Able to resolve query QuasiLiveness after proving 7 properties.
Net is quasi-live, checking if it is reversible to establish liveness.
Ensure Unique test removed 935901 transitions
Reduce redundant transitions removed 935901 transitions.
[2024-05-23 14:15:09] [INFO ] Flatten gal took : 3541 ms
[2024-05-23 14:15:12] [INFO ] Flatten gal took : 2905 ms
[2024-05-23 14:15:13] [INFO ] Time to serialize gal into /tmp/CTLFireability18379682285467839947.gal : 730 ms
[2024-05-23 14:15:13] [INFO ] Time to serialize properties into /tmp/CTLFireability12006030654698464511.ctl : 4 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.202405141337/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability18379682285467839947.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability12006030654698464511.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...285
Detected timeout of ITS tools.
[2024-05-23 14:15:19] [INFO ] Flatten gal took : 3073 ms
[2024-05-23 14:15:19] [INFO ] Applying decomposition
[2024-05-23 14:15:22] [INFO ] Flatten gal took : 2876 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202405141337/bin/convert-linux64' '-i' '/tmp/graph15966936608083644033.txt' '-o' '/tmp/graph15966936608083644033.bin' '-w' '/tmp/graph15966936608083644033.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202405141337/bin/louvain-linux64' '/tmp/graph15966936608083644033.bin' '-l' '-1' '-v' '-w' '/tmp/graph15966936608083644033.weights' '-q' '0' '-e' '0.001'
[2024-05-23 14:15:32] [INFO ] Decomposing Gal with order
[2024-05-23 14:15:32] [INFO ] Rewriting arrays to variables to allow decomposition.
[2024-05-23 14:15:41] [INFO ] Removed a total of 283896 redundant transitions.
[2024-05-23 14:15:42] [INFO ] Flatten gal took : 8036 ms
[2024-05-23 14:15:44] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 634 ms.
[2024-05-23 14:15:44] [INFO ] Time to serialize gal into /tmp/CTLFireability2402789981267762292.gal : 263 ms
[2024-05-23 14:15:44] [INFO ] Time to serialize properties into /tmp/CTLFireability7360958877381183722.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.202405141337/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability2402789981267762292.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability7360958877381183722.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...262
Detected timeout of ITS tools.
[2024-05-23 14:15:51] [INFO ] Flatten gal took : 3093 ms
[2024-05-23 14:15:53] [INFO ] Flatten gal took : 2711 ms
[2024-05-23 14:15:54] [INFO ] Time to serialize gal into /tmp/CTLFireability7262718024029138151.gal : 597 ms
[2024-05-23 14:15:54] [INFO ] Time to serialize properties into /tmp/CTLFireability17955634980966088451.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.202405141337/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability7262718024029138151.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability17955634980966088451.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...284
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2024-05-23 14:16:27] [INFO ] Flatten gal took : 2798 ms
[2024-05-23 14:16:27] [INFO ] Applying decomposition
[2024-05-23 14:16:30] [INFO ] Flatten gal took : 3034 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202405141337/bin/convert-linux64' '-i' '/tmp/graph1746050490788780448.txt' '-o' '/tmp/graph1746050490788780448.bin' '-w' '/tmp/graph1746050490788780448.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202405141337/bin/louvain-linux64' '/tmp/graph1746050490788780448.bin' '-l' '-1' '-v' '-w' '/tmp/graph1746050490788780448.weights' '-q' '0' '-e' '0.001'
[2024-05-23 14:16:38] [INFO ] Decomposing Gal with order
[2024-05-23 14:16:38] [INFO ] Rewriting arrays to variables to allow decomposition.
[2024-05-23 14:16:46] [INFO ] Removed a total of 284008 redundant transitions.
[2024-05-23 14:16:47] [INFO ] Flatten gal took : 7109 ms
[2024-05-23 14:16:48] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 474 ms.
[2024-05-23 14:16:48] [INFO ] Time to serialize gal into /tmp/CTLFireability7092977529655850479.gal : 226 ms
[2024-05-23 14:16:48] [INFO ] Time to serialize properties into /tmp/CTLFireability9134833254032084128.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.202405141337/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability7092977529655850479.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability9134833254032084128.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...262
Detected timeout of ITS tools.
[2024-05-23 14:17:21] [INFO ] Flatten gal took : 2897 ms
[2024-05-23 14:17:24] [INFO ] Flatten gal took : 2631 ms
[2024-05-23 14:17:25] [INFO ] Time to serialize gal into /tmp/CTLFireability8990147394958051410.gal : 521 ms
[2024-05-23 14:17:25] [INFO ] Time to serialize properties into /tmp/CTLFireability7616190739591449205.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.202405141337/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability8990147394958051410.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability7616190739591449205.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...283
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.

BK_STOP 1716474109629

--------------------
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.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /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="GlobalResAllocation-COL-09"
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-5568"
echo " Executing tool itstools"
echo " Input is GlobalResAllocation-COL-09, 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 r189-tall-171640617800414"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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