fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r512-tall-167912736700664
Last Updated
May 14, 2023

About the Execution of 2022-gold for UtilityControlRoom-COL-Z4T4N04

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
582.228 20520.00 26314.00 107.70 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/mcc2023-input.r512-tall-167912736700664.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool gold2022
Input is UtilityControlRoom-COL-Z4T4N04, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r512-tall-167912736700664
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 408K
-rw-r--r-- 1 mcc users 6.8K Feb 26 14:33 CTLCardinality.txt
-rw-r--r-- 1 mcc users 59K Feb 26 14:33 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.5K Feb 26 14:31 CTLFireability.txt
-rw-r--r-- 1 mcc users 39K Feb 26 14:31 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.5K Feb 25 17:25 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Feb 25 17:25 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Feb 25 17:25 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 17:25 LTLFireability.xml
-rw-r--r-- 1 mcc users 7.8K Feb 26 14:37 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 61K Feb 26 14:37 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 13K Feb 26 14:36 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 91K Feb 26 14:36 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 17:25 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K Feb 25 17:25 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_pt
-rw-r--r-- 1 mcc users 8 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 29K Mar 5 18:23 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 1679345740444

Running Version 202205111006
[2023-03-20 20:55:41] [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]
[2023-03-20 20:55:41] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-20 20:55:41] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2023-03-20 20:55:42] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-20 20:55:42] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 595 ms
[2023-03-20 20:55:42] [INFO ] Imported 13 HL places and 12 HL transitions for a total of 154 PT places and 300.0 transition bindings in 17 ms.
[2023-03-20 20:55:42] [INFO ] Built PT skeleton of HLPN with 13 places and 12 transitions 37 arcs in 9 ms.
[2023-03-20 20:55:42] [INFO ] Skeletonized 0 HLPN properties in 0 ms.
[2023-03-20 20:55:42] [INFO ] Unfolded HLPN to a Petri net with 154 places and 300 transitions 964 arcs in 21 ms.
[2023-03-20 20:55:42] [INFO ] Unfolded 0 HLPN properties in 0 ms.
[2023-03-20 20:55:42] [INFO ] Unfolded HLPN to a Petri net with 154 places and 300 transitions 964 arcs in 5 ms.
[2023-03-20 20:55:42] [INFO ] Unfolded 12 HLPN properties in 0 ms.
[2023-03-20 20:55:42] [INFO ] Reduced 12 identical enabling conditions.
[2023-03-20 20:55:42] [INFO ] Built PT skeleton of HLPN with 13 places and 12 transitions 37 arcs in 0 ms.
[2023-03-20 20:55:42] [INFO ] Skeletonized 12 HLPN properties in 0 ms.
Computed a total of 0 stabilizing places and 0 stable transitions
Prefix of Interest using HLPN skeleton for deadlock discarded 0 places and 0 transitions.
Transition timeout forces synchronizations/join behavior on parameter c of sort Cli
Domain [Cli(4), Z(4), Z(4)] of place MovetoZ breaks symmetries in sort Z
[2023-03-20 20:55:42] [INFO ] Unfolded HLPN to a Petri net with 154 places and 300 transitions 964 arcs in 6 ms.
[2023-03-20 20:55:42] [INFO ] Unfolded 12 HLPN properties in 0 ms.
[2023-03-20 20:55:42] [INFO ] Reduced 12 identical enabling conditions.
Ensure Unique test removed 64 transitions
Reduce redundant transitions removed 64 transitions.
Built sparse matrix representations for Structural reductions in 1 ms.17631KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 154/154 places, 236/236 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 16 transitions
Redundant transition composition rules discarded 16 transitions
Iterating global reduction 0 with 16 rules applied. Total rules applied 16 place count 154 transition count 220
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 16 rules in 25 ms. Remains 154 /154 variables (removed 0) and now considering 220/236 (removed 16) transitions.
Finished structural reductions, in 1 iterations. Remains : 154/154 places, 220/236 transitions.
Random walk for 1250000 steps, including 0 resets, run took 1665 ms (no deadlock found). (steps per millisecond=750 )
Random directed walk for 1250001 steps, including 0 resets, run took 1552 ms (no deadlock found). (steps per millisecond=805 )
// Phase 1: matrix 220 rows 154 cols
[2023-03-20 20:55:45] [INFO ] Computed 11 place invariants in 13 ms
[2023-03-20 20:55:45] [INFO ] [Real]Absence check using 11 positive place invariants in 8 ms returned unsat
[2023-03-20 20:55:45] [INFO ] Unfolded HLPN to a Petri net with 154 places and 300 transitions 964 arcs in 5 ms.
[2023-03-20 20:55:45] [INFO ] Unfolded 12 HLPN properties in 0 ms.
Initial state reduction rules removed 1 formulas.
[2023-03-20 20:55:45] [INFO ] Reduced 12 identical enabling conditions.
Ensure Unique test removed 64 transitions
Reduce redundant transitions removed 64 transitions.
Finished random walk after 45 steps, including 0 resets, run visited all 11 properties in 24 ms. (steps per millisecond=1 )
Able to resolve query QuasiLiveness after proving 12 properties.
Ensure Unique test removed 64 transitions
Reduce redundant transitions removed 64 transitions.
[2023-03-20 20:55:46] [INFO ] Flatten gal took : 60 ms
[2023-03-20 20:55:46] [INFO ] Flatten gal took : 24 ms
[2023-03-20 20:55:46] [INFO ] Time to serialize gal into /tmp/CTLFireability15481402784893263873.gal : 12 ms
[2023-03-20 20:55:46] [INFO ] Time to serialize properties into /tmp/CTLFireability2010211677544940136.ctl : 12 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/CTLFireability15481402784893263873.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability2010211677544940136.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 12 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,6.55852e+07,0.660678,26472,2,3269,5,115746,6,0,855,75227,0


