fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r261-tall-162106763200641
Last Updated
Jun 28, 2021

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16244.523 1800000.00 1740706.00 34532.00 [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/mcc2021-input.r261-tall-162106763200641.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
....................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is TCPcondis-PT-40, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r261-tall-162106763200641
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 348K
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 92K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.9K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 78K May 10 09:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.5K Mar 28 16:46 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 28 16:46 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K Mar 28 16:46 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 16:46 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K Mar 27 14:11 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 27 14:11 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Mar 25 20:11 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 19K Mar 25 20:11 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 08:16 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 22 08:16 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:52 equiv_col
-rw-r--r-- 1 mcc users 3 May 5 16:52 instance
-rw-r--r-- 1 mcc users 6 May 5 16:52 iscolored
-rwxr-xr-x 1 mcc users 24K May 5 16:52 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 1621192159141

Running Version 0
[2021-05-16 19:09:20] [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]
[2021-05-16 19:09:20] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-16 19:09:20] [WARNING] Skipping unknown tool specific annotation : Tina
[2021-05-16 19:09:20] [WARNING] Unknown XML tag in source file: size
[2021-05-16 19:09:20] [WARNING] Unknown XML tag in source file: color
[2021-05-16 19:09:20] [INFO ] Load time of PNML (sax parser for PT used): 30 ms
[2021-05-16 19:09:20] [INFO ] Transformed 30 places.
[2021-05-16 19:09:20] [INFO ] Transformed 32 transitions.
[2021-05-16 19:09:20] [INFO ] Parsed PT model containing 30 places and 32 transitions in 64 ms.
Discarding 8 transitions out of 32. Remains 24
Built sparse matrix representations for Structural reductions in 4 ms.15297KB memory used
Starting structural reductions, iteration 0 : 30/30 places, 32/32 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
Applied a total of 2 rules in 14 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 1250015 steps, including 0 resets, run took 311 ms (no deadlock found). (steps per millisecond=4019 )
Random directed walk for 1250025 steps, including 0 resets, run took 323 ms (no deadlock found). (steps per millisecond=3870 )
// Phase 1: matrix 30 rows 30 cols
[2021-05-16 19:09:21] [INFO ] Computed 9 place invariants in 5 ms
[2021-05-16 19:09:21] [INFO ] [Real]Absence check using 3 positive place invariants in 3 ms returned sat
[2021-05-16 19:09:21] [INFO ] [Real]Absence check using 3 positive and 6 generalized place invariants in 2 ms returned unsat
Starting structural reductions, 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 8 ms. Remains 24 /30 variables (removed 6) and now considering 26/32 (removed 6) transitions.
// Phase 1: matrix 26 rows 24 cols
[2021-05-16 19:09:21] [INFO ] Computed 9 place invariants in 4 ms
[2021-05-16 19:09:21] [INFO ] Implicit Places using invariants in 53 ms returned []
// Phase 1: matrix 26 rows 24 cols
[2021-05-16 19:09:21] [INFO ] Computed 9 place invariants in 1 ms
[2021-05-16 19:09:21] [INFO ] Implicit Places using invariants and state equation in 42 ms returned []
Implicit Place search using SMT with State Equation took 105 ms to find 0 implicit places.
// Phase 1: matrix 26 rows 24 cols
[2021-05-16 19:09:21] [INFO ] Computed 9 place invariants in 1 ms
[2021-05-16 19:09:21] [INFO ] Dead Transitions using invariants and state equation in 43 ms returned []
Finished structural reductions, in 1 iterations. Remains : 24/30 places, 26/32 transitions.
Discarding 8 transitions out of 26. Remains 18
[2021-05-16 19:09:21] [INFO ] Initial state test concluded for 2 properties.
Finished random walk after 1518 steps, including 0 resets, run visited all 16 properties in 3 ms. (steps per millisecond=506 )
Able to resolve query QuasiLiveness after proving 18 properties.
Starting structural reductions, 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 2 ms. Remains 24 /30 variables (removed 6) and now considering 26/32 (removed 6) transitions.
// Phase 1: matrix 26 rows 24 cols
[2021-05-16 19:09:21] [INFO ] Computed 9 place invariants in 0 ms
[2021-05-16 19:09:21] [INFO ] Implicit Places using invariants in 33 ms returned []
// Phase 1: matrix 26 rows 24 cols
[2021-05-16 19:09:21] [INFO ] Computed 9 place invariants in 1 ms
[2021-05-16 19:09:21] [INFO ] Implicit Places using invariants and state equation in 32 ms returned []
Implicit Place search using SMT with State Equation took 66 ms to find 0 implicit places.
// Phase 1: matrix 26 rows 24 cols
[2021-05-16 19:09:21] [INFO ] Computed 9 place invariants in 1 ms
[2021-05-16 19:09:21] [INFO ] Dead Transitions using invariants and state equation in 24 ms returned []
Finished structural reductions, in 1 iterations. Remains : 24/30 places, 26/32 transitions.
Discarding 8 transitions out of 26. Remains 18
[2021-05-16 19:09:21] [INFO ] Flatten gal took : 21 ms
[2021-05-16 19:09:22] [INFO ] Flatten gal took : 11 ms
[2021-05-16 19:09:22] [INFO ] Time to serialize gal into /tmp/CTLFireability12746512171376511313.gal : 4 ms
[2021-05-16 19:09:22] [INFO ] Time to serialize properties into /tmp/CTLFireability13729265569071893820.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability12746512171376511313.gal, -t, CGAL, -ctl, /tmp/CTLFireability13729265569071893820.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability12746512171376511313.gal -t CGAL -ctl /tmp/CTLFireability13729265569071893820.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 19:09:25] [INFO ] Flatten gal took : 9 ms
[2021-05-16 19:09:25] [INFO ] Applying decomposition
[2021-05-16 19:09:25] [INFO ] Flatten gal took : 3 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph17093949334296389085.txt, -o, /tmp/graph17093949334296389085.bin, -w, /tmp/graph17093949334296389085.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph17093949334296389085.bin, -l, -1, -v, -w, /tmp/graph17093949334296389085.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-16 19:09:25] [INFO ] Decomposing Gal with order
[2021-05-16 19:09:25] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-16 19:09:25] [INFO ] Removed a total of 22 redundant transitions.
[2021-05-16 19:09:25] [INFO ] Flatten gal took : 63 ms
[2021-05-16 19:09:25] [INFO ] Fuse similar labels procedure discarded/fused a total of 4 labels/synchronizations in 3 ms.
[2021-05-16 19:09:25] [INFO ] Time to serialize gal into /tmp/CTLFireability14597692938644124014.gal : 7 ms
[2021-05-16 19:09:25] [INFO ] Time to serialize properties into /tmp/CTLFireability6222225129834370138.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability14597692938644124014.gal, -t, CGAL, -ctl, /tmp/CTLFireability6222225129834370138.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability14597692938644124014.gal -t CGAL -ctl /tmp/CTLFireability6222225129834370138.ctl
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 19:09:28] [INFO ] Flatten gal took : 4 ms
[2021-05-16 19:09:28] [INFO ] Flatten gal took : 3 ms
[2021-05-16 19:09:28] [INFO ] Time to serialize gal into /tmp/CTLFireability8253674498462897275.gal : 1 ms
[2021-05-16 19:09:28] [INFO ] Time to serialize properties into /tmp/CTLFireability13860103152943996302.ctl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability8253674498462897275.gal, -t, CGAL, -ctl, /tmp/CTLFireability13860103152943996302.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability8253674498462897275.gal -t CGAL -ctl /tmp/CTLFireability13860103152943996302.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 19:09:58] [INFO ] Flatten gal took : 3 ms
[2021-05-16 19:09:58] [INFO ] Applying decomposition
[2021-05-16 19:09:58] [INFO ] Flatten gal took : 2 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph16050733028470760136.txt, -o, /tmp/graph16050733028470760136.bin, -w, /tmp/graph16050733028470760136.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph16050733028470760136.bin, -l, -1, -v, -w, /tmp/graph16050733028470760136.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-16 19:09:58] [INFO ] Decomposing Gal with order
[2021-05-16 19:09:58] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-16 19:09:58] [INFO ] Removed a total of 22 redundant transitions.
[2021-05-16 19:09:58] [INFO ] Flatten gal took : 5 ms
[2021-05-16 19:09:58] [INFO ] Fuse similar labels procedure discarded/fused a total of 4 labels/synchronizations in 1 ms.
[2021-05-16 19:09:58] [INFO ] Time to serialize gal into /tmp/CTLFireability4611446841317001293.gal : 1 ms
[2021-05-16 19:09:58] [INFO ] Time to serialize properties into /tmp/CTLFireability134687240419669041.ctl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability4611446841317001293.gal, -t, CGAL, -ctl, /tmp/CTLFireability134687240419669041.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability4611446841317001293.gal -t CGAL -ctl /tmp/CTLFireability134687240419669041.ctl
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 19:10:28] [INFO ] Flatten gal took : 3 ms
[2021-05-16 19:10:28] [INFO ] Flatten gal took : 2 ms
[2021-05-16 19:10:28] [INFO ] Time to serialize gal into /tmp/CTLFireability10203087051328984548.gal : 1 ms
[2021-05-16 19:10:28] [INFO ] Time to serialize properties into /tmp/CTLFireability6389338774123779318.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability10203087051328984548.gal, -t, CGAL, -ctl, /tmp/CTLFireability6389338774123779318.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability10203087051328984548.gal -t CGAL -ctl /tmp/CTLFireability6389338774123779318.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 19:15:28] [INFO ] Flatten gal took : 2 ms
[2021-05-16 19:15:28] [INFO ] Applying decomposition
[2021-05-16 19:15:28] [INFO ] Flatten gal took : 2 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph14122851477390724001.txt, -o, /tmp/graph14122851477390724001.bin, -w, /tmp/graph14122851477390724001.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph14122851477390724001.bin, -l, -1, -v, -w, /tmp/graph14122851477390724001.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-16 19:15:28] [INFO ] Decomposing Gal with order
[2021-05-16 19:15:28] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-16 19:15:28] [INFO ] Removed a total of 22 redundant transitions.
[2021-05-16 19:15:28] [INFO ] Flatten gal took : 5 ms
[2021-05-16 19:15:28] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 1 ms.
[2021-05-16 19:15:28] [INFO ] Time to serialize gal into /tmp/CTLFireability18105335371228868131.gal : 1 ms
[2021-05-16 19:15:28] [INFO ] Time to serialize properties into /tmp/CTLFireability564327009920345948.ctl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability18105335371228868131.gal, -t, CGAL, -ctl, /tmp/CTLFireability564327009920345948.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability18105335371228868131.gal -t CGAL -ctl /tmp/CTLFireability564327009920345948.ctl
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 19:20:28] [INFO ] Flatten gal took : 2 ms
[2021-05-16 19:20:28] [INFO ] Flatten gal took : 2 ms
[2021-05-16 19:20:28] [INFO ] Time to serialize gal into /tmp/CTLFireability7665608354928376012.gal : 0 ms
[2021-05-16 19:20:28] [INFO ] Time to serialize properties into /tmp/CTLFireability2704545474960061604.ctl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability7665608354928376012.gal, -t, CGAL, -ctl, /tmp/CTLFireability2704545474960061604.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability7665608354928376012.gal -t CGAL -ctl /tmp/CTLFireability2704545474960061604.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.

BK_TIME_CONFINEMENT_REACHED

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

+ 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
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -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=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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-40"
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-40, 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 r261-tall-162106763200641"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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