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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
723.531 36681.00 41870.00 203.40 T normal

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-165303554000284.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-10, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r270-tall-165303554000284
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 248K
-rw-r--r-- 1 mcc users 7.6K Apr 29 12:56 CTLCardinality.txt
-rw-r--r-- 1 mcc users 77K Apr 29 12:56 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.4K Apr 29 12:55 CTLFireability.txt
-rw-r--r-- 1 mcc users 48K 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.9K 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.1K May 9 09:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K 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 1653116308032

Running Version 0
[2022-05-21 06:58:29] [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 06:58:29] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-21 06:58:29] [WARNING] Skipping unknown tool specific annotation : Tina
[2022-05-21 06:58:29] [WARNING] Unknown XML tag in source file: size
[2022-05-21 06:58:29] [WARNING] Unknown XML tag in source file: color
[2022-05-21 06:58:29] [INFO ] Load time of PNML (sax parser for PT used): 28 ms
[2022-05-21 06:58:29] [INFO ] Transformed 30 places.
[2022-05-21 06:58:29] [INFO ] Transformed 32 transitions.
[2022-05-21 06:58:29] [INFO ] Parsed PT model containing 30 places and 32 transitions in 67 ms.
Discarding 8 transitions out of 32. Remains 24
Built sparse matrix representations for Structural reductions in 4 ms.15864KB 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 12 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 1250000 steps, including 0 resets, run took 372 ms (no deadlock found). (steps per millisecond=3360 )
Random directed walk for 1250005 steps, including 0 resets, run took 343 ms (no deadlock found). (steps per millisecond=3644 )
// Phase 1: matrix 30 rows 30 cols
[2022-05-21 06:58:30] [INFO ] Computed 9 place invariants in 13 ms
[2022-05-21 06:58:30] [INFO ] [Real]Absence check using 3 positive place invariants in 3 ms returned sat
[2022-05-21 06:58:30] [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 16 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 06:58:30] [INFO ] Computed 9 place invariants in 2 ms
[2022-05-21 06:58:30] [INFO ] Implicit Places using invariants in 36 ms returned []
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 06:58:30] [INFO ] Computed 9 place invariants in 2 ms
[2022-05-21 06:58:30] [INFO ] Implicit Places using invariants and state equation in 47 ms returned []
Implicit Place search using SMT with State Equation took 84 ms to find 0 implicit places.
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 06:58:30] [INFO ] Computed 9 place invariants in 2 ms
[2022-05-21 06:58:30] [INFO ] Dead Transitions using invariants and state equation in 38 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 06:58:30] [INFO ] Initial state test concluded for 2 properties.
Finished random walk after 1297 steps, including 0 resets, run visited all 16 properties in 4 ms. (steps per millisecond=324 )
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
[2022-05-21 06:58:30] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-21 06:58:30] [INFO ] Implicit Places using invariants in 24 ms returned []
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 06:58:30] [INFO ] Computed 9 place invariants in 2 ms
[2022-05-21 06:58:30] [INFO ] Implicit Places using invariants and state equation in 26 ms returned []
Implicit Place search using SMT with State Equation took 51 ms to find 0 implicit places.
// Phase 1: matrix 26 rows 24 cols
[2022-05-21 06:58:30] [INFO ] Computed 9 place invariants in 1 ms
[2022-05-21 06:58:30] [INFO ] Dead Transitions using invariants and state equation in 18 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 06:58:31] [INFO ] Flatten gal took : 22 ms
[2022-05-21 06:58:31] [INFO ] Flatten gal took : 6 ms
[2022-05-21 06:58:31] [INFO ] Time to serialize gal into /tmp/CTLFireability16675578159024832201.gal : 5 ms
[2022-05-21 06:58:31] [INFO ] Time to serialize properties into /tmp/CTLFireability12203651679660749106.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/CTLFireability16675578159024832201.gal, -t, CGAL, -ctl, /tmp/CTLFireability12203651679660749106.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/CTLFireability16675578159024832201.gal -t CGAL -ctl /tmp/CTLFireability12203651679660749106.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-21 06:58:34] [INFO ] Flatten gal took : 22 ms
[2022-05-21 06:58:34] [INFO ] Applying decomposition
[2022-05-21 06:58:34] [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/graph17522162056775362722.txt, -o, /tmp/graph17522162056775362722.bin, -w, /tmp/graph17522162056775362722.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/graph17522162056775362722.bin, -l, -1, -v, -w, /tmp/graph17522162056775362722.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-05-21 06:58:34] [INFO ] Decomposing Gal with order
[2022-05-21 06:58:34] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-21 06:58:34] [INFO ] Removed a total of 22 redundant transitions.
[2022-05-21 06:58:34] [INFO ] Flatten gal took : 40 ms
[2022-05-21 06:58:34] [INFO ] Fuse similar labels procedure discarded/fused a total of 4 labels/synchronizations in 2 ms.
[2022-05-21 06:58:34] [INFO ] Time to serialize gal into /tmp/CTLFireability13557358027952759235.gal : 2 ms
[2022-05-21 06:58:34] [INFO ] Time to serialize properties into /tmp/CTLFireability17472140514728998898.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/CTLFireability13557358027952759235.gal, -t, CGAL, -ctl, /tmp/CTLFireability17472140514728998898.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/CTLFireability13557358027952759235.gal -t CGAL -ctl /tmp/CTLFireability17472140514728998898.ctl
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Detected timeout of ITS tools.
[2022-05-21 06:58:37] [INFO ] Flatten gal took : 7 ms
[2022-05-21 06:58:37] [INFO ] Flatten gal took : 2 ms
[2022-05-21 06:58:37] [INFO ] Time to serialize gal into /tmp/CTLFireability2882988290727139364.gal : 1 ms
[2022-05-21 06:58:37] [INFO ] Time to serialize properties into /tmp/CTLFireability1453292391687545775.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/CTLFireability2882988290727139364.gal, -t, CGAL, -ctl, /tmp/CTLFireability1453292391687545775.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/CTLFireability2882988290727139364.gal -t CGAL -ctl /tmp/CTLFireability1453292391687545775.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 18 CTL formulae.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,1.30708e+08,6.2958,139936,2,43273,5,798163,6,0,125,801478,0