Converting to forward existential form...Done !
original formula: AG(EF((((Clients_0>=1)||(Clients_1>=1))||((Clients_2>=1)||(Clients_3>=1)))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((Clients_0>=1)||(Clients_1>=1))||((Clients_2>=1)||(Clients_3>=1))))))] = FALSE
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 0,1,1.75385,48684,1,0,6,237087,14,0,4095,75227,5
Formula is TRUE !
Detected timeout of ITS tools.
[2023-03-20 20:55:49] [INFO ] Flatten gal took : 20 ms
[2023-03-20 20:55:49] [INFO ] Applying decomposition
[2023-03-20 20:55:49] [INFO ] Flatten gal took : 17 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/graph3603479422414756901.txt' '-o' '/tmp/graph3603479422414756901.bin' '-w' '/tmp/graph3603479422414756901.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph3603479422414756901.bin' '-l' '-1' '-v' '-w' '/tmp/graph3603479422414756901.weights' '-q' '0' '-e' '0.001'
[2023-03-20 20:55:49] [INFO ] Decomposing Gal with order
[2023-03-20 20:55:49] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-20 20:55:49] [INFO ] Removed a total of 209 redundant transitions.
[2023-03-20 20:55:49] [INFO ] Flatten gal took : 86 ms
[2023-03-20 20:55:49] [INFO ] Fuse similar labels procedure discarded/fused a total of 105 labels/synchronizations in 17 ms.
[2023-03-20 20:55:49] [INFO ] Time to serialize gal into /tmp/CTLFireability16818667175091896284.gal : 9 ms
[2023-03-20 20:55:49] [INFO ] Time to serialize properties into /tmp/CTLFireability14541788533089918470.ctl : 4 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/CTLFireability16818667175091896284.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability14541788533089918470.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...255
No direction supplied, using forward translation only.
Parsed 11 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,6.55852e+07,2.71461,89044,3384,1407,119050,6835,470,313110,116,443735,0


Converting to forward existential form...Done !
Detected timeout of ITS tools.
[2023-03-20 20:55:52] [INFO ] Flatten gal took : 18 ms
[2023-03-20 20:55:52] [INFO ] Flatten gal took : 18 ms
[2023-03-20 20:55:52] [INFO ] Time to serialize gal into /tmp/CTLFireability8396354242332803093.gal : 4 ms
[2023-03-20 20:55:52] [INFO ] Time to serialize properties into /tmp/CTLFireability14743841881394587448.ctl : 2 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/CTLFireability8396354242332803093.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability14743841881394587448.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 11 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,6.55852e+07,0.721059,26636,2,3269,5,115746,6,0,855,75227,0


