fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r631-smll-171774447100089
Last Updated
July 7, 2024

About the Execution of LTSMin+red for ResIsolation-PT-N10P2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16177.367 1061628.00 1279510.00 3113.50 ??T???????F??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/mcc2024-input.r631-smll-171774447100089.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool ltsminxred
Input is ResIsolation-PT-N10P2, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r631-smll-171774447100089
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 45M
-rw-r--r-- 1 mcc users 6.1K Jun 7 06:38 CTLCardinality.txt
-rw-r--r-- 1 mcc users 63K Jun 7 06:38 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.3K Jun 7 06:38 CTLFireability.txt
-rw-r--r-- 1 mcc users 59K Jun 7 06:38 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Jun 7 06:44 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Jun 7 06:44 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Jun 7 06:44 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Jun 7 06:44 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 Jun 7 06:26 NewModel
-rw-r--r-- 1 mcc users 14K Jun 7 06:39 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 150K Jun 7 06:39 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.9K Jun 7 06:39 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 62K Jun 7 06:39 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Jun 7 06:43 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Jun 7 06:43 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Jun 7 06:26 equiv_col
-rw-r--r-- 1 mcc users 6 Jun 7 06:26 instance
-rw-r--r-- 1 mcc users 6 Jun 7 06:26 iscolored
-rw-r--r-- 1 mcc users 45M Jun 7 06:26 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 ResIsolation-PT-N10P2-CTLCardinality-2024-00
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-01
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-02
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-03
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-04
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-05
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-06
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-07
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-08
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-09
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-10
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-11
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-12
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-13
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-14
FORMULA_NAME ResIsolation-PT-N10P2-CTLCardinality-2024-15

=== Now, execution of the tool begins

BK_START 1717806223821

