fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r162-oct2-158972927100211
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for SafeBus-COL-03

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15718.590 21536.00 37875.00 111.30 F normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fko/mcc2020-input.r162-oct2-158972927100211.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2020-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 SafeBus-COL-03, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r162-oct2-158972927100211
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 216K
-rw-r--r-- 1 mcc users 3.2K Apr 12 12:07 CTLCardinality.txt
-rw-r--r-- 1 mcc users 17K Apr 12 12:06 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Apr 11 13:15 CTLFireability.txt
-rw-r--r-- 1 mcc users 14K Apr 11 13:15 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 24 05:38 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.4K Apr 14 12:50 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 28 14:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Apr 14 12:50 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 28 14:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.0K Apr 10 17:23 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 15K Apr 10 17:23 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.7K Apr 9 23:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 25K Apr 9 23:49 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 10 22:28 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Apr 10 22:28 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 24 05:38 equiv_pt
-rw-r--r-- 1 mcc users 3 Mar 24 05:38 instance
-rw-r--r-- 1 mcc users 5 Mar 24 05:38 iscolored
-rw-r--r-- 1 mcc users 42K Mar 24 05:38 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 ReachabilityDeadlock

=== Now, execution of the tool begins

BK_START 1589992252638

[2020-05-20 16:30:55] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2020-05-20 16:30:55] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-20 16:30:55] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[2020-05-20 16:30:55] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 492 ms
[2020-05-20 16:30:55] [INFO ] sort/places :
Dom->AMC,wait_ack,
Dot->cable_free,ACK,T_out,R_tout,S_tout,FMCb,
It->Cpt2,Cpt1,msgl,cable_used,FMC,wait_cable,listen,RMC,PMC,MSG,wait_msg,loop_em,