Converting to forward existential form...Done !
original formula: AG(EF((((((((IdleTechs_1>=1)&&(OpenRequests_9>=1))&&(Idles_0>=1))||(((IdleTechs_0>=1)&&(OpenRequests_12>=1))&&(Idles_0>=1)))||((((IdleTec...972
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((((IdleTechs_1>=1)&&(OpenRequests_9>=1))&&(Idles_0>=1))||(((IdleTechs_0>=1)&&...1032
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 0,1,4.61577,115896,1,0,6,549140,14,0,4131,287447,5
Formula is TRUE !

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

original formula: AG(EF((((((((((IdleTechs_0>=1)&&(OpenRequests_5>=1))&&(Idles_0>=1))||(((IdleTechs_2>=1)&&(OpenRequests_8>=1))&&(Idles_0>=1)))||((((IdleTe...3822
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((((((IdleTechs_0>=1)&&(OpenRequests_5>=1))&&(Idles_0>=1))||(((IdleTechs_2>=1)...3882
(forward)formula 1,1,4.75382,118404,1,0,7,556203,15,0,4213,294883,8
Formula is TRUE !

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

original formula: AG(EF((((((((MovetoZ_24>=1)||(MovetoZ_26>=1))||((MovetoZ_28>=1)||(MovetoZ_30>=1)))||(((MovetoZ_32>=1)||(MovetoZ_34>=1))||((MovetoZ_36>=1)...1228
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((((MovetoZ_24>=1)||(MovetoZ_26>=1))||((MovetoZ_28>=1)||(MovetoZ_30>=1)))||(((...1288
(forward)formula 2,1,5.11871,128908,1,0,8,601112,16,0,4276,322875,11
Formula is TRUE !

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

original formula: AG(EF((((((Assigned_8>=1)||(Assigned_9>=1))||((Assigned_10>=1)||(Assigned_11>=1)))||(((Assigned_12>=1)||(Assigned_13>=1))||((Assigned_15>...332
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((Assigned_8>=1)||(Assigned_9>=1))||((Assigned_10>=1)||(Assigned_11>=1)))||(((...392
(forward)formula 3,1,5.45165,139204,1,0,9,643658,17,0,4291,346774,14
Formula is TRUE !

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

original formula: AG(EF(((((((NumClientsReq_0>=1)&&(DoSecuring_9>=1))||((NumClientsReq_0>=1)&&(DoSecuring_10>=1)))||(((NumClientsReq_0>=1)&&(DoSecuring_11>...748
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((NumClientsReq_0>=1)&&(DoSecuring_9>=1))||((NumClientsReq_0>=1)&&(DoSecuring...808
(forward)formula 4,1,5.54107,141580,1,0,10,651324,18,0,4316,351828,17
Formula is TRUE !

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

original formula: AG(EF((((ControlRoomDispatch_2>=1)||(ControlRoomDispatch_3>=1))||((ControlRoomDispatch_0>=1)||(ControlRoomDispatch_1>=1)))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((ControlRoomDispatch_2>=1)||(ControlRoomDispatch_3>=1))||((ControlRoomDispatch_...202
(forward)formula 5,1,5.78202,148972,1,0,11,678239,19,0,4319,369539,20
Formula is TRUE !

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

original formula: AG(EF((((((((((IdleTechs_0>=1)&&(OpenRequests_5>=1))&&(Idles_0>=1))||(((IdleTechs_2>=1)&&(OpenRequests_8>=1))&&(Idles_0>=1)))||((((IdleTe...3822
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((((((IdleTechs_0>=1)&&(OpenRequests_5>=1))&&(Idles_0>=1))||(((IdleTechs_2>=1)...3882
(forward)formula 6,1,5.82419,149556,1,0,11,678239,19,0,4319,369539,20
Formula is TRUE !

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

original formula: AG(EF((((Finished_2>=1)||(Finished_3>=1))||((Finished_0>=1)||(Finished_1>=1)))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((Finished_2>=1)||(Finished_3>=1))||((Finished_0>=1)||(Finished_1>=1))))))] = FA...158
(forward)formula 7,1,5.93844,151668,1,0,12,687795,20,0,4322,377561,23
Formula is TRUE !

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

original formula: AG(EF((((ClientsWaiting_0>=1)||(ClientsWaiting_1>=1))||((ClientsWaiting_2>=1)||(ClientsWaiting_3>=1)))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((ClientsWaiting_0>=1)||(ClientsWaiting_1>=1))||((ClientsWaiting_2>=1)||(Clients...182
(forward)formula 8,1,6.65342,170344,1,0,13,768087,21,0,4325,420226,26
Formula is TRUE !

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

original formula: AG(EF(((((((StartSecuring_5>=1)&&(ClientsTimeout_1>=1))||((StartSecuring_12>=1)&&(ClientsTimeout_3>=1)))||(((StartSecuring_15>=1)&&(Clien...812
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((StartSecuring_5>=1)&&(ClientsTimeout_1>=1))||((StartSecuring_12>=1)&&(Clien...872
(forward)formula 9,1,7.33399,179848,1,0,14,816018,22,0,4355,445843,29
Formula is TRUE !

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

original formula: AG(EF(((((((StartSecuring_12>=1)&&(ClientsWaiting_3>=1))||((StartSecuring_2>=1)&&(ClientsWaiting_0>=1)))||(((StartSecuring_7>=1)&&(Client...812
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((StartSecuring_12>=1)&&(ClientsWaiting_3>=1))||((StartSecuring_2>=1)&&(Clien...872
(forward)formula 10,1,8.16126,192520,1,0,15,913005,23,0,4385,500655,32
Formula is TRUE !

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

Able to resolve query Liveness after proving 12 properties.
FORMULA Liveness TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Total runtime 19259 ms.

BK_STOP 1679345760964

--------------------
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
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ 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="UtilityControlRoom-COL-Z4T4N04"
export BK_EXAMINATION="Liveness"
export BK_TOOL="gold2022"
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-5348"
echo " Executing tool gold2022"
echo " Input is UtilityControlRoom-COL-Z4T4N04, 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 r512-tall-167912736700664"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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