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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
5192.712 1035769.00 1279078.00 15485.60 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/mcc2024-input.r642-smll-171774450300068.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-N10P4, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r642-smll-171774450300068
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 211M
-rw-r--r-- 1 mcc users 5.0K Jun 7 06:38 CTLCardinality.txt
-rw-r--r-- 1 mcc users 46K Jun 7 06:38 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.5K Jun 7 06:38 CTLFireability.txt
-rw-r--r-- 1 mcc users 35K Jun 7 06:38 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K 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.3K Jun 7 06:44 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Jun 7 06:44 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 Jun 7 06:26 NewModel
-rw-r--r-- 1 mcc users 12K Jun 7 06:39 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 132K Jun 7 06:39 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.2K Jun 7 06:39 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 75K 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 211M 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

FORMULA_NAME StableMarking

=== Now, execution of the tool begins

BK_START 1717751960482

Invoking MCC driver with
BK_TOOL=ltsminxred
BK_EXAMINATION=StableMarking
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=ResIsolation-PT-N10P4
BK_MEMORY_CONFINEMENT=16384
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202405141337
[2024-06-07 09:19:22] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -timeout, 180, -rebuildPNML]
[2024-06-07 09:19:22] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-06-07 09:19:33] [INFO ] Load time of PNML (sax parser for PT used): 10491 ms
[2024-06-07 09:19:33] [INFO ] Transformed 445 places.
[2024-06-07 09:19:34] [INFO ] Transformed 147855 transitions.
[2024-06-07 09:19:34] [INFO ] Found NUPN structural information;
[2024-06-07 09:19:34] [INFO ] Parsed PT model containing 445 places and 147855 transitions and 4129579 arcs in 11918 ms.
Graph (trivial) has 386 edges and 445 vertex of which 30 / 445 are part of one of the 10 SCC in 29 ms
Free SCC test removed 20 places
Structural test allowed to assert that 157 places are NOT stable. Took 703 ms.
Ensure Unique test removed 20 transitions
Reduce redundant transitions removed 20 transitions.
RANDOM walk for 40000 steps (525 resets) in 32935 ms. (1 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 34 ms. (11 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 42 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 53 ms. (7 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 40 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 42 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 43 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 43 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 46 ms. (8 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 63 ms. (6 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 43 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 42 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 51 ms. (7 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 50 ms. (7 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 28 ms. (13 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 29 ms. (13 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 37 ms. (10 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 27 ms. (14 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 26 ms. (14 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 59 ms. (6 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 31 ms. (12 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 29 ms. (13 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 48 ms. (8 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 39 ms. (10 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 42 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 47 ms. (8 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 46 ms. (8 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 41 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 25 ms. (15 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 32 ms. (12 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 33 ms. (11 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 44 ms. (8 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 57 ms. (6 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 38 ms. (10 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 31 ms. (12 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 28 ms. (13 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 37 ms. (10 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 43 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 45 ms. (8 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 25 ms. (15 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 23 ms. (16 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 58 ms. (6 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 41 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 80 ms. (4 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 24 ms. (16 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 40 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 402 steps (8 resets) in 53 ms. (7 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 41 ms. (9 steps per ms) remains 288/288 properties
BEST_FIRST walk for 404 steps (8 resets) in 24 ms. (16 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 39 ms. (10 steps per ms) remains 288/288 properties
BEST_FIRST walk for 403 steps (8 resets) in 32 ms. (12 steps per ms) remains 288/288 properties
Interrupted probabilistic random walk after 66334 steps, run timeout after 27004 ms. (steps per millisecond=2 ) properties seen :168 out of 288
Probabilistic random walk after 66334 steps, saw 53228 distinct states, run finished after 27012 ms. (steps per millisecond=2 ) properties seen :168
[2024-06-07 09:20:14] [INFO ] Flow matrix only has 147826 transitions (discarded 9 similar events)
// Phase 1: matrix 147826 rows 425 cols
[2024-06-07 09:20:18] [INFO ] Computed 14 invariants in 3719 ms
[2024-06-07 09:20:19] [INFO ] State equation strengthened by 1 read => feed constraints.
At refinement iteration 0 (INCLUDED_ONLY) 0/120 variables, 120/120 constraints. Problems are: Problem set: 0 solved, 120 unsolved
Solver is answering 'unknown', stopping.
After SMT solving in domain Real declared 120/148251 variables, and 120 constraints, problems are : Problem set: 0 solved, 120 unsolved in 5099 ms.
Refiners :[Domain max(s): 120/425 constraints, Positive P Invariants (semi-flows): 0/14 constraints, State Equation: 0/425 constraints, ReadFeed: 0/1 constraints, PredecessorRefiner: 120/12 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 0 solved, 120 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/120 variables, 120/120 constraints. Problems are: Problem set: 0 solved, 120 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/120 variables, 0/120 constraints. Problems are: Problem set: 0 solved, 120 unsolved
At refinement iteration 2 (OVERLAPS) 305/425 variables, 14/134 constraints. Problems are: Problem set: 0 solved, 120 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/425 variables, 305/439 constraints. Problems are: Problem set: 0 solved, 120 unsolved
SMT process timed out in 136841ms, After SMT, problems are : Problem set: 0 solved, 120 unsolved
Skipping Parikh replay, no witness traces provided.
Support contains 120 out of 425 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 425/425 places, 147835/147835 transitions.
Graph (complete) has 6094 edges and 425 vertex of which 383 are kept as prefixes of interest. Removing 42 places using SCC suffix rule.1694 ms
Discarding 42 places :
Also discarding 28 output transitions
Drop transitions (Output transitions of discarded places.) removed 28 transitions
Drop transitions (Empty/Sink Transition effects.) removed 24 transitions
Reduce isomorphic transitions removed 24 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 54 transitions
Trivial Post-agglo rules discarded 54 transitions
Performed 54 trivial Post agglomeration. Transition count delta: 54
Iterating post reduction 0 with 78 rules applied. Total rules applied 79 place count 383 transition count 147729
Reduce places removed 54 places and 0 transitions.
Iterating post reduction 1 with 54 rules applied. Total rules applied 133 place count 329 transition count 147729
Discarding 126 places :
Symmetric choice reduction at 2 with 126 rule applications. Total rules 259 place count 203 transition count 147603
Iterating global reduction 2 with 126 rules applied. Total rules applied 385 place count 203 transition count 147603
Ensure Unique test removed 8 transitions
Reduce isomorphic transitions removed 8 transitions.
Iterating post reduction 2 with 8 rules applied. Total rules applied 393 place count 203 transition count 147595
Performed 14 Post agglomeration using F-continuation condition.
Performed 16 Post agglomeration using F-continuation condition.
Performed 18 Post agglomeration using F-continuation condition.
Performed 20 Post agglomeration using F-continuation condition.
Performed 22 Post agglomeration using F-continuation condition.
Performed 24 Post agglomeration using F-continuation condition.
Performed 26 Post agglomeration using F-continuation condition.
Performed 26 Post agglomeration using F-continuation condition.Transition count delta: 26
Deduced a syphon composed of 26 places in 90 ms
Reduce places removed 26 places and 0 transitions.
Iterating global reduction 3 with 52 rules applied. Total rules applied 445 place count 177 transition count 147569
Drop transitions (Empty/Sink Transition effects.) removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 3 with 1 rules applied. Total rules applied 446 place count 177 transition count 147568
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 4 with 1 rules applied. Total rules applied 447 place count 176 transition count 147567
Applied a total of 447 rules in 352527 ms. Remains 176 /425 variables (removed 249) and now considering 147567/147835 (removed 268) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 352566 ms. Remains : 176/425 places, 147567/147835 transitions.
RANDOM walk for 894 steps (33 resets) in 122579 ms. (0 steps per ms) remains 2/120 properties
BEST_FIRST walk for 836033 steps (6 resets) in 21732 ms. (38 steps per ms) remains 1/2 properties
// Phase 1: matrix 147567 rows 176 cols
[2024-06-07 09:29:02] [INFO ] Computed 14 invariants in 1484 ms
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/1 variables, 0/0 constraints. Problems are: Problem set: 0 solved, 1 unsolved
At refinement iteration 1 (OVERLAPS) 9/10 variables, 1/1 constraints. Problems are: Problem set: 0 solved, 1 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/10 variables, 0/1 constraints. Problems are: Problem set: 0 solved, 1 unsolved
Solver is answering 'unknown', stopping.
After SMT solving in domain Real declared 73744/147743 variables, and 11 constraints, problems are : Problem set: 0 solved, 1 unsolved in 29923 ms.
Refiners :[Positive P Invariants (semi-flows): 1/14 constraints, State Equation: 10/176 constraints, PredecessorRefiner: 1/0 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 0 solved, 1 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/1 variables, 0/0 constraints. Problems are: Problem set: 0 solved, 1 unsolved
At refinement iteration 1 (OVERLAPS) 9/10 variables, 1/1 constraints. Problems are: Problem set: 0 solved, 1 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/10 variables, 0/1 constraints. Problems are: Problem set: 0 solved, 1 unsolved
Solver is answering 'unknown', stopping.
After SMT solving in domain Int declared 73744/147743 variables, and 11 constraints, problems are : Problem set: 0 solved, 1 unsolved in 31328 ms.
Refiners :[Positive P Invariants (semi-flows): 1/14 constraints, State Equation: 10/176 constraints, PredecessorRefiner: 1/0 constraints, Known Traps: 0/0 constraints]
After SMT, in 63660ms problems are : Problem set: 0 solved, 1 unsolved
Parikh walk visited 0 properties in 700 ms.
Support contains 1 out of 176 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 176/176 places, 147567/147567 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 12 transitions
Trivial Post-agglo rules discarded 12 transitions
Performed 12 trivial Post agglomeration. Transition count delta: 12
Iterating post reduction 0 with 12 rules applied. Total rules applied 12 place count 176 transition count 147555
Reduce places removed 12 places and 0 transitions.
Iterating post reduction 1 with 12 rules applied. Total rules applied 24 place count 164 transition count 147555
Discarding 69 places :
Symmetric choice reduction at 2 with 69 rule applications. Total rules 93 place count 95 transition count 147486
Iterating global reduction 2 with 69 rules applied. Total rules applied 162 place count 95 transition count 147486
Ensure Unique test removed 2557 transitions
Reduce isomorphic transitions removed 2557 transitions.
Iterating post reduction 2 with 2557 rules applied. Total rules applied 2719 place count 95 transition count 144929
Performed 2 Post agglomeration using F-continuation condition.
Performed 5 Post agglomeration using F-continuation condition.
Performed 8 Post agglomeration using F-continuation condition.
Performed 11 Post agglomeration using F-continuation condition.
Performed 14 Post agglomeration using F-continuation condition.
Performed 14 Post agglomeration using F-continuation condition.Transition count delta: 14
Deduced a syphon composed of 14 places in 46 ms
Reduce places removed 14 places and 0 transitions.
Iterating global reduction 3 with 28 rules applied. Total rules applied 2747 place count 81 transition count 144915
Free-agglomeration rule applied 24 times.
Iterating global reduction 3 with 24 rules applied. Total rules applied 2771 place count 81 transition count 144891
Reduce places removed 24 places and 0 transitions.
Ensure Unique test removed 38400 transitions
Reduce isomorphic transitions removed 38400 transitions.
Iterating post reduction 3 with 38424 rules applied. Total rules applied 41195 place count 57 transition count 106491
Applied a total of 41195 rules in 360388 ms. Remains 57 /176 variables (removed 119) and now considering 106491/147567 (removed 41076) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 360388 ms. Remains : 57/176 places, 106491/147567 transitions.
RANDOM walk for 133 steps (0 resets) in 77847 ms. (0 steps per ms) remains 0/1 properties
Able to resolve query StableMarking after proving 290 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK PROBABILISTIC_WALK MARKED_SUFFIX_TEST TRIVIAL_UNMARKED_SCC_TEST BESTFIRST_WALK TOPOLOGICAL
Total runtime 1033200 ms.
ITS solved all properties within timeout

BK_STOP 1717752996251

--------------------
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 StableMarking -timeout 180 -rebuildPNML

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

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