Invoking MCC driver with
BK_TOOL=ltsminxred
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ResIsolation-PT-N10P2
BK_MEMORY_CONFINEMENT=16384
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202405141337
[2024-06-08 00:23:45] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2024-06-08 00:23:45] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-06-08 00:23:48] [INFO ] Load time of PNML (sax parser for PT used): 2882 ms
[2024-06-08 00:23:48] [INFO ] Transformed 367 places.
[2024-06-08 00:23:49] [INFO ] Transformed 37193 transitions.
[2024-06-08 00:23:49] [INFO ] Found NUPN structural information;
[2024-06-08 00:23:49] [INFO ] Parsed PT model containing 367 places and 37193 transitions and 885405 arcs in 3369 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 25 ms.
Initial state reduction rules removed 1 formulas.
FORMULA ResIsolation-PT-N10P2-CTLCardinality-2024-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ResIsolation-PT-N10P2-CTLCardinality-2024-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ResIsolation-PT-N10P2-CTLCardinality-2024-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 73 out of 367 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 367/367 places, 37193/37193 transitions.
Reduce places removed 9 places and 0 transitions.
Iterating post reduction 0 with 9 rules applied. Total rules applied 9 place count 358 transition count 37193
Discarding 161 places :
Symmetric choice reduction at 1 with 161 rule applications. Total rules 170 place count 197 transition count 37032
Iterating global reduction 1 with 161 rules applied. Total rules applied 331 place count 197 transition count 37032
Ensure Unique test removed 32 transitions
Reduce isomorphic transitions removed 32 transitions.
Iterating post reduction 1 with 32 rules applied. Total rules applied 363 place count 197 transition count 37000
Discarding 9 places :
Symmetric choice reduction at 2 with 9 rule applications. Total rules 372 place count 188 transition count 36991
Iterating global reduction 2 with 9 rules applied. Total rules applied 381 place count 188 transition count 36991
Applied a total of 381 rules in 1604 ms. Remains 188 /367 variables (removed 179) and now considering 36991/37193 (removed 202) transitions.
// Phase 1: matrix 36991 rows 188 cols
[2024-06-08 00:23:52] [INFO ] Computed 3 invariants in 1057 ms
[2024-06-08 00:24:02] [INFO ] Implicit Places using invariants in 11331 ms returned []
Implicit Place search using SMT only with invariants took 11392 ms to find 0 implicit places.
Running 36990 sub problems to find dead transitions.
[2024-06-08 00:24:04] [INFO ] Invariant cache hit.
Solver is answering 'unknown', stopping.
After SMT solving in domain Real declared 184/37179 variables, and 0 constraints, problems are : Problem set: 0 solved, 36990 unsolved in 31029 ms.
Refiners :[Positive P Invariants (semi-flows): 0/3 constraints, State Equation: 0/188 constraints, PredecessorRefiner: 36990/94 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 0 solved, 36990 unsolved
Solver is answering 'unknown', stopping.
After SMT solving in domain Int declared 184/37179 variables, and 0 constraints, problems are : Problem set: 0 solved, 36990 unsolved in 30686 ms.
Refiners :[Positive P Invariants (semi-flows): 0/3 constraints, State Equation: 0/188 constraints, PredecessorRefiner: 36896/94 constraints, Known Traps: 0/0 constraints]
After SMT, in 805016ms problems are : Problem set: 0 solved, 36990 unsolved
Search for dead transitions found 0 dead transitions in 805980ms
Starting structural reductions in LTL mode, iteration 1 : 188/367 places, 36991/37193 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 819332 ms. Remains : 188/367 places, 36991/37193 transitions.
Support contains 73 out of 188 places after structural reductions.
[2024-06-08 00:37:37] [INFO ] Flatten gal took : 7656 ms
[2024-06-08 00:37:45] [INFO ] Flatten gal took : 7436 ms
[2024-06-08 00:37:56] [INFO ] Input system was already deterministic with 36991 transitions.
Support contains 59 out of 188 places (down from 73) after GAL structural reductions.
RANDOM walk for 40000 steps (8 resets) in 19985 ms. (2 steps per ms) remains 22/37 properties
BEST_FIRST walk for 4004 steps (8 resets) in 118 ms. (33 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4003 steps (8 resets) in 137 ms. (29 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 136 ms. (29 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4003 steps (8 resets) in 116 ms. (34 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 132 ms. (30 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 120 ms. (33 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 94 ms. (42 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 96 ms. (41 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 140 ms. (28 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 86 ms. (46 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 107 ms. (37 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 88 ms. (44 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4003 steps (8 resets) in 99 ms. (40 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 113 ms. (35 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4003 steps (8 resets) in 94 ms. (42 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4001 steps (8 resets) in 121 ms. (32 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 90 ms. (44 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 103 ms. (38 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4002 steps (8 resets) in 105 ms. (37 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4003 steps (8 resets) in 115 ms. (34 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 99 ms. (40 steps per ms) remains 22/22 properties
BEST_FIRST walk for 4004 steps (8 resets) in 91 ms. (43 steps per ms) remains 22/22 properties
[2024-06-08 00:38:04] [INFO ] Invariant cache hit.
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/36 variables, 0/0 constraints. Problems are: Problem set: 0 solved, 22 unsolved
At refinement iteration 1 (OVERLAPS) 44/80 variables, 3/3 constraints. Problems are: Problem set: 0 solved, 22 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/80 variables, 0/3 constraints. Problems are: Problem set: 0 solved, 22 unsolved
SMT process timed out in 6356ms, After SMT, problems are : Problem set: 0 solved, 22 unsolved
Skipping Parikh replay, no witness traces provided.
Support contains 36 out of 188 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 188/188 places, 36991/36991 transitions.
Graph (trivial) has 109 edges and 188 vertex of which 24 / 188 are part of one of the 8 SCC in 17 ms
Free SCC test removed 16 places
Drop transitions (Empty/Sink Transition effects.) removed 26 transitions
Reduce isomorphic transitions removed 26 transitions.
Graph (complete) has 1785 edges and 172 vertex of which 161 are kept as prefixes of interest. Removing 11 places using SCC suffix rule.455 ms
Discarding 11 places :
Also discarding 7 output transitions
Drop transitions (Output transitions of discarded places.) removed 7 transitions
Drop transitions (Empty/Sink Transition effects.) removed 10 transitions
Reduce isomorphic transitions removed 10 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 26 transitions
Trivial Post-agglo rules discarded 26 transitions
Performed 26 trivial Post agglomeration. Transition count delta: 26
Iterating post reduction 0 with 36 rules applied. Total rules applied 38 place count 161 transition count 36922
Reduce places removed 26 places and 0 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Iterating post reduction 1 with 28 rules applied. Total rules applied 66 place count 135 transition count 36920
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 68 place count 133 transition count 36920
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 3 Pre rules applied. Total rules applied 68 place count 133 transition count 36917
Deduced a syphon composed of 3 places in 62 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 3 with 6 rules applied. Total rules applied 74 place count 130 transition count 36917
Discarding 8 places :
Symmetric choice reduction at 3 with 8 rule applications. Total rules 82 place count 122 transition count 36909
Iterating global reduction 3 with 8 rules applied. Total rules applied 90 place count 122 transition count 36909
Ensure Unique test removed 32 transitions
Reduce isomorphic transitions removed 32 transitions.
Iterating post reduction 3 with 32 rules applied. Total rules applied 122 place count 122 transition count 36877
Performed 24 Post agglomeration using F-continuation condition with reduction of 33 identical transitions.
Deduced a syphon composed of 24 places in 14 ms
Reduce places removed 24 places and 0 transitions.
Iterating global reduction 4 with 48 rules applied. Total rules applied 170 place count 98 transition count 36820
Drop transitions (Empty/Sink Transition effects.) removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 4 with 1 rules applied. Total rules applied 171 place count 98 transition count 36819
Free-agglomeration rule applied 11 times.
Iterating global reduction 5 with 11 rules applied. Total rules applied 182 place count 98 transition count 36808
Reduce places removed 11 places and 0 transitions.
Ensure Unique test removed 192 transitions
Reduce isomorphic transitions removed 192 transitions.
Iterating post reduction 5 with 203 rules applied. Total rules applied 385 place count 87 transition count 36616
Applied a total of 385 rules in 16359 ms. Remains 87 /188 variables (removed 101) and now considering 36616/36991 (removed 375) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 16366 ms. Remains : 87/188 places, 36616/36991 transitions.
RANDOM walk for 40000 steps (8 resets) in 28237 ms. (1 steps per ms) remains 1/22 properties
BEST_FIRST walk for 40004 steps (4 resets) in 5432 ms. (7 steps per ms) remains 1/1 properties
// Phase 1: matrix 36616 rows 87 cols
[2024-06-08 00:38:42] [INFO ] Computed 11 invariants in 257 ms
Usage: pnml2lts-sym [-gvqh] [--order=]
[--mu-opt] [--saturation=]
[--sat-granularity=] [--save-sat-levels]
[--guidance=] [-d|--deadlock]
[--action=] [-i|--invariant=STRING] [-n|--no-exit]
[--trace=] [--type=]
[--mu=.mu] [--ctl-star=.ctl]
[--ctl=.ctl] [--ltl=.ltl] [--dot=STRING]
[--save-levels=STRING] [--pg-solve] [--attr=]
[--saturating-attractor] [--write-strategy=.spg]
[--check-strategy] [--interactive-play] [--player]
[--pg-write=.spg] [--no-matrix] [--noack=<1|2>]
[--edge-label=] [--labels] [-m|--matrix]
[--mucalc=.mcf|] [-c|--cache]
[--allow-undefined-edges] [--allow-undefined-values]
[-p|--por= (default: heur)]
[--weak=[valmari] (default: uses stronger left-commutativity)]
[--leap] [-r|--regroup=<(T,)+>] [--sloan-w1=] [--sloan-w2=]
[--cw-max-cols=] [--cw-max-rows=] [--col-ins=<(C.C',)+>]
[--mh-timeout=] [--row-perm=<(R,)+>] [--col-perm=<(C,)+>]
[--graph-metrics] [--regroup-exit] [--regroup-time]
[-g|--pins-guards] [--vset=] [--ldd32-step=]
[--ldd32-cache=] [--ldd-step=] [--ldd-cache=]
[--cache-ratio=] [--max-increase=]
[--min-free-nodes=] [--fdd-bits=]
[--fdd-reorder=]
[--vset-cache-diff=] [--no-soundness-check] [--precise]
[--next-union] [--peak-nodes] [--maxsum=]
[--block-size=] [--cluster-size=] [-v] [-q]
[--debug=] [--stats] [--where] [--when]
[--timeout=INT] [--version] [-h|--help] [--usage]
[OPTIONS] []
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-00
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-01
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-02
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-03
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-04
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-05
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-06
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-07
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-08
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-09
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-10
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-11
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-12
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-13
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-14
Could not compute solution for formula : ResIsolation-PT-N10P2-CTLCardinality-2024-15

BK_STOP 1717807285449

--------------------
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//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination CTLCardinality -timeout 360 -rebuildPNML
mcc2024
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-00
ctl formula formula --ctl=/tmp/545/ctl_0_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-01
ctl formula formula --ctl=/tmp/545/ctl_1_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-02
ctl formula formula --ctl=/tmp/545/ctl_2_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-03
ctl formula formula --ctl=/tmp/545/ctl_3_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-04
ctl formula formula --ctl=/tmp/545/ctl_4_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-05
ctl formula formula --ctl=/tmp/545/ctl_5_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-06
ctl formula formula --ctl=/tmp/545/ctl_6_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-07
ctl formula formula --ctl=/tmp/545/ctl_7_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-08
ctl formula formula --ctl=/tmp/545/ctl_8_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-09
ctl formula formula --ctl=/tmp/545/ctl_9_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-10
ctl formula formula --ctl=/tmp/545/ctl_10_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-11
ctl formula formula --ctl=/tmp/545/ctl_11_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-12
ctl formula formula --ctl=/tmp/545/ctl_12_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-13
ctl formula formula --ctl=/tmp/545/ctl_13_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-14
ctl formula formula --ctl=/tmp/545/ctl_14_
ctl formula name ResIsolation-PT-N10P2-CTLCardinality-2024-15
ctl formula formula --ctl=/tmp/545/ctl_15_
pnml2lts-sym, ** error **: unknown vector set implementation lddmc

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="ResIsolation-PT-N10P2"
export BK_EXAMINATION="CTLCardinality"
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-5568"
echo " Executing tool ltsminxred"
echo " Input is ResIsolation-PT-N10P2, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r631-smll-171774447100089"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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