Converting to forward existential form...Done !
original formula: AG(EF((CLOSED>=1)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (CLOSED>=1))))] = FALSE
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 0,1,11.1686,151872,1,0,6,825255,14,0,817,801478,5
Formula is TRUE !

***************************************

original formula: AG(EF(((FINWAIT1>=1)&&(xFINACK>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((FINWAIT1>=1)&&(xFINACK>=1)))))] = FALSE
(forward)formula 1,1,15.042,226756,1,0,7,1.22648e+06,15,0,818,955488,8
Formula is TRUE !

***************************************

original formula: AG(EF(((SYNRCVD>=1)&&(xSYNACK>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((SYNRCVD>=1)&&(xSYNACK>=1)))))] = FALSE
(forward)formula 2,1,15.2878,232036,1,0,8,1.24909e+06,16,0,819,980347,11
Formula is TRUE !

***************************************

original formula: AG(EF(((FINWAIT1>=1)&&(xFIN>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((FINWAIT1>=1)&&(xFIN>=1)))))] = FALSE
(forward)formula 3,1,16.4226,261340,1,0,9,1.42214e+06,17,0,820,1.14082e+06,14
Formula is TRUE !

***************************************

original formula: AG(EF(((LISTEN>=1)&&(xSYN>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((LISTEN>=1)&&(xSYN>=1)))))] = FALSE
(forward)formula 4,1,16.8161,270052,1,0,10,1.47036e+06,18,0,821,1.18642e+06,17
Formula is TRUE !

***************************************

original formula: AG(EF((((SYNSENT>=1)&&(xSYN>=1))&&(xSYNACK>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((SYNSENT>=1)&&(xSYN>=1))&&(xSYNACK>=1)))))] = FALSE
(forward)formula 5,1,16.9251,273944,1,0,11,1.47879e+06,19,0,823,1.1946e+06,20
Formula is TRUE !

