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

About the Execution of ITS-Tools for TCPcondis-PT-50

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16216.008 1800000.00 1707636.00 76561.90 [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-165303551400319.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 TCPcondis-PT-50, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r265-tall-165303551400319
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 256K
-rw-r--r-- 1 mcc users 6.3K Apr 29 12:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 62K Apr 29 12:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.9K Apr 29 12:55 CTLFireability.txt
-rw-r--r-- 1 mcc users 69K Apr 29 12:55 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.7K May 9 09:15 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K May 9 09:15 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 09:15 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 09:15 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 09:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 09:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 3 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rwxr-xr-x 1 mcc users 24K 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 1653066240728

Running Version 202205111006
[2022-05-20 17:04:01] [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 17:04:01] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 17:04:01] [WARNING] Skipping unknown tool specific annotation : Tina
[2022-05-20 17:04:01] [WARNING] Unknown XML tag in source file: size
[2022-05-20 17:04:01] [WARNING] Unknown XML tag in source file: color
[2022-05-20 17:04:02] [INFO ] Load time of PNML (sax parser for PT used): 58 ms
[2022-05-20 17:04:02] [INFO ] Transformed 30 places.
[2022-05-20 17:04:02] [INFO ] Transformed 32 transitions.
[2022-05-20 17:04:02] [INFO ] Parsed PT model containing 30 places and 32 transitions in 157 ms.
Discarding 8 transitions out of 32. Remains 24
Built sparse matrix representations for Structural reductions in 4 ms.8524KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 30/30 places, 32/32 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
Drop transitions removed 2 transitions
Redundant transition composition rules discarded 2 transitions
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 30 transition count 30
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 2 rules in 15 ms. Remains 30 /30 variables (removed 0) and now considering 30/32 (removed 2) transitions.
Finished structural reductions, in 1 iterations. Remains : 30/30 places, 30/32 transitions.
Random walk for 1250018 steps, including 0 resets, run took 229 ms (no deadlock found). (steps per millisecond=5458 )
Random directed walk for 1250019 steps, including 0 resets, run took 240 ms (no deadlock found). (steps per millisecond=5208 )
// Phase 1: matrix 30 rows 30 cols
[2022-05-20 17:04:02] [INFO ] Computed 9 place invariants in 5 ms
[2022-05-20 17:04:02] [INFO ] [Real]Absence check using 3 positive place invariants in 4 ms returned sat
[2022-05-20 17:04:02] [INFO ] [Real]Absence check using 3 positive and 6 generalized place invariants in 11 ms returned unsat
Starting structural reductions in LIVENESS mode, iteration 0 : 30/30 places, 32/32 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Deduced a syphon composed of 4 places in 0 ms
Reduce places removed 4 places and 0 transitions.
Iterating global reduction 0 with 8 rules applied. Total rules applied 8 place count 26 transition count 28
Discarding 2 places :
Symmetric choice reduction at 0 with 2 rule applications. Total rules 10 place count 24 transition count 26
Iterating global reduction 0 with 2 rules applied. Total rules applied 12 place count 24 transition count 26
Applied a total of 12 rules in 6 ms. Remains 24 /30 variables (removed 6) and now considering 26/32 (removed 6) transitions.
// Phase 1: matrix 26 rows 24 cols
[2022-05-20 17:04:02] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-20 17:04:02] [INFO ] Implicit Places using invariants in 36 ms returned []
// Phase 1: matrix 26 rows 24 cols
[2022-05-20 17:04:02] [INFO ] Computed 9 place invariants in 2 ms
[2022-05-20 17:04:02] [INFO ] Implicit Places using invariants and state equation in 45 ms returned []
Implicit Place search using SMT with State Equation took 82 ms to find 0 implicit places.
// Phase 1: matrix 26 rows 24 cols
[2022-05-20 17:04:02] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-20 17:04:02] [INFO ] Dead Transitions using invariants and state equation in 32 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 24/30 places, 26/32 transitions.
Finished structural reductions, in 1 iterations. Remains : 24/30 places, 26/32 transitions.
Discarding 8 transitions out of 26. Remains 18
Initial state reduction rules removed 2 formulas.
Finished random walk after 5204 steps, including 1 resets, run visited all 16 properties in 37 ms. (steps per millisecond=140 )
Able to resolve query QuasiLiveness after proving 18 properties.
Starting structural reductions in LIVENESS mode, iteration 0 : 30/30 places, 32/32 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Deduced a syphon composed of 4 places in 0 ms
Reduce places removed 4 places and 0 transitions.
Iterating global reduction 0 with 8 rules applied. Total rules applied 8 place count 26 transition count 28
Discarding 2 places :
Symmetric choice reduction at 0 with 2 rule applications. Total rules 10 place count 24 transition count 26
Iterating global reduction 0 with 2 rules applied. Total rules applied 12 place count 24 transition count 26
Applied a total of 12 rules in 3 ms. Remains 24 /30 variables (removed 6) and now considering 26/32 (removed 6) transitions.
// Phase 1: matrix 26 rows 24 cols
[2022-05-20 17:04:02] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-20 17:04:02] [INFO ] Implicit Places using invariants in 27 ms returned []
// Phase 1: matrix 26 rows 24 cols
[2022-05-20 17:04:02] [INFO ] Computed 9 place invariants in 4 ms
[2022-05-20 17:04:02] [INFO ] Implicit Places using invariants and state equation in 43 ms returned []
Implicit Place search using SMT with State Equation took 72 ms to find 0 implicit places.
// Phase 1: matrix 26 rows 24 cols
[2022-05-20 17:04:02] [INFO ] Computed 9 place invariants in 2 ms
[2022-05-20 17:04:02] [INFO ] Dead Transitions using invariants and state equation in 40 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 24/30 places, 26/32 transitions.
Finished structural reductions, in 1 iterations. Remains : 24/30 places, 26/32 transitions.
Discarding 8 transitions out of 26. Remains 18
[2022-05-20 17:04:03] [INFO ] Flatten gal took : 21 ms
[2022-05-20 17:04:03] [INFO ] Flatten gal took : 6 ms
[2022-05-20 17:04:03] [INFO ] Time to serialize gal into /tmp/CTLFireability14752242781279411095.gal : 4 ms
[2022-05-20 17:04:03] [INFO ] Time to serialize properties into /tmp/CTLFireability5031905856831748977.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/CTLFireability14752242781279411095.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability5031905856831748977.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 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 17:04:06] [INFO ] Flatten gal took : 6 ms
[2022-05-20 17:04:06] [INFO ] Applying decomposition
[2022-05-20 17:04:06] [INFO ] Flatten gal took : 5 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/graph15757769740537168154.txt' '-o' '/tmp/graph15757769740537168154.bin' '-w' '/tmp/graph15757769740537168154.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph15757769740537168154.bin' '-l' '-1' '-v' '-w' '/tmp/graph15757769740537168154.weights' '-q' '0' '-e' '0.001'
[2022-05-20 17:04:06] [INFO ] Decomposing Gal with order
[2022-05-20 17:04:06] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 17:04:06] [INFO ] Removed a total of 22 redundant transitions.
[2022-05-20 17:04:06] [INFO ] Flatten gal took : 131 ms
[2022-05-20 17:04:06] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 2 ms.
[2022-05-20 17:04:06] [INFO ] Time to serialize gal into /tmp/CTLFireability2485346238447605036.gal : 2 ms
[2022-05-20 17:04:06] [INFO ] Time to serialize properties into /tmp/CTLFireability7587024670837398878.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/CTLFireability2485346238447605036.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability7587024670837398878.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...253
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 17:04:09] [INFO ] Flatten gal took : 6 ms
[2022-05-20 17:04:09] [INFO ] Flatten gal took : 3 ms
[2022-05-20 17:04:09] [INFO ] Time to serialize gal into /tmp/CTLFireability16532808767769865838.gal : 1 ms
[2022-05-20 17:04:09] [INFO ] Time to serialize properties into /tmp/CTLFireability9140532879038248763.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/CTLFireability16532808767769865838.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability9140532879038248763.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 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 17:04:39] [INFO ] Flatten gal took : 6 ms
[2022-05-20 17:04:39] [INFO ] Applying decomposition
[2022-05-20 17:04:39] [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/graph10885800080117699584.txt' '-o' '/tmp/graph10885800080117699584.bin' '-w' '/tmp/graph10885800080117699584.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph10885800080117699584.bin' '-l' '-1' '-v' '-w' '/tmp/graph10885800080117699584.weights' '-q' '0' '-e' '0.001'
[2022-05-20 17:04:39] [INFO ] Decomposing Gal with order
[2022-05-20 17:04:39] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 17:04:39] [INFO ] Removed a total of 22 redundant transitions.
[2022-05-20 17:04:39] [INFO ] Flatten gal took : 5 ms
[2022-05-20 17:04:39] [INFO ] Fuse similar labels procedure discarded/fused a total of 4 labels/synchronizations in 2 ms.
[2022-05-20 17:04:39] [INFO ] Time to serialize gal into /tmp/CTLFireability6369661637340452074.gal : 1 ms
[2022-05-20 17:04:39] [INFO ] Time to serialize properties into /tmp/CTLFireability6337540853405629373.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/CTLFireability6369661637340452074.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability6337540853405629373.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...253
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 17:05:09] [INFO ] Flatten gal took : 3 ms
[2022-05-20 17:05:09] [INFO ] Flatten gal took : 2 ms
[2022-05-20 17:05:09] [INFO ] Time to serialize gal into /tmp/CTLFireability15357426044159753256.gal : 3 ms
[2022-05-20 17:05:09] [INFO ] Time to serialize properties into /tmp/CTLFireability9634714380290886923.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/CTLFireability15357426044159753256.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability9634714380290886923.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 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 17:10:09] [INFO ] Flatten gal took : 3 ms
[2022-05-20 17:10:09] [INFO ] Applying decomposition
[2022-05-20 17:10:09] [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/graph7661082688344368015.txt' '-o' '/tmp/graph7661082688344368015.bin' '-w' '/tmp/graph7661082688344368015.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph7661082688344368015.bin' '-l' '-1' '-v' '-w' '/tmp/graph7661082688344368015.weights' '-q' '0' '-e' '0.001'
[2022-05-20 17:10:09] [INFO ] Decomposing Gal with order
[2022-05-20 17:10:09] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 17:10:09] [INFO ] Removed a total of 22 redundant transitions.
[2022-05-20 17:10:09] [INFO ] Flatten gal took : 5 ms
[2022-05-20 17:10:09] [INFO ] Fuse similar labels procedure discarded/fused a total of 4 labels/synchronizations in 1 ms.
[2022-05-20 17:10:09] [INFO ] Time to serialize gal into /tmp/CTLFireability6499900724961927819.gal : 0 ms
[2022-05-20 17:10:09] [INFO ] Time to serialize properties into /tmp/CTLFireability10205576275157376496.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/CTLFireability6499900724961927819.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability10205576275157376496.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 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-20 17:15:09] [INFO ] Flatten gal took : 10 ms
[2022-05-20 17:15:09] [INFO ] Flatten gal took : 2 ms
[2022-05-20 17:15:09] [INFO ] Time to serialize gal into /tmp/CTLFireability7203960079968278086.gal : 0 ms
[2022-05-20 17:15:09] [INFO ] Time to serialize properties into /tmp/CTLFireability7359685572831520494.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/CTLFireability7203960079968278086.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability7359685572831520494.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 18 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
++ perl -pe 's/.*\.//g'
++ sed s/.jar//
++ 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="TCPcondis-PT-50"
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 TCPcondis-PT-50, 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-165303551400319"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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