fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r283-smll-165307355800039
Last Updated
Jun 22, 2022

About the Execution of ITS-Tools for UtilityControlRoom-COL-Z2T4N06

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
516.716 12733.00 21508.00 258.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/mcc2022-input.r283-smll-165307355800039.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 UtilityControlRoom-COL-Z2T4N06, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r283-smll-165307355800039
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 284K
-rw-r--r-- 1 mcc users 9.7K Apr 29 17:53 CTLCardinality.txt
-rw-r--r-- 1 mcc users 98K Apr 29 17:53 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.4K Apr 29 17:51 CTLFireability.txt
-rw-r--r-- 1 mcc users 49K Apr 29 17:51 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.5K May 9 09:20 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K May 9 09:20 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K May 9 09:20 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 09:20 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.9K May 9 09:20 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May 9 09:20 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 10 09:34 equiv_pt
-rw-r--r-- 1 mcc users 8 May 10 09:34 instance
-rw-r--r-- 1 mcc users 5 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 29K 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 1653142364764

Running Version 202205111006
[2022-05-21 14:12:47] [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 14:12:47] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-21 14:12:47] [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.
[2022-05-21 14:12:48] [WARNING] Using fallBack plugin, rng conformance not checked
[2022-05-21 14:12:48] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 1212 ms
[2022-05-21 14:12:48] [INFO ] Imported 13 HL places and 12 HL transitions for a total of 106 PT places and 162.0 transition bindings in 41 ms.
[2022-05-21 14:12:48] [INFO ] Built PT skeleton of HLPN with 13 places and 12 transitions 37 arcs in 11 ms.
[2022-05-21 14:12:48] [INFO ] Skeletonized 0 HLPN properties in 0 ms.
[2022-05-21 14:12:48] [INFO ] Unfolded HLPN to a Petri net with 106 places and 162 transitions 510 arcs in 29 ms.
[2022-05-21 14:12:48] [INFO ] Unfolded 0 HLPN properties in 0 ms.
[2022-05-21 14:12:48] [INFO ] Unfolded HLPN to a Petri net with 106 places and 162 transitions 510 arcs in 14 ms.
[2022-05-21 14:12:48] [INFO ] Unfolded 12 HLPN properties in 0 ms.
[2022-05-21 14:12:48] [INFO ] Reduced 6 identical enabling conditions.
[2022-05-21 14:12:48] [INFO ] Built PT skeleton of HLPN with 13 places and 12 transitions 37 arcs in 0 ms.
[2022-05-21 14:12:48] [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(6), Z(2), Z(2)] of place MovetoZ breaks symmetries in sort Z
[2022-05-21 14:12:49] [INFO ] Unfolded HLPN to a Petri net with 106 places and 162 transitions 510 arcs in 10 ms.
[2022-05-21 14:12:49] [INFO ] Unfolded 12 HLPN properties in 0 ms.
[2022-05-21 14:12:49] [INFO ] Reduced 6 identical enabling conditions.
Ensure Unique test removed 24 transitions
Reduce redundant transitions removed 24 transitions.
Built sparse matrix representations for Structural reductions in 2 ms.15212KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 106/106 places, 138/138 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 12 transitions
Redundant transition composition rules discarded 12 transitions
Iterating global reduction 0 with 12 rules applied. Total rules applied 12 place count 106 transition count 126
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 12 rules in 43 ms. Remains 106 /106 variables (removed 0) and now considering 126/138 (removed 12) transitions.
Finished structural reductions, in 1 iterations. Remains : 106/106 places, 126/138 transitions.
Random walk for 1250000 steps, including 0 resets, run took 1922 ms (no deadlock found). (steps per millisecond=650 )
Random directed walk for 1250000 steps, including 0 resets, run took 1669 ms (no deadlock found). (steps per millisecond=748 )
// Phase 1: matrix 126 rows 106 cols
[2022-05-21 14:12:52] [INFO ] Computed 15 place invariants in 23 ms
[2022-05-21 14:12:53] [INFO ] [Real]Absence check using 15 positive place invariants in 16 ms returned unsat
[2022-05-21 14:12:53] [INFO ] Unfolded HLPN to a Petri net with 106 places and 162 transitions 510 arcs in 9 ms.
[2022-05-21 14:12:53] [INFO ] Unfolded 12 HLPN properties in 0 ms.
Initial state reduction rules removed 1 formulas.
[2022-05-21 14:12:53] [INFO ] Reduced 6 identical enabling conditions.
Ensure Unique test removed 24 transitions
Reduce redundant transitions removed 24 transitions.
Finished random walk after 21 steps, including 0 resets, run visited all 11 properties in 25 ms. (steps per millisecond=0 )
Able to resolve query QuasiLiveness after proving 12 properties.
Ensure Unique test removed 24 transitions
Reduce redundant transitions removed 24 transitions.
[2022-05-21 14:12:53] [INFO ] Flatten gal took : 91 ms
[2022-05-21 14:12:53] [INFO ] Flatten gal took : 43 ms
[2022-05-21 14:12:53] [INFO ] Time to serialize gal into /tmp/CTLFireability14365940537993147361.gal : 18 ms
[2022-05-21 14:12:53] [INFO ] Time to serialize properties into /tmp/CTLFireability15494151983382728104.ctl : 6 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/CTLFireability14365940537993147361.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability15494151983382728104.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...276
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,2.7622e+07,0.45734,12360,2,3421,5,42657,6,0,565,29148,0


Converting to forward existential form...Done !
original formula: AG(EF(((((Clients_0>=1)||(Clients_1>=1))||((Clients_2>=1)||(Clients_3>=1)))||((Clients_4>=1)||(Clients_5>=1)))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((Clients_0>=1)||(Clients_1>=1))||((Clients_2>=1)||(Clients_3>=1)))||((Clients_...190
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 0,1,1.33653,35704,1,0,6,192178,14,0,2681,46685,5
Formula is TRUE !

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

original formula: AG(EF((((((((IdleTechs_0>=1)&&(OpenRequests_2>=1))&&(Idles_0>=1))||(((IdleTechs_1>=1)&&(OpenRequests_9>=1))&&(Idles_0>=1)))||((((IdleTech...732
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((((IdleTechs_0>=1)&&(OpenRequests_2>=1))&&(Idles_0>=1))||(((IdleTechs_1>=1)&&...792
(forward)formula 1,1,1.67625,41984,1,0,7,224479,15,0,2709,68758,8
Formula is TRUE !

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

original formula: AG(EF(((((((((IdleTechs_0>=1)&&(OpenRequests_8>=1))&&(Idles_0>=1))||(((IdleTechs_0>=1)&&(OpenRequests_6>=1))&&(Idles_0>=1)))||((((IdleTec...1442
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((((IdleTechs_0>=1)&&(OpenRequests_8>=1))&&(Idles_0>=1))||(((IdleTechs_0>=1)&...1502
(forward)formula 2,1,1.77811,42740,1,0,8,227974,16,0,2735,71854,11
Formula is TRUE !

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

original formula: AG(EF(((((((MovetoZ_0>=1)||(MovetoZ_1>=1))||((MovetoZ_2>=1)||(MovetoZ_3>=1)))||(((MovetoZ_4>=1)||(MovetoZ_5>=1))||((MovetoZ_7>=1)||(Movet...468
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((MovetoZ_0>=1)||(MovetoZ_1>=1))||((MovetoZ_2>=1)||(MovetoZ_3>=1)))||(((Movet...528
(forward)formula 3,1,2.14145,46436,1,0,9,248520,17,0,2758,84698,14
Formula is TRUE !

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

original formula: AG(EF((((((Assigned_0>=1)||(Assigned_1>=1))||((Assigned_2>=1)||(Assigned_3>=1)))||(((Assigned_4>=1)||(Assigned_5>=1))||((Assigned_6>=1)||...252
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((Assigned_0>=1)||(Assigned_1>=1))||((Assigned_2>=1)||(Assigned_3>=1)))||(((As...312
(forward)formula 4,1,2.32345,49148,1,0,10,267707,18,0,2769,96525,17
Formula is TRUE !

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

original formula: AG(EF(((((((NumClientsReq_0>=1)&&(DoSecuring_11>=1))||((NumClientsReq_0>=1)&&(DoSecuring_10>=1)))||(((NumClientsReq_0>=1)&&(DoSecuring_9>...564
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((NumClientsReq_0>=1)&&(DoSecuring_11>=1))||((NumClientsReq_0>=1)&&(DoSecurin...624
(forward)formula 5,1,2.3858,49916,1,0,11,271993,19,0,2789,99361,20
Formula is TRUE !

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

original formula: AG(EF(((((ControlRoomDispatch_1>=1)||(ControlRoomDispatch_0>=1))||((ControlRoomDispatch_3>=1)||(ControlRoomDispatch_2>=1)))||((ControlRoo...202
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((ControlRoomDispatch_1>=1)||(ControlRoomDispatch_0>=1))||((ControlRoomDispatch...262
(forward)formula 6,1,2.59904,53348,1,0,12,296730,20,0,2794,114649,23
Formula is TRUE !

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

original formula: AG(EF(((((((((IdleTechs_0>=1)&&(OpenRequests_8>=1))&&(Idles_0>=1))||(((IdleTechs_0>=1)&&(OpenRequests_6>=1))&&(Idles_0>=1)))||((((IdleTec...1442
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((((IdleTechs_0>=1)&&(OpenRequests_8>=1))&&(Idles_0>=1))||(((IdleTechs_0>=1)&...1502
(forward)formula 7,1,2.62394,53756,1,0,12,296730,20,0,2794,114649,23
Formula is TRUE !

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

original formula: AG(EF(((((Finished_5>=1)||(Finished_4>=1))||((Finished_1>=1)||(Finished_0>=1)))||((Finished_3>=1)||(Finished_2>=1)))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((Finished_5>=1)||(Finished_4>=1))||((Finished_1>=1)||(Finished_0>=1)))||((Fini...196
(forward)formula 8,1,2.7075,55604,1,0,13,312463,21,0,2799,123843,26
Formula is TRUE !

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

original formula: AG(EF(((((ClientsWaiting_1>=1)||(ClientsWaiting_0>=1))||((ClientsWaiting_3>=1)||(ClientsWaiting_2>=1)))||((ClientsWaiting_5>=1)||(Clients...172
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((ClientsWaiting_1>=1)||(ClientsWaiting_0>=1))||((ClientsWaiting_3>=1)||(Client...232
(forward)formula 9,1,2.90178,61412,1,0,14,345448,22,0,2804,144135,29
Formula is TRUE !
Detected timeout of ITS tools.
[2022-05-21 14:12:56] [INFO ] Flatten gal took : 18 ms
[2022-05-21 14:12:56] [INFO ] Applying decomposition
[2022-05-21 14:12:56] [INFO ] Flatten gal took : 21 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/graph9558902503481356056.txt' '-o' '/tmp/graph9558902503481356056.bin' '-w' '/tmp/graph9558902503481356056.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph9558902503481356056.bin' '-l' '-1' '-v' '-w' '/tmp/graph9558902503481356056.weights' '-q' '0' '-e' '0.001'
[2022-05-21 14:12:56] [INFO ] Decomposing Gal with order
[2022-05-21 14:12:56] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-21 14:12:56] [INFO ] Removed a total of 137 redundant transitions.
[2022-05-21 14:12:56] [INFO ] Flatten gal took : 78 ms
[2022-05-21 14:12:57] [INFO ] Fuse similar labels procedure discarded/fused a total of 86 labels/synchronizations in 25 ms.
[2022-05-21 14:12:57] [INFO ] Time to serialize gal into /tmp/CTLFireability17149148662059092783.gal : 10 ms
[2022-05-21 14:12:57] [INFO ] Time to serialize properties into /tmp/CTLFireability1188435710132671228.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/CTLFireability17149148662059092783.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability1188435710132671228.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 2 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,2.7622e+07,0.118815,7112,325,65,4995,264,360,8334,39,1733,0


Converting to forward existential form...Done !
original formula: AG(EF(((((((i6.i1.u17.StartSecuring_8>=1)&&(i6.i1.u33.ClientsTimeout_4>=1))||((i1.i1.u14.StartSecuring_4>=1)&&(i1.i1.u29.ClientsTimeout_2...852
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((i6.i1.u17.StartSecuring_8>=1)&&(i6.i1.u33.ClientsTimeout_4>=1))||((i1.i1.u1...912
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 0,1,0.235795,8808,1,0,7630,1095,1289,13392,165,5165,10780
Formula is TRUE !

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

original formula: AG(EF(((((((i5.i1.u34.StartSecuring_0>=1)&&(i5.i1.u32.ClientsWaiting_0>=1))||((i2.i1.u40.StartSecuring_10>=1)&&(i2.i1.u31.ClientsWaiting_...852
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((i5.i1.u34.StartSecuring_0>=1)&&(i5.i1.u32.ClientsWaiting_0>=1))||((i2.i1.u4...912
(forward)formula 1,1,0.315639,10656,1,0,11846,1105,1382,17820,167,5325,16486
Formula is TRUE !

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

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

BK_STOP 1653142377497

--------------------
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-Z2T4N06"
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 UtilityControlRoom-COL-Z2T4N06, 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 r283-smll-165307355800039"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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