[2020-05-20 16:30:55] [INFO ] Detected 1 constant HL places corresponding to 3 PT places.
[2020-05-20 16:30:55] [INFO ] Imported 20 HL places and 14 HL transitions for a total of 60 PT places and 214.0 transition bindings in 16 ms.
[2020-05-20 16:30:55] [INFO ] Computed order based on color domains.
[2020-05-20 16:30:55] [INFO ] Unfolded HLPN to a Petri net with 60 places and 97 transitions in 70 ms.
[2020-05-20 16:30:55] [INFO ] Unfolded HLPN properties in 0 ms.
Deduced a syphon composed of 3 places in 1 ms
Reduce places removed 6 places and 6 transitions.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 77 ms.
Working with output stream class java.io.PrintStream
Built sparse matrix representations for Structural reductions in 3 ms.11401KB memory used
Starting structural reductions, iteration 0 : 54/54 places, 91/91 transitions.
Applied a total of 0 rules in 38 ms. Remains 54 /54 variables (removed 0) and now considering 91/91 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 54/54 places, 91/91 transitions.
Starting structural reductions, iteration 0 : 54/54 places, 91/91 transitions.
Applied a total of 0 rules in 4 ms. Remains 54 /54 variables (removed 0) and now considering 91/91 (removed 0) transitions.
[2020-05-20 16:30:55] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
// Phase 1: matrix 68 rows 54 cols
[2020-05-20 16:30:55] [INFO ] Computed 17 place invariants in 5 ms
[2020-05-20 16:30:56] [INFO ] Implicit Places using invariants in 198 ms returned [28, 29, 30]
Discarding 3 places :
Implicit Place search using SMT only with invariants took 219 ms to find 3 implicit places.
[2020-05-20 16:30:56] [INFO ] Redundant transitions in 1 ms returned []
[2020-05-20 16:30:56] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
// Phase 1: matrix 68 rows 51 cols
[2020-05-20 16:30:56] [INFO ] Computed 14 place invariants in 2 ms
[2020-05-20 16:30:56] [INFO ] Dead Transitions using invariants and state equation in 204 ms returned [7, 10, 13, 17, 20, 23, 27, 30, 33]
Found 9 dead transitions using SMT.
Drop transitions removed 9 transitions
Dead transitions reduction (with SMT) removed 9 transitions :[33, 30, 27, 23, 20, 17, 13, 10, 7]
Starting structural reductions, iteration 1 : 51/54 places, 82/91 transitions.
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 3 Pre rules applied. Total rules applied 0 place count 51 transition count 79
Deduced a syphon composed of 3 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 0 with 6 rules applied. Total rules applied 6 place count 48 transition count 79
Performed 3 Post agglomeration using F-continuation condition.Transition count delta: -3
Deduced a syphon composed of 3 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 0 with 6 rules applied. Total rules applied 12 place count 45 transition count 82
Applied a total of 12 rules in 7 ms. Remains 45 /51 variables (removed 6) and now considering 82/82 (removed 0) transitions.
[2020-05-20 16:30:56] [INFO ] Flow matrix only has 68 transitions (discarded 14 similar events)
// Phase 1: matrix 68 rows 45 cols
[2020-05-20 16:30:56] [INFO ] Computed 14 place invariants in 2 ms
[2020-05-20 16:30:56] [INFO ] Implicit Places using invariants in 144 ms returned []
[2020-05-20 16:30:56] [INFO ] Flow matrix only has 68 transitions (discarded 14 similar events)
// Phase 1: matrix 68 rows 45 cols
[2020-05-20 16:30:56] [INFO ] Computed 14 place invariants in 2 ms
[2020-05-20 16:30:56] [INFO ] State equation strengthened by 13 read => feed constraints.
[2020-05-20 16:30:56] [INFO ] Implicit Places using invariants and state equation in 303 ms returned []
Implicit Place search using SMT with State Equation took 449 ms to find 0 implicit places.
Finished structural reductions, in 2 iterations. Remains : 45/54 places, 82/91 transitions.
Random walk for 1250000 steps, including 0 resets, run took 1087 ms (no deadlock found). (steps per millisecond=1149 )
Random directed walk for 1250001 steps, including 0 resets, run took 859 ms (no deadlock found). (steps per millisecond=1455 )
[2020-05-20 16:30:58] [INFO ] Flow matrix only has 68 transitions (discarded 14 similar events)
// Phase 1: matrix 68 rows 45 cols
[2020-05-20 16:30:58] [INFO ] Computed 14 place invariants in 3 ms
[2020-05-20 16:30:58] [INFO ] [Real]Absence check using 5 positive place invariants in 2 ms returned sat
[2020-05-20 16:30:58] [INFO ] [Real]Absence check using 5 positive and 9 generalized place invariants in 3 ms returned sat
[2020-05-20 16:30:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-20 16:30:59] [INFO ] [Real]Absence check using state equation in 365 ms returned sat
[2020-05-20 16:30:59] [INFO ] Solution in real domain found non-integer solution.
[2020-05-20 16:30:59] [INFO ] [Nat]Absence check using 5 positive place invariants in 3 ms returned sat
[2020-05-20 16:30:59] [INFO ] [Nat]Absence check using 5 positive and 9 generalized place invariants in 3 ms returned sat
[2020-05-20 16:30:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-20 16:30:59] [INFO ] [Nat]Absence check using state equation in 33 ms returned sat
[2020-05-20 16:30:59] [INFO ] State equation strengthened by 13 read => feed constraints.
[2020-05-20 16:30:59] [INFO ] [Nat]Added 13 Read/Feed constraints in 3 ms returned sat
[2020-05-20 16:30:59] [INFO ] Computed and/alt/rep : 79/693/65 causal constraints in 7 ms.
[2020-05-20 16:30:59] [INFO ] Added : 39 causal constraints over 8 iterations in 206 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 6 ms.
Parikh directed walk for 13900 steps, including 891 resets, run took 77 ms. (steps per millisecond=180 )
Random directed walk for 500000 steps, including 0 resets, run took 374 ms (no deadlock found). (steps per millisecond=1336 )
Random walk for 500000 steps, including 0 resets, run took 344 ms (no deadlock found). (steps per millisecond=1453 )
Random directed walk for 500002 steps, including 0 resets, run took 296 ms (no deadlock found). (steps per millisecond=1689 )
Random walk for 500000 steps, including 0 resets, run took 365 ms (no deadlock found). (steps per millisecond=1369 )
[2020-05-20 16:31:01] [INFO ] Flatten gal took : 177 ms
Using solver Z3 to compute partial order matrices.
[2020-05-20 16:31:01] [INFO ] Applying decomposition
Built C files in :
/home/mcc/execution
[2020-05-20 16:31:01] [INFO ] Flatten gal took : 48 ms
[2020-05-20 16:31:01] [INFO ] Input system was already deterministic with 91 transitions.
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
Normalized transition count is 68 out of 91 initially.
// Phase 1: matrix 68 rows 54 cols
[2020-05-20 16:31:01] [INFO ] Computed 17 place invariants in 6 ms
inv : AMC_3 + AMC_4 + AMC_5 + wait_ack_3 + wait_ack_5 + listen_1 + RMC_1 + PMC_1 + wait_msg_1 + loop_em_1 = 1
inv : cable_used_1 - FMC_1 - wait_ack_3 - wait_ack_5 - PMC_1 = 0
inv : R_tout_0 + S_tout_0 = 1
inv : AMC_6 + AMC_7 + AMC_8 + wait_ack_6 + wait_ack_7 + listen_2 + RMC_2 + PMC_2 + wait_msg_2 + loop_em_2 = 1
inv : cable_used_0 + FMC_1 + FMC_2 + wait_ack_3 + wait_ack_5 + wait_ack_6 + wait_ack_7 - ACK_0 - PMC_0 - MSG_0 - MSG_1 - MSG_2 - T_out_0 + FMCb_0 = 1
inv : AMC_0 + AMC_1 + AMC_2 - wait_ack_3 - wait_ack_5 - wait_ack_6 - wait_ack_7 + listen_0 + RMC_0 + ACK_0 + PMC_0 + MSG_0 + MSG_1 + MSG_2 + T_out_0 + wait_msg_0 + loop_em_0 = 1
inv : cable_free_0 + ACK_0 + PMC_0 + PMC_1 + PMC_2 + MSG_0 + MSG_1 + MSG_2 + T_out_0 - FMCb_0 = 0
inv : wait_ack_6 + wait_ack_7 + wait_cable_2 + listen_2 + wait_msg_2 + loop_em_2 = 1
inv : Cpt2_0 + Cpt1_1 + Cpt1_2 - AMC_0 + AMC_2 - AMC_3 + AMC_5 - AMC_6 + AMC_8 = 1
inv : Cpt2_1 - Cpt1_1 + AMC_0 - AMC_1 + 2*AMC_3 + AMC_5 + AMC_6 - AMC_7 + wait_ack_3 + wait_ack_5 + listen_1 + RMC_1 + PMC_1 + wait_msg_1 + loop_em_1 = 1
inv : wait_ack_3 + wait_ack_5 + wait_cable_1 + listen_1 + wait_msg_1 + loop_em_1 = 1
inv : Cpt1_0 + Cpt1_1 + Cpt1_2 = 1
inv : Cpt2_2 - Cpt1_2 + AMC_1 - AMC_2 - AMC_3 - 2*AMC_5 + AMC_7 - AMC_8 - wait_ack_3 - wait_ack_5 - listen_1 - RMC_1 - PMC_1 - wait_msg_1 - loop_em_1 = -1
inv : wait_ack_1 + wait_ack_2 + wait_ack_3 + wait_ack_5 + wait_ack_6 + wait_ack_7 - ACK_0 - MSG_0 - MSG_1 - MSG_2 - T_out_0 = 0
inv : -wait_ack_3 - wait_ack_5 - wait_ack_6 - wait_ack_7 + wait_cable_0 + listen_0 + ACK_0 + MSG_0 + MSG_1 + MSG_2 + T_out_0 + wait_msg_0 + loop_em_0 = 1
inv : FMC_0 + FMC_1 + FMC_2 + FMCb_0 = 1
inv : cable_used_2 - FMC_2 - wait_ack_6 - wait_ack_7 - PMC_2 = 0
Total of 17 invariants.
[2020-05-20 16:31:01] [INFO ] Computed 17 place invariants in 7 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/convert-linux64, -i, /tmp/graph16597054675171673093.txt, -o, /tmp/graph16597054675171673093.bin, -w, /tmp/graph16597054675171673093.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/louvain-linux64, /tmp/graph16597054675171673093.bin, -l, -1, -v, -w, /tmp/graph16597054675171673093.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-20 16:31:01] [INFO ] Decomposing Gal with order
[2020-05-20 16:31:01] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-20 16:31:01] [INFO ] Removed a total of 74 redundant transitions.
[2020-05-20 16:31:01] [INFO ] Proved 54 variables to be positive in 207 ms
[2020-05-20 16:31:01] [INFO ] Computing symmetric may disable matrix : 91 transitions.
[2020-05-20 16:31:01] [INFO ] Computation of disable matrix completed :0/91 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-20 16:31:02] [INFO ] Computation of Complete disable matrix. took 3 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-20 16:31:02] [INFO ] Flatten gal took : 47 ms
[2020-05-20 16:31:02] [INFO ] Computing symmetric may enable matrix : 91 transitions.
[2020-05-20 16:31:02] [INFO ] Computation of Complete enable matrix. took 3 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-20 16:31:02] [INFO ] Fuse similar labels procedure discarded/fused a total of 27 labels/synchronizations in 4 ms.
[2020-05-20 16:31:02] [INFO ] Computing symmetric co enabling matrix : 91 transitions.
[2020-05-20 16:31:02] [INFO ] Time to serialize gal into /home/mcc/execution/ReachabilityDeadlock.pnml.gal : 7 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/ReachabilityDeadlock.pnml.gal, -t, CGAL, -ctl, DEADLOCK], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/ReachabilityDeadlock.pnml.gal -t CGAL -ctl DEADLOCK
No direction supplied, using forward translation only.
built 4 ordering constraints for composite.
built 21 ordering constraints for composite.
built 37 ordering constraints for composite.
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,4650,0.298539,17520,731,1666,14060,4367,268,72413,156,7674,0


Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
dead,0,0.382593,17520,1,0,14060,14281,681,72413,829,24501,14169