***************************************

original formula: AG(EF((xCLOSED>=1)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (xCLOSED>=1))))] = FALSE
(forward)formula 6,1,16.9793,274208,1,0,12,1.48168e+06,20,0,823,1.19768e+06,23
Formula is TRUE !

***************************************

original formula: AG(EF(((FINACK>=1)&&(xFINWAIT1>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((FINACK>=1)&&(xFINWAIT1>=1)))))] = FALSE
(forward)formula 7,1,19.2355,309848,1,0,13,1.70576e+06,21,0,824,1.39225e+06,26
Formula is TRUE !

***************************************

original formula: AG(EF(((SYNACK>=1)&&(xSYNRCVD>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((SYNACK>=1)&&(xSYNRCVD>=1)))))] = FALSE
(forward)formula 8,1,19.2454,310112,1,0,14,1.70623e+06,22,0,825,1.39271e+06,29
Formula is TRUE !

***************************************

original formula: AG(EF(((FIN>=1)&&(xFINWAIT1>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((FIN>=1)&&(xFINWAIT1>=1)))))] = FALSE
(forward)formula 9,1,19.5833,320076,1,0,15,1.76223e+06,23,0,826,1.43626e+06,32
Formula is TRUE !

***************************************

original formula: AG(EF(((SYN>=1)&&(xLISTEN>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((SYN>=1)&&(xLISTEN>=1)))))] = FALSE
(forward)formula 10,1,19.6379,321132,1,0,16,1.76787e+06,24,0,827,1.44118e+06,35
Formula is TRUE !

***************************************

original formula: AG(EF((((SYN>=1)&&(SYNACK>=1))&&(xSYNSENT>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((SYN>=1)&&(SYNACK>=1))&&(xSYNSENT>=1)))))] = FALSE
(forward)formula 11,1,19.6517,321660,1,0,17,1.76821e+06,25,0,829,1.44154e+06,38
Formula is TRUE !

***************************************

original formula: AG(EF(((ESTAB>=1)&&(xFIN>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((ESTAB>=1)&&(xFIN>=1)))))] = FALSE
(forward)formula 12,1,20.6521,344628,1,0,18,1.91232e+06,26,0,830,1.58143e+06,41
Formula is TRUE !

***************************************

original formula: AG(EF(((CLOSING>=1)&&(xFINACK>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((CLOSING>=1)&&(xFINACK>=1)))))] = FALSE
(forward)formula 13,1,21.4561,362052,1,0,19,2.00157e+06,27,0,831,1.6688e+06,44
Formula is TRUE !

***************************************

original formula: AG(EF(((FINWAIT2>=1)&&(xFIN>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((FINWAIT2>=1)&&(xFIN>=1)))))] = FALSE
(forward)formula 14,1,23.0729,392276,1,0,20,2.15076e+06,28,0,832,1.79756e+06,47
Formula is TRUE !

***************************************

original formula: AG(EF(((FIN>=1)&&(xESTAB>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((FIN>=1)&&(xESTAB>=1)))))] = FALSE
(forward)formula 15,1,24.0362,418608,1,0,21,2.30031e+06,29,0,833,1.94257e+06,50
Formula is TRUE !

***************************************

original formula: AG(EF(((FINACK>=1)&&(xCLOSING>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((FINACK>=1)&&(xCLOSING>=1)))))] = FALSE
(forward)formula 16,1,24.784,436032,1,0,22,2.40794e+06,30,0,834,2.03621e+06,53
Formula is TRUE !

***************************************

original formula: AG(EF(((FIN>=1)&&(xFINWAIT2>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((FIN>=1)&&(xFINWAIT2>=1)))))] = FALSE
(forward)formula 17,1,26.0771,459724,1,0,23,2.51332e+06,31,0,835,2.12814e+06,56
Formula is TRUE !

***************************************

Able to resolve query Liveness after proving 18 properties.
FORMULA Liveness TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

BK_STOP 1653116344713

--------------------
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-10"
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-10, 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-165303554000284"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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