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

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
364.155 22863.00 33248.00 663.10 F 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.r371-smll-167891822600126.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 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 r371-smll-167891822600126
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 508K
-rw-r--r-- 1 mcc users 7.8K Feb 26 01:29 CTLCardinality.txt
-rw-r--r-- 1 mcc users 83K Feb 26 01:29 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.7K Feb 26 01:28 CTLFireability.txt
-rw-r--r-- 1 mcc users 51K Feb 26 01:28 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:49 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 16:49 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 16:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:49 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 26 01:32 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 148K Feb 26 01:32 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.7K Feb 26 01:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 60K Feb 26 01:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:49 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:49 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_pt
-rw-r--r-- 1 mcc users 3 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 42K 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 ReachabilityDeadlock

=== Now, execution of the tool begins

BK_START 1679037184093

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityDeadlock
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=SafeBus-COL-03
Not applying reductions.
Model is COL
ReachabilityDeadlock COL
Running Version 202303021504
[2023-03-17 07:13:07] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2023-03-17 07:13:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-17 07:13:08] [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-17 07:13:08] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-17 07:13:08] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 855 ms
[2023-03-17 07:13:08] [INFO ] Detected 1 constant HL places corresponding to 3 PT places.
[2023-03-17 07:13:08] [INFO ] Imported 20 HL places and 14 HL transitions for a total of 60 PT places and 214.0 transition bindings in 32 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 3 ms.
Working with output stream class java.io.PrintStream
[2023-03-17 07:13:08] [INFO ] Built PT skeleton of HLPN with 20 places and 14 transitions 68 arcs in 6 ms.
[2023-03-17 07:13:08] [INFO ] Skeletonized 1 HLPN properties in 0 ms.
Reduce places removed 3 places and 0 transitions.
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.
Domain [It(3), It(3)] of place AMC breaks symmetries in sort It
[2023-03-17 07:13:09] [INFO ] Unfolded HLPN to a Petri net with 60 places and 97 transitions 556 arcs in 27 ms.
[2023-03-17 07:13:09] [INFO ] Unfolded 1 HLPN properties in 0 ms.
Deduced a syphon composed of 3 places in 0 ms
Reduce places removed 6 places and 6 transitions.
Built sparse matrix representations for Structural reductions in 0 ms.25935KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 54/54 places, 91/91 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
Applied a total of 0 rules in 24 ms. Remains 54 /54 variables (removed 0) and now considering 91/91 (removed 0) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 25 ms. Remains : 54/54 places, 91/91 transitions.
Starting structural reductions in DEADLOCK mode, iteration 0 : 54/54 places, 91/91 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
Applied a total of 0 rules in 12 ms. Remains 54 /54 variables (removed 0) and now considering 91/91 (removed 0) transitions.
[2023-03-17 07:13:09] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
// Phase 1: matrix 68 rows 54 cols
[2023-03-17 07:13:09] [INFO ] Computed 17 place invariants in 26 ms
[2023-03-17 07:13:09] [INFO ] Implicit Places using invariants in 439 ms returned [28, 29, 30]
Discarding 3 places :
Implicit Place search using SMT only with invariants took 481 ms to find 3 implicit places.
Starting structural reductions in DEADLOCK mode, iteration 1 : 51/54 places, 91/91 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable 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 88
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 88
Computed a total of 0 stabilizing places and 0 stable transitions
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 91
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 27 ms. Remains 45 /51 variables (removed 6) and now considering 91/91 (removed 0) transitions.
[2023-03-17 07:13:09] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
// Phase 1: matrix 68 rows 45 cols
[2023-03-17 07:13:09] [INFO ] Computed 14 place invariants in 4 ms
[2023-03-17 07:13:09] [INFO ] Implicit Places using invariants in 148 ms returned []
[2023-03-17 07:13:09] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
[2023-03-17 07:13:09] [INFO ] Invariant cache hit.
[2023-03-17 07:13:09] [INFO ] State equation strengthened by 13 read => feed constraints.
[2023-03-17 07:13:09] [INFO ] Implicit Places using invariants and state equation in 209 ms returned []
Implicit Place search using SMT with State Equation took 360 ms to find 0 implicit places.
Starting structural reductions in DEADLOCK mode, iteration 2 : 45/54 places, 91/91 transitions.
Finished structural reductions in DEADLOCK mode , in 2 iterations and 880 ms. Remains : 45/54 places, 91/91 transitions.
Random walk for 1250000 steps, including 0 resets, run took 2433 ms (no deadlock found). (steps per millisecond=513 )
Random directed walk for 1250002 steps, including 0 resets, run took 1440 ms (no deadlock found). (steps per millisecond=868 )
[2023-03-17 07:13:13] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
[2023-03-17 07:13:13] [INFO ] Invariant cache hit.
[2023-03-17 07:13:13] [INFO ] [Real]Absence check using 5 positive place invariants in 2 ms returned sat
[2023-03-17 07:13:13] [INFO ] [Real]Absence check using 5 positive and 9 generalized place invariants in 7 ms returned sat
[2023-03-17 07:13:13] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-17 07:13:13] [INFO ] [Real]Absence check using state equation in 38 ms returned sat
[2023-03-17 07:13:13] [INFO ] Solution in real domain found non-integer solution.
[2023-03-17 07:13:14] [INFO ] [Nat]Absence check using 5 positive place invariants in 3 ms returned sat
[2023-03-17 07:13:14] [INFO ] [Nat]Absence check using 5 positive and 9 generalized place invariants in 11 ms returned sat
[2023-03-17 07:13:14] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-17 07:13:14] [INFO ] [Nat]Absence check using state equation in 45 ms returned sat
[2023-03-17 07:13:14] [INFO ] State equation strengthened by 13 read => feed constraints.
[2023-03-17 07:13:14] [INFO ] [Nat]Added 13 Read/Feed constraints in 7 ms returned sat
[2023-03-17 07:13:14] [INFO ] Deduced a trap composed of 11 places in 53 ms of which 3 ms to minimize.
[2023-03-17 07:13:14] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 71 ms
[2023-03-17 07:13:14] [INFO ] Computed and/alt/rep : 37/219/37 causal constraints (skipped 28 transitions) in 18 ms.
[2023-03-17 07:13:14] [INFO ] Added : 21 causal constraints over 5 iterations in 99 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 6 ms.
Parikh directed walk for 10000 steps, including 833 resets, run took 35 ms. (steps per millisecond=285 )
Random directed walk for 500001 steps, including 0 resets, run took 733 ms (no deadlock found). (steps per millisecond=682 )
Random walk for 500000 steps, including 0 resets, run took 872 ms (no deadlock found). (steps per millisecond=573 )
Random directed walk for 500001 steps, including 0 resets, run took 550 ms (no deadlock found). (steps per millisecond=909 )
Random walk for 500000 steps, including 0 resets, run took 1098 ms (no deadlock found). (steps per millisecond=455 )
Starting structural reductions in DEADLOCK mode, iteration 0 : 45/45 places, 91/91 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
Applied a total of 0 rules in 10 ms. Remains 45 /45 variables (removed 0) and now considering 91/91 (removed 0) transitions.
[2023-03-17 07:13:17] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
[2023-03-17 07:13:17] [INFO ] Invariant cache hit.
[2023-03-17 07:13:17] [INFO ] Implicit Places using invariants in 96 ms returned []
[2023-03-17 07:13:17] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
[2023-03-17 07:13:17] [INFO ] Invariant cache hit.
[2023-03-17 07:13:17] [INFO ] State equation strengthened by 13 read => feed constraints.
[2023-03-17 07:13:17] [INFO ] Implicit Places using invariants and state equation in 162 ms returned []
Implicit Place search using SMT with State Equation took 279 ms to find 0 implicit places.
[2023-03-17 07:13:17] [INFO ] Redundant transitions in 1 ms returned []
[2023-03-17 07:13:17] [INFO ] Flow matrix only has 68 transitions (discarded 23 similar events)
[2023-03-17 07:13:17] [INFO ] Invariant cache hit.
[2023-03-17 07:13:18] [INFO ] Dead Transitions using invariants and state equation in 151 ms found 9 transitions.
Found 9 dead transitions using SMT.
Drop transitions removed 9 transitions
Dead transitions reduction (with SMT) removed 9 transitions
Starting structural reductions in DEADLOCK mode, iteration 1 : 45/45 places, 82/91 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
Applied a total of 0 rules in 12 ms. Remains 45 /45 variables (removed 0) and now considering 82/82 (removed 0) transitions.
[2023-03-17 07:13:18] [INFO ] Redundant transitions in 3 ms returned []
Finished structural reductions in DEADLOCK mode , in 2 iterations and 481 ms. Remains : 45/45 places, 82/91 transitions.
Random walk for 1250000 steps, including 0 resets, run took 1963 ms (no deadlock found). (steps per millisecond=636 )
Random directed walk for 1250001 steps, including 0 resets, run took 1373 ms (no deadlock found). (steps per millisecond=910 )
[2023-03-17 07:13:21] [INFO ] Flow matrix only has 68 transitions (discarded 14 similar events)
[2023-03-17 07:13:21] [INFO ] Invariant cache hit.
[2023-03-17 07:13:21] [INFO ] [Real]Absence check using 5 positive place invariants in 3 ms returned sat
[2023-03-17 07:13:21] [INFO ] [Real]Absence check using 5 positive and 9 generalized place invariants in 7 ms returned sat
[2023-03-17 07:13:21] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-17 07:13:21] [INFO ] [Real]Absence check using state equation in 41 ms returned sat
[2023-03-17 07:13:21] [INFO ] Solution in real domain found non-integer solution.
[2023-03-17 07:13:21] [INFO ] [Nat]Absence check using 5 positive place invariants in 2 ms returned sat
[2023-03-17 07:13:21] [INFO ] [Nat]Absence check using 5 positive and 9 generalized place invariants in 5 ms returned sat
[2023-03-17 07:13:21] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-17 07:13:21] [INFO ] [Nat]Absence check using state equation in 60 ms returned sat
[2023-03-17 07:13:21] [INFO ] State equation strengthened by 13 read => feed constraints.
[2023-03-17 07:13:21] [INFO ] [Nat]Added 13 Read/Feed constraints in 10 ms returned sat
[2023-03-17 07:13:21] [INFO ] Deduced a trap composed of 11 places in 43 ms of which 1 ms to minimize.
[2023-03-17 07:13:21] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 66 ms
[2023-03-17 07:13:21] [INFO ] Computed and/alt/rep : 37/219/37 causal constraints (skipped 28 transitions) in 14 ms.
[2023-03-17 07:13:21] [INFO ] Added : 21 causal constraints over 5 iterations in 106 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 5 ms.
Parikh directed walk for 10500 steps, including 924 resets, run took 31 ms. (steps per millisecond=338 )
Random directed walk for 500000 steps, including 0 resets, run took 666 ms (no deadlock found). (steps per millisecond=750 )
Random walk for 500000 steps, including 0 resets, run took 646 ms (no deadlock found). (steps per millisecond=773 )
Random directed walk for 500002 steps, including 0 resets, run took 496 ms (no deadlock found). (steps per millisecond=1008 )
Random walk for 500000 steps, including 0 resets, run took 642 ms (no deadlock found). (steps per millisecond=778 )
[2023-03-17 07:13:24] [INFO ] Flatten gal took : 62 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin6503155520573837779
[2023-03-17 07:13:24] [INFO ] Computing symmetric may disable matrix : 91 transitions.
[2023-03-17 07:13:24] [INFO ] Computation of Complete disable matrix. took 2 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-17 07:13:24] [INFO ] Applying decomposition
[2023-03-17 07:13:24] [INFO ] Computing symmetric may enable matrix : 91 transitions.
[2023-03-17 07:13:24] [INFO ] Computation of Complete enable matrix. took 1 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-17 07:13:24] [INFO ] Computing Do-Not-Accords matrix : 91 transitions.
[2023-03-17 07:13:24] [INFO ] Computation of Completed DNA matrix. took 1 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-17 07:13:24] [INFO ] Built C files in 59ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin6503155520573837779
[2023-03-17 07:13:24] [INFO ] Flatten gal took : 53 ms
Running compilation step : cd /tmp/ltsmin6503155520573837779;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/limit_time.pl' '360' 'gcc' '-c' '-I/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/include/' '-I.' '-std=c99' '-fPIC' '-O0' 'model.c'
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/convert-linux64' '-i' '/tmp/graph1988984219261367557.txt' '-o' '/tmp/graph1988984219261367557.bin' '-w' '/tmp/graph1988984219261367557.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/louvain-linux64' '/tmp/graph1988984219261367557.bin' '-l' '-1' '-v' '-w' '/tmp/graph1988984219261367557.weights' '-q' '0' '-e' '0.001'
[2023-03-17 07:13:24] [INFO ] Decomposing Gal with order
[2023-03-17 07:13:24] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-17 07:13:24] [INFO ] Removed a total of 49 redundant transitions.
[2023-03-17 07:13:24] [INFO ] Flatten gal took : 60 ms
[2023-03-17 07:13:24] [INFO ] Fuse similar labels procedure discarded/fused a total of 43 labels/synchronizations in 12 ms.
[2023-03-17 07:13:25] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock7176751639107415035.gal : 7 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityDeadlock7176751639107415035.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...234
No direction supplied, using forward translation only.
Compilation finished in 525 ms.
Running link step : cd /tmp/ltsmin6503155520573837779;'gcc' '-shared' '-o' 'gal.so' 'model.o'
Link finished in 45 ms.
Running LTSmin : cd /tmp/ltsmin6503155520573837779;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/pins2lts-mc-linux64' './gal.so' '--threads=8' '-p' '--pins-guards' '--when' '-d'
LTSmin run took 391 ms.
FORMULA ReachabilityDeadlock FALSE TECHNIQUES PARTIAL_ORDER EXPLICIT LTSMIN SAT_SMT
ITS tools runner thread asked to quit. Dying gracefully.
Total runtime 17680 ms.

BK_STOP 1679037206956

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800

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"
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 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 r371-smll-167891822600126"
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 ;