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

About the Execution of LTSMin+red for ShieldRVs-PT-004B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
411.331 15230.00 39020.00 88.40 FTTTTFTTFTTTTFTT normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2023-input.r425-tajo-167905977700063.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2023-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
...................
=====================================================================
Generated by BenchKit 2-5348
Executing tool ltsminxred
Input is ShieldRVs-PT-004B, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r425-tajo-167905977700063
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 576K
-rw-r--r-- 1 mcc users 8.9K Feb 26 18:19 CTLCardinality.txt
-rw-r--r-- 1 mcc users 104K Feb 26 18:19 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.1K Feb 26 18:18 CTLFireability.txt
-rw-r--r-- 1 mcc users 60K Feb 26 18:18 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K Jan 29 11:41 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 17:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 17:02 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 17:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Feb 26 18:20 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 141K Feb 26 18:20 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.3K Feb 26 18:19 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 73K Feb 26 18:19 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 17:02 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:02 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 49K 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

here is the order used to build the result vector(from text file)
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-00
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-01
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-02
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-03
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-04
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-05
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-06
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-07
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-08
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-09
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-10
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-11
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-12
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-13
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-14
FORMULA_NAME ShieldRVs-PT-004B-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1679295175902

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=ltsminxred
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ShieldRVs-PT-004B
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-20 06:52:57] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -timeout, 360, -rebuildPNML]
[2023-03-20 06:52:57] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-20 06:52:57] [INFO ] Load time of PNML (sax parser for PT used): 45 ms
[2023-03-20 06:52:57] [INFO ] Transformed 163 places.
[2023-03-20 06:52:57] [INFO ] Transformed 183 transitions.
[2023-03-20 06:52:57] [INFO ] Found NUPN structural information;
[2023-03-20 06:52:57] [INFO ] Parsed PT model containing 163 places and 183 transitions and 576 arcs in 120 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 11 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 52 resets, run finished after 497 ms. (steps per millisecond=20 ) properties (out of 16) seen :10
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 123 ms. (steps per millisecond=81 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 10 resets, run finished after 66 ms. (steps per millisecond=151 ) properties (out of 6) seen :1
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 68 ms. (steps per millisecond=147 ) properties (out of 5) seen :1
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 8 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 8 resets, run finished after 31 ms. (steps per millisecond=322 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10000 steps, including 8 resets, run finished after 39 ms. (steps per millisecond=256 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
// Phase 1: matrix 183 rows 163 cols
[2023-03-20 06:52:58] [INFO ] Computed 17 place invariants in 8 ms
[2023-03-20 06:52:58] [INFO ] After 249ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:4
[2023-03-20 06:52:59] [INFO ] [Nat]Absence check using 17 positive place invariants in 5 ms returned sat
[2023-03-20 06:52:59] [INFO ] After 186ms SMT Verify possible using state equation in natural domain returned unsat :1 sat :3
[2023-03-20 06:52:59] [INFO ] Deduced a trap composed of 22 places in 103 ms of which 8 ms to minimize.
[2023-03-20 06:52:59] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 154 ms
[2023-03-20 06:52:59] [INFO ] Deduced a trap composed of 33 places in 45 ms of which 1 ms to minimize.
[2023-03-20 06:52:59] [INFO ] Deduced a trap composed of 21 places in 31 ms of which 1 ms to minimize.
[2023-03-20 06:52:59] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 2 trap constraints in 97 ms
[2023-03-20 06:52:59] [INFO ] Deduced a trap composed of 21 places in 81 ms of which 2 ms to minimize.
[2023-03-20 06:52:59] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 1 trap constraints in 91 ms
[2023-03-20 06:52:59] [INFO ] After 738ms SMT Verify possible using trap constraints in natural domain returned unsat :3 sat :1
Attempting to minimize the solution found.
Minimization took 133 ms.
[2023-03-20 06:52:59] [INFO ] After 961ms SMT Verify possible using all constraints in natural domain returned unsat :3 sat :1
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-14 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-12 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 4 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 5 ms.
Support contains 76 out of 163 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 163/163 places, 183/183 transitions.
Drop transitions removed 4 transitions
Trivial Post-agglo rules discarded 4 transitions
Performed 4 trivial Post agglomeration. Transition count delta: 4
Iterating post reduction 0 with 4 rules applied. Total rules applied 4 place count 163 transition count 179
Reduce places removed 4 places and 0 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Iterating post reduction 1 with 6 rules applied. Total rules applied 10 place count 159 transition count 177
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 12 place count 157 transition count 177
Performed 8 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 8 Pre rules applied. Total rules applied 12 place count 157 transition count 169
Deduced a syphon composed of 8 places in 1 ms
Reduce places removed 8 places and 0 transitions.
Iterating global reduction 3 with 16 rules applied. Total rules applied 28 place count 149 transition count 169
Discarding 11 places :
Symmetric choice reduction at 3 with 11 rule applications. Total rules 39 place count 138 transition count 158
Iterating global reduction 3 with 11 rules applied. Total rules applied 50 place count 138 transition count 158
Performed 15 Post agglomeration using F-continuation condition.Transition count delta: 15
Deduced a syphon composed of 15 places in 1 ms
Reduce places removed 15 places and 0 transitions.
Iterating global reduction 3 with 30 rules applied. Total rules applied 80 place count 123 transition count 143
Partial Free-agglomeration rule applied 2 times.
Drop transitions removed 2 transitions
Iterating global reduction 3 with 2 rules applied. Total rules applied 82 place count 123 transition count 143
Applied a total of 82 rules in 39 ms. Remains 123 /163 variables (removed 40) and now considering 143/183 (removed 40) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 40 ms. Remains : 123/163 places, 143/183 transitions.
Incomplete random walk after 10000 steps, including 69 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10001 steps, including 12 resets, run finished after 33 ms. (steps per millisecond=303 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 2305123 steps, run timeout after 3001 ms. (steps per millisecond=768 ) properties seen :{}
Probabilistic random walk after 2305123 steps, saw 360853 distinct states, run finished after 3002 ms. (steps per millisecond=767 ) properties seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 143 rows 123 cols
[2023-03-20 06:53:03] [INFO ] Computed 17 place invariants in 4 ms
[2023-03-20 06:53:03] [INFO ] After 135ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-20 06:53:03] [INFO ] [Nat]Absence check using 17 positive place invariants in 131 ms returned sat
[2023-03-20 06:53:03] [INFO ] After 481ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 18 places in 42 ms of which 1 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 19 places in 37 ms of which 1 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 18 places in 38 ms of which 1 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 19 places in 46 ms of which 1 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 13 places in 41 ms of which 1 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 24 places in 51 ms of which 0 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 19 places in 36 ms of which 1 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 21 places in 73 ms of which 0 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 20 places in 47 ms of which 0 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 19 places in 44 ms of which 0 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 15 places in 46 ms of which 1 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 21 places in 38 ms of which 1 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Deduced a trap composed of 30 places in 45 ms of which 0 ms to minimize.
[2023-03-20 06:53:04] [INFO ] Trap strengthening (SAT) tested/added 14/13 trap constraints in 776 ms
[2023-03-20 06:53:04] [INFO ] After 1337ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 84 ms.
[2023-03-20 06:53:04] [INFO ] After 1714ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 1 ms.
Support contains 76 out of 123 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 123/123 places, 143/143 transitions.
Applied a total of 0 rules in 9 ms. Remains 123 /123 variables (removed 0) and now considering 143/143 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 9 ms. Remains : 123/123 places, 143/143 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 123/123 places, 143/143 transitions.
Applied a total of 0 rules in 7 ms. Remains 123 /123 variables (removed 0) and now considering 143/143 (removed 0) transitions.
[2023-03-20 06:53:04] [INFO ] Invariant cache hit.
[2023-03-20 06:53:05] [INFO ] Implicit Places using invariants in 50 ms returned []
[2023-03-20 06:53:05] [INFO ] Invariant cache hit.
[2023-03-20 06:53:05] [INFO ] Implicit Places using invariants and state equation in 113 ms returned []
Implicit Place search using SMT with State Equation took 170 ms to find 0 implicit places.
[2023-03-20 06:53:05] [INFO ] Redundant transitions in 15 ms returned []
[2023-03-20 06:53:05] [INFO ] Invariant cache hit.
[2023-03-20 06:53:05] [INFO ] Dead Transitions using invariants and state equation in 77 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 301 ms. Remains : 123/123 places, 143/143 transitions.
Applied a total of 0 rules in 4 ms. Remains 123 /123 variables (removed 0) and now considering 143/143 (removed 0) transitions.
Running SMT prover for 1 properties.
[2023-03-20 06:53:05] [INFO ] Invariant cache hit.
[2023-03-20 06:53:05] [INFO ] After 36ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-20 06:53:05] [INFO ] [Nat]Absence check using 17 positive place invariants in 3 ms returned sat
[2023-03-20 06:53:05] [INFO ] After 88ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-20 06:53:05] [INFO ] Deduced a trap composed of 18 places in 66 ms of which 1 ms to minimize.
[2023-03-20 06:53:05] [INFO ] Deduced a trap composed of 19 places in 64 ms of which 0 ms to minimize.
[2023-03-20 06:53:05] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 156 ms
[2023-03-20 06:53:05] [INFO ] After 307ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 64 ms.
[2023-03-20 06:53:05] [INFO ] After 435ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
[2023-03-20 06:53:05] [INFO ] Export to MCC of 1 properties in file /home/mcc/execution/ReachabilityFireability.sr.xml took 6 ms.
[2023-03-20 06:53:05] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 123 places, 143 transitions and 496 arcs took 1 ms.
[2023-03-20 06:53:05] [INFO ] Flatten gal took : 68 ms
Total runtime 8467 ms.
There are residual formulas that ITS could not solve within timeout
pnml2lts-sym model.pnml --lace-workers=4 --vset=lddmc --saturation=sat -rbs,w2W,ru,hf --sylvan-sizes=20,28,20,28 --inv-bin-par --invariant=/tmp/553/inv_0_ --inv-par
FORMULA ShieldRVs-PT-004B-ReachabilityFireability-03 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN

BK_STOP 1679295191132

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

+ 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//
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
++ perl -pe 's/.*\.//g'
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -timeout 360 -rebuildPNML
mcc2023
rfs formula name ShieldRVs-PT-004B-ReachabilityFireability-03
rfs formula type AG
rfs formula formula --invariant=/tmp/553/inv_0_
pnml2lts-sym: Exploration order is bfs-prev
pnml2lts-sym: Saturation strategy is sat
pnml2lts-sym: Guided search strategy is unguided
pnml2lts-sym: Attractor strategy is default
pnml2lts-sym: opening model.pnml
pnml2lts-sym: Edge label is id
Warning: program compiled against libxml 210 using older 209
pnml2lts-sym: Petri net has 123 places, 143 transitions and 496 arcs
pnml2lts-sym: Petri net ShieldRVs_PT_004B analyzed
pnml2lts-sym: There are no safe places
pnml2lts-sym: Loading Petri net took 0.000 real 0.000 user 0.000 sys
pnml2lts-sym: Initializing regrouping layer
pnml2lts-sym: Regroup specification: bs,w2W,ru,hf
pnml2lts-sym: Regroup Boost's Sloan
pnml2lts-sym: Regroup over-approximate must-write to may-write
pnml2lts-sym: Regroup Row sUbsume
pnml2lts-sym: Reqroup Horizontal Flip
pnml2lts-sym: Regrouping: 143->138 groups
pnml2lts-sym: Regrouping took 0.010 real 0.020 user 0.000 sys
pnml2lts-sym: state vector length is 123; there are 138 groups
pnml2lts-sym: Creating a multi-core ListDD domain.
pnml2lts-sym: Sylvan allocates 15.000 GB virtual memory for nodes table and operation cache.
pnml2lts-sym: Initial nodes table and operation cache requires 60.00 MB.
pnml2lts-sym: Using GBgetTransitionsShortR2W as next-state function
pnml2lts-sym: got initial state
pnml2lts-sym: Exploration took 155858 group checks and 0 next state calls
pnml2lts-sym: reachability took 3.420 real 13.260 user 0.350 sys
pnml2lts-sym: counting visited states...
pnml2lts-sym: counting took 0.010 real 0.030 user 0.000 sys
pnml2lts-sym: state space has 313588547927 states, 27034 nodes
pnml2lts-sym: group_next: 1211 nodes total
pnml2lts-sym: group_explored: 1303 nodes, 1492 short vectors total
pnml2lts-sym: max token count: 1

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="ShieldRVs-PT-004B"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="ltsminxred"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
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 ltsminxred"
echo " Input is ShieldRVs-PT-004B, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r425-tajo-167905977700063"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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