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

About the Execution of 2021-gold for TCPcondis-PT-40

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16235.796 1800000.00 1747222.00 34321.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/mcc2022-input.r270-tall-165303554000314.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 gold2021
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 r270-tall-165303554000314
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 252K
-rw-r--r-- 1 mcc users 7.4K Apr 29 12:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 77K Apr 29 12:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.2K Apr 29 12:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 45K Apr 29 12:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.0K May 9 09:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 09:14 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 9 09:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 9 09:14 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 09:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 09:14 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 1653116406047

Running Version 0
[2022-05-21 07:00:07] [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-21 07:00:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-21 07:00:07] [WARNING] Skipping unknown tool specific annotation : Tina
[2022-05-21 07:00:07] [WARNING] Unknown XML tag in source file: size
[2022-05-21 07:00:07] [WARNING] Unknown XML tag in source file: color
[2022-05-21 07:00:07] [INFO ] Load time of PNML (sax parser for PT used): 28 ms
[2022-05-21 07:00:07] [INFO ] Transformed 30 places.
[2022-05-21 07:00:07] [INFO ] Transformed 32 transitions.
[2022-05-21 07:00:07] [INFO ] Parsed PT model containing 30 places and 32 transitions in 62 ms.
Discarding 8 transitions out of 32. Remains 24
Built sparse matrix representations for Structural reductions in 4 ms.15505KB 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 18 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 1250020 steps, including 0 resets, run took 258 ms (no deadlock found). (steps per millisecond=4845 )
Random directed walk for 1250005 steps, including 0 resets, run took 220 ms (no deadlock found). (steps per millisecond=5681 )
// Phase 1: matrix 30 rows 30 cols
[2022-05-21 07:00:08] [INFO ] Computed 9 place invariants in 12 ms
[2022-05-21 07:00:08] [INFO ] [Real]Absence check using 3 positive place invariants in 3 ms returned sat
[2022-05-21 07:00:08] [INFO ] [Real]Absence check using 3 positive and 6 generalized place invariants in 3 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 1 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 13 ms. Remains 24 /30 variables (removed 6) and now considering 26/32 (removed 6) transitions.
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 07:00:08] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-21 07:00:08] [INFO ] Implicit Places using invariants in 46 ms returned []
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 07:00:08] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-21 07:00:08] [INFO ] Implicit Places using invariants and state equation in 50 ms returned []
Implicit Place search using SMT with State Equation took 98 ms to find 0 implicit places.
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 07:00:08] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-21 07:00:08] [INFO ] Dead Transitions using invariants and state equation in 36 ms returned []
Finished structural reductions, in 1 iterations. Remains : 24/30 places, 26/32 transitions.
Discarding 8 transitions out of 26. Remains 18
[2022-05-21 07:00:08] [INFO ] Initial state test concluded for 2 properties.
Finished random walk after 2460 steps, including 0 resets, run visited all 16 properties in 3 ms. (steps per millisecond=820 )
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 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-21 07:00:08] [INFO ] Computed 9 place invariants in 2 ms
[2022-05-21 07:00:08] [INFO ] Implicit Places using invariants in 23 ms returned []
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 07:00:08] [INFO ] Computed 9 place invariants in 5 ms
[2022-05-21 07:00:08] [INFO ] Implicit Places using invariants and state equation in 37 ms returned []
Implicit Place search using SMT with State Equation took 61 ms to find 0 implicit places.
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 07:00:08] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-21 07:00:08] [INFO ] Dead Transitions using invariants and state equation in 20 ms returned []
Finished structural reductions, in 1 iterations. Remains : 24/30 places, 26/32 transitions.
Discarding 8 transitions out of 26. Remains 18
[2022-05-21 07:00:08] [INFO ] Flatten gal took : 22 ms
[2022-05-21 07:00:08] [INFO ] Flatten gal took : 10 ms
[2022-05-21 07:00:08] [INFO ] Time to serialize gal into /tmp/CTLFireability16353863342578234636.gal : 5 ms
[2022-05-21 07:00:08] [INFO ] Time to serialize properties into /tmp/CTLFireability8046848152351706930.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/CTLFireability16353863342578234636.gal, -t, CGAL, -ctl, /tmp/CTLFireability8046848152351706930.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/CTLFireability16353863342578234636.gal -t CGAL -ctl /tmp/CTLFireability8046848152351706930.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-21 07:00:11] [INFO ] Flatten gal took : 5 ms
[2022-05-21 07:00:11] [INFO ] Applying decomposition
[2022-05-21 07:00:11] [INFO ] Flatten gal took : 4 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/graph13949833985987478514.txt, -o, /tmp/graph13949833985987478514.bin, -w, /tmp/graph13949833985987478514.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/graph13949833985987478514.bin, -l, -1, -v, -w, /tmp/graph13949833985987478514.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-05-21 07:00:11] [INFO ] Decomposing Gal with order
[2022-05-21 07:00:11] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-21 07:00:11] [INFO ] Removed a total of 22 redundant transitions.
[2022-05-21 07:00:11] [INFO ] Flatten gal took : 25 ms
[2022-05-21 07:00:11] [INFO ] Fuse similar labels procedure discarded/fused a total of 4 labels/synchronizations in 2 ms.
[2022-05-21 07:00:11] [INFO ] Time to serialize gal into /tmp/CTLFireability7095227044861140621.gal : 2 ms
[2022-05-21 07:00:11] [INFO ] Time to serialize properties into /tmp/CTLFireability281964999213380056.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/CTLFireability7095227044861140621.gal, -t, CGAL, -ctl, /tmp/CTLFireability281964999213380056.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/CTLFireability7095227044861140621.gal -t CGAL -ctl /tmp/CTLFireability281964999213380056.ctl
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-21 07:00:14] [INFO ] Flatten gal took : 7 ms
[2022-05-21 07:00:14] [INFO ] Flatten gal took : 3 ms
[2022-05-21 07:00:14] [INFO ] Time to serialize gal into /tmp/CTLFireability2250005328434045295.gal : 1 ms
[2022-05-21 07:00:14] [INFO ] Time to serialize properties into /tmp/CTLFireability4641871293882340677.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/CTLFireability2250005328434045295.gal, -t, CGAL, -ctl, /tmp/CTLFireability4641871293882340677.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/CTLFireability2250005328434045295.gal -t CGAL -ctl /tmp/CTLFireability4641871293882340677.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-21 07:00:44] [INFO ] Flatten gal took : 4 ms
[2022-05-21 07:00:44] [INFO ] Applying decomposition
[2022-05-21 07:00:44] [INFO ] Flatten gal took : 5 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/graph744735644613785723.txt, -o, /tmp/graph744735644613785723.bin, -w, /tmp/graph744735644613785723.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/graph744735644613785723.bin, -l, -1, -v, -w, /tmp/graph744735644613785723.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-05-21 07:00:45] [INFO ] Decomposing Gal with order
[2022-05-21 07:00:45] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-21 07:00:45] [INFO ] Removed a total of 22 redundant transitions.
[2022-05-21 07:00:45] [INFO ] Flatten gal took : 6 ms
[2022-05-21 07:00:45] [INFO ] Fuse similar labels procedure discarded/fused a total of 4 labels/synchronizations in 2 ms.
[2022-05-21 07:00:45] [INFO ] Time to serialize gal into /tmp/CTLFireability4990201962894685150.gal : 1 ms
[2022-05-21 07:00:45] [INFO ] Time to serialize properties into /tmp/CTLFireability1353488262618731496.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/CTLFireability4990201962894685150.gal, -t, CGAL, -ctl, /tmp/CTLFireability1353488262618731496.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/CTLFireability4990201962894685150.gal -t CGAL -ctl /tmp/CTLFireability1353488262618731496.ctl
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-21 07:01:15] [INFO ] Flatten gal took : 3 ms
[2022-05-21 07:01:15] [INFO ] Flatten gal took : 2 ms
[2022-05-21 07:01:15] [INFO ] Time to serialize gal into /tmp/CTLFireability17413345720713897162.gal : 0 ms
[2022-05-21 07:01:15] [INFO ] Time to serialize properties into /tmp/CTLFireability329256658787821513.ctl : 4 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/CTLFireability17413345720713897162.gal, -t, CGAL, -ctl, /tmp/CTLFireability329256658787821513.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/CTLFireability17413345720713897162.gal -t CGAL -ctl /tmp/CTLFireability329256658787821513.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-21 07:06:15] [INFO ] Flatten gal took : 5 ms
[2022-05-21 07:06:15] [INFO ] Applying decomposition
[2022-05-21 07:06:15] [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/graph6539371297526527628.txt, -o, /tmp/graph6539371297526527628.bin, -w, /tmp/graph6539371297526527628.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/graph6539371297526527628.bin, -l, -1, -v, -w, /tmp/graph6539371297526527628.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-05-21 07:06:15] [INFO ] Decomposing Gal with order
[2022-05-21 07:06:15] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-21 07:06:15] [INFO ] Removed a total of 22 redundant transitions.
[2022-05-21 07:06:15] [INFO ] Flatten gal took : 5 ms
[2022-05-21 07:06:15] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 1 ms.
[2022-05-21 07:06:15] [INFO ] Time to serialize gal into /tmp/CTLFireability10151944521594630773.gal : 2 ms
[2022-05-21 07:06:15] [INFO ] Time to serialize properties into /tmp/CTLFireability18132772593058924348.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/CTLFireability10151944521594630773.gal, -t, CGAL, -ctl, /tmp/CTLFireability18132772593058924348.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/CTLFireability10151944521594630773.gal -t CGAL -ctl /tmp/CTLFireability18132772593058924348.ctl
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-21 07:11:15] [INFO ] Flatten gal took : 4 ms
[2022-05-21 07:11:15] [INFO ] Flatten gal took : 2 ms
[2022-05-21 07:11:15] [INFO ] Time to serialize gal into /tmp/CTLFireability1437035961426654947.gal : 1 ms
[2022-05-21 07:11:15] [INFO ] Time to serialize properties into /tmp/CTLFireability15760259000860258585.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/CTLFireability1437035961426654947.gal, -t, CGAL, -ctl, /tmp/CTLFireability15760259000860258585.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/CTLFireability1437035961426654947.gal -t CGAL -ctl /tmp/CTLFireability15760259000860258585.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="gold2021"
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 gold2021"
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 r270-tall-165303554000314"
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 ;