System contains 0 deadlocks (shown below if less than --print-limit option) !
FORMULA ReachabilityDeadlock FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[ 0 ]
[2020-05-20 16:31:05] [INFO ] Computation of co-enabling matrix(21/91) took 3039 ms. Total solver calls (SAT/UNSAT): 1606(618/988)
[2020-05-20 16:31:08] [INFO ] Computation of co-enabling matrix(32/91) took 6170 ms. Total solver calls (SAT/UNSAT): 2257(820/1437)
[2020-05-20 16:31:11] [INFO ] Computation of co-enabling matrix(63/91) took 9206 ms. Total solver calls (SAT/UNSAT): 3242(1165/2077)
[2020-05-20 16:31:13] [INFO ] Computation of Finished co-enabling matrix. took 11659 ms. Total solver calls (SAT/UNSAT): 3480(1258/2222)
Skipping mayMatrices nes/nds SMT solver raised an error on invariants :(error "Failed to assert expression: java.io.IOException: Stream closed (invariants (select s 2))")
java.lang.RuntimeException: SMT solver raised an error on invariants :(error "Failed to assert expression: java.io.IOException: Stream closed (invariants (select s 2))")
at fr.lip6.move.gal.gal2smt.bmc.KInductionSolver.addKnownInvariants(KInductionSolver.java:460)
at fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver.computeDoNotAccord(NecessaryEnablingsolver.java:574)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printLabels(Gal2PinsTransformerNext.java:538)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printDependencyMatrix(Gal2PinsTransformerNext.java:209)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.buildBodyFile(Gal2PinsTransformerNext.java:85)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.transform(Gal2PinsTransformerNext.java:831)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:73)
at java.base/java.lang.Thread.run(Thread.java:834)
[2020-05-20 16:31:13] [INFO ] Built C files in 12108ms conformant to PINS in folder :/home/mcc/execution
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/home/mcc/execution]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1589992274174

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 1800 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="SafeBus-COL-03"
export BK_EXAMINATION="ReachabilityDeadlock"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
export BK_MEMORY_CONFINEMENT="16384"

# 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 SafeBus-COL-03, examination is ReachabilityDeadlock"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r162-oct2-158972927100211"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/SafeBus-COL-03.tgz
mv SafeBus-COL-03 execution
cd execution
if [ "ReachabilityDeadlock" = "ReachabilityDeadlock" ] || [ "ReachabilityDeadlock" = "UpperBounds" ] || [ "ReachabilityDeadlock" = "QuasiLiveness" ] || [ "ReachabilityDeadlock" = "StableMarking" ] || [ "ReachabilityDeadlock" = "Liveness" ] || [ "ReachabilityDeadlock" = "OneSafe" ] || [ "ReachabilityDeadlock" = "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 [ "ReachabilityDeadlock" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityDeadlock" != "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 "ReachabilityDeadlock.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityDeadlock.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityDeadlock.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 '' ReachabilityDeadlock.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityDeadlock" = "ReachabilityDeadlock" ] || [ "ReachabilityDeadlock" = "QuasiLiveness" ] || [ "ReachabilityDeadlock" = "StableMarking" ] || [ "ReachabilityDeadlock" = "Liveness" ] || [ "ReachabilityDeadlock" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityDeadlock"
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 ;