fond
Model Checking Contest 2025
15th edition, Paris, France, June 24, 2025
Execution of r133-smll-174876529200083
Last Updated
June 24, 2025

About the Execution of ITS-Tools for MedleyA-PT-05

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
0.000 8468.00 0.00 0.00 F normal

Execution Chart

Sorry, for this execution, no execution chart could be reported.

Trace from the execution

Formatting '/data/fkordon/mcc2025-input.r133-smll-174876529200083.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2025-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-5832
Executing tool itstools
Input is MedleyA-PT-05, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r133-smll-174876529200083
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 504K
-rw-r--r-- 1 mcc users 5.8K May 29 14:47 CTLCardinality.txt
-rw-r--r-- 1 mcc users 61K May 29 14:47 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.0K May 29 14:47 CTLFireability.txt
-rw-r--r-- 1 mcc users 46K May 29 14:47 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K May 29 14:47 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 29 14:47 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 29 14:47 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 29 14:47 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K May 29 14:47 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 124K May 29 14:47 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.5K May 29 14:47 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 74K May 29 14:47 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.5K May 29 14:47 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 29 14:47 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 29 14:32 equiv_col
-rw-r--r-- 1 mcc users 3 May 29 14:32 instance
-rw-r--r-- 1 mcc users 6 May 29 14:32 iscolored
-rw-r--r-- 1 mcc users 75K May 29 14:32 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 1748844416248

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=StableMarking
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=MedleyA-PT-05
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
StableMarking PT
Running Version 202505121319
[2025-06-02 06:06:58] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2025-06-02 06:06:58] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2025-06-02 06:06:59] [INFO ] Load time of PNML (sax parser for PT used): 197 ms
[2025-06-02 06:06:59] [INFO ] Transformed 115 places.
[2025-06-02 06:06:59] [INFO ] Transformed 257 transitions.
[2025-06-02 06:06:59] [INFO ] Found NUPN structural information;
[2025-06-02 06:06:59] [INFO ] Parsed PT model containing 115 places and 257 transitions and 1160 arcs in 439 ms.
Structural test allowed to assert that 23 places are NOT stable. Took 16 ms.
Ensure Unique test removed 3 transitions
Reduce redundant transitions removed 3 transitions.
[2025-06-02 06:07:00] [INFO ] Flatten gal took : 163 ms
RANDOM walk for 40000 steps (3005 resets) in 3310 ms. (12 steps per ms) remains 33/92 properties
[2025-06-02 06:07:00] [INFO ] Flatten gal took : 98 ms
BEST_FIRST walk for 4003 steps (51 resets) in 66 ms. (59 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (46 resets) in 58 ms. (67 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (45 resets) in 46 ms. (85 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (48 resets) in 53 ms. (74 steps per ms) remains 33/33 properties
[2025-06-02 06:07:00] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality4469463021285607114.gal : 55 ms
BEST_FIRST walk for 4003 steps (46 resets) in 51 ms. (76 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (46 resets) in 44 ms. (88 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (52 resets) in 53 ms. (74 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (46 resets) in 40 ms. (97 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (45 resets) in 41 ms. (95 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4002 steps (43 resets) in 44 ms. (88 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (42 resets) in 66 ms. (59 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (47 resets) in 41 ms. (95 steps per ms) remains 33/33 properties
[2025-06-02 06:07:00] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality17877339225808732459.prop : 6 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.202505121319/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality4469463021285607114.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality17877339225808732459.prop' '--nowitness' '--gen-order' 'FOLLOW'
BEST_FIRST walk for 4004 steps (44 resets) in 34 ms. (114 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (46 resets) in 37 ms. (105 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (48 resets) in 31 ms. (125 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (52 resets) in 29 ms. (133 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (48 resets) in 45 ms. (87 steps per ms) remains 33/33 properties

its-reach command run as :

BEST_FIRST walk for 4003 steps (44 resets) in 40 ms. (97 steps per ms) remains 33/33 properties
/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202505121319/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
BEST_FIRST walk for 4003 steps (46 resets) in 35 ms. (111 steps per ms) remains 33/33 properties
Loading property file /tmp/ReachabilityCardinality17877339225808732459.prop.
BEST_FIRST walk for 4002 steps (50 resets) in 51 ms. (76 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (48 resets) in 50 ms. (78 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (45 resets) in 37 ms. (105 steps per ms) remains 33/33 properties
SDD proceeding with computation,33 properties remain. new max is 4
SDD size :1 after 3
SDD proceeding with computation,33 properties remain. new max is 8
SDD size :3 after 7
SDD proceeding with computation,33 properties remain. new max is 16
SDD size :7 after 25
SDD proceeding with computation,33 properties remain. new max is 32
SDD size :25 after 44
BEST_FIRST walk for 4003 steps (44 resets) in 87 ms. (45 steps per ms) remains 33/33 properties
SDD proceeding with computation,33 properties remain. new max is 64
SDD size :44 after 91
BEST_FIRST walk for 4004 steps (46 resets) in 35 ms. (111 steps per ms) remains 33/33 properties
Invariant property smplace_5 does not hold.
SDD proceeding with computation,32 properties remain. new max is 64
SDD size :91 after 365
BEST_FIRST walk for 4004 steps (39 resets) in 44 ms. (88 steps per ms) remains 33/33 properties
SDD proceeding with computation,32 properties remain. new max is 128
SDD size :365 after 13489
BEST_FIRST walk for 4003 steps (49 resets) in 40 ms. (97 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (44 resets) in 36 ms. (108 steps per ms) remains 33/33 properties
Invariant property smplace_38 does not hold.
SDD proceeding with computation,31 properties remain. new max is 128
SDD size :13489 after 32391
BEST_FIRST walk for 4002 steps (47 resets) in 45 ms. (87 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4004 steps (46 resets) in 36 ms. (108 steps per ms) remains 33/33 properties
Invariant property smplace_13 does not hold.
Invariant property smplace_11 does not hold.
Invariant property smplace_10 does not hold.
Invariant property smplace_9 does not hold.
Invariant property smplace_8 does not hold.
SDD proceeding with computation,26 properties remain. new max is 128
SDD size :32391 after 230085
BEST_FIRST walk for 4003 steps (38 resets) in 17 ms. (222 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4002 steps (51 resets) in 13 ms. (285 steps per ms) remains 33/33 properties
SDD proceeding with computation,26 properties remain. new max is 256
SDD size :230085 after 258607
BEST_FIRST walk for 4003 steps (47 resets) in 25 ms. (153 steps per ms) remains 33/33 properties
BEST_FIRST walk for 4003 steps (47 resets) in 14 ms. (266 steps per ms) remains 33/33 properties
Invariant property smplace_46 does not hold.
Invariant property smplace_44 does not hold.
Invariant property smplace_43 does not hold.
Invariant property smplace_42 does not hold.
Invariant property smplace_41 does not hold.
SDD proceeding with computation,21 properties remain. new max is 256
SDD size :258607 after 578281
[2025-06-02 06:07:01] [INFO ] Flow matrix only has 253 transitions (discarded 1 similar events)
// Phase 1: matrix 253 rows 115 cols
SDD proceeding with computation,21 properties remain. new max is 512
SDD size :578281 after 931609
[2025-06-02 06:07:01] [INFO ] Computed 20 invariants in 22 ms
[2025-06-02 06:07:01] [INFO ] State equation strengthened by 94 read => feed constraints.
SDD proceeding with computation,21 properties remain. new max is 1024
SDD size :931609 after 3.17169e+06
Starting Z3 with timeout 5.0 s and query timeout 500.0 ms
Invariant property smplace_88 does not hold.
Invariant property smplace_87 does not hold.
Invariant property smplace_45 does not hold.
Invariant property smplace_12 does not hold.
SDD proceeding with computation,17 properties remain. new max is 1024
SDD size :3.17169e+06 after 1.9213e+07
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/21 variables, 21/21 constraints. Problems are: Problem set: 4 solved, 17 unsolved
Invariant property smplace_89 does not hold.
SDD proceeding with computation,16 properties remain. new max is 1024
SDD size :1.9213e+07 after 2.5255e+07
At refinement iteration 1 (INCLUDED_ONLY) 0/21 variables, 0/21 constraints. Problems are: Problem set: 5 solved, 16 unsolved
At refinement iteration 2 (OVERLAPS) 68/89 variables, 10/31 constraints. Problems are: Problem set: 5 solved, 16 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/89 variables, 68/99 constraints. Problems are: Problem set: 5 solved, 16 unsolved
Invariant property smplace_84 does not hold.
Invariant property smplace_81 does not hold.
Invariant property smplace_79 does not hold.
Invariant property smplace_78 does not hold.
Invariant property smplace_77 does not hold.
Invariant property smplace_76 does not hold.
Invariant property smplace_75 does not hold.
Invariant property smplace_74 does not hold.
Invariant property smplace_60 does not hold.
Invariant property smplace_55 does not hold.
Invariant property smplace_27 does not hold.
Invariant property smplace_22 does not hold.
SDD proceeding with computation,4 properties remain. new max is 1024
SDD size :2.5255e+07 after 3.24643e+07
At refinement iteration 4 (INCLUDED_ONLY) 0/89 variables, 0/99 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 5 (OVERLAPS) 12/101 variables, 5/104 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/101 variables, 12/116 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/101 variables, 0/116 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 8 (OVERLAPS) 12/113 variables, 5/121 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/113 variables, 12/133 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 10 (INCLUDED_ONLY) 0/113 variables, 0/133 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 11 (OVERLAPS) 251/364 variables, 113/246 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 12 (INCLUDED_ONLY) 0/364 variables, 93/339 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 13 (INCLUDED_ONLY) 0/364 variables, 0/339 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 14 (OVERLAPS) 3/367 variables, 2/341 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 15 (INCLUDED_ONLY) 0/367 variables, 2/343 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 16 (INCLUDED_ONLY) 0/367 variables, 0/343 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 17 (OVERLAPS) 1/368 variables, 1/344 constraints. Problems are: Problem set: 17 solved, 4 unsolved
SDD proceeding with computation,4 properties remain. new max is 2048
SDD size :3.24643e+07 after 6.06716e+07
At refinement iteration 18 (INCLUDED_ONLY) 0/368 variables, 0/344 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 19 (OVERLAPS) 0/368 variables, 0/344 constraints. Problems are: Problem set: 17 solved, 4 unsolved
No progress, stopping.
After SMT solving in domain Real declared 368/368 variables, and 344 constraints, problems are : Problem set: 17 solved, 4 unsolved in 1057 ms.
Refiners :[Domain max(s): 115/115 constraints, Positive P Invariants (semi-flows): 15/15 constraints, Generalized P Invariants (flows): 5/5 constraints, State Equation: 115/115 constraints, ReadFeed: 94/94 constraints, PredecessorRefiner: 21/21 constraints, Known Traps: 0/0 constraints, Known Traps Along Path: 0/0 constraints]
Escalating to Integer solving :Problem set: 17 solved, 4 unsolved
Starting Z3 with timeout 5.0 s and query timeout 500.0 ms
At refinement iteration 0 (INCLUDED_ONLY) 0/4 variables, 4/4 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/4 variables, 0/4 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 2 (OVERLAPS) 50/54 variables, 7/11 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/54 variables, 50/61 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/54 variables, 0/61 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 5 (OVERLAPS) 46/100 variables, 8/69 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/100 variables, 46/115 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/100 variables, 0/115 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 8 (OVERLAPS) 13/113 variables, 5/120 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/113 variables, 13/133 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 10 (INCLUDED_ONLY) 0/113 variables, 0/133 constraints. Problems are: Problem set: 17 solved, 4 unsolved
SDD proceeding with computation,4 properties remain. new max is 4096
SDD size :6.06716e+07 after 7.80004e+07
At refinement iteration 11 (OVERLAPS) 251/364 variables, 113/246 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 12 (INCLUDED_ONLY) 0/364 variables, 93/339 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 13 (INCLUDED_ONLY) 0/364 variables, 2/341 constraints. Problems are: Problem set: 17 solved, 4 unsolved
Starting Z3 with timeout 120.0 s and query timeout 12000.0 ms
[2025-06-02 06:07:02] [INFO ] Deduced a trap composed of 17 places in 83 ms of which 13 ms to minimize.
At refinement iteration 14 (INCLUDED_ONLY) 0/364 variables, 1/342 constraints. Problems are: Problem set: 17 solved, 4 unsolved
Starting Z3 with timeout 120.0 s and query timeout 12000.0 ms
[2025-06-02 06:07:03] [INFO ] Deduced a trap composed of 17 places in 47 ms of which 6 ms to minimize.
At refinement iteration 15 (INCLUDED_ONLY) 0/364 variables, 1/343 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 16 (INCLUDED_ONLY) 0/364 variables, 0/343 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 17 (OVERLAPS) 3/367 variables, 2/345 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 18 (INCLUDED_ONLY) 0/367 variables, 2/347 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 19 (INCLUDED_ONLY) 0/367 variables, 2/349 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 20 (INCLUDED_ONLY) 0/367 variables, 0/349 constraints. Problems are: Problem set: 17 solved, 4 unsolved
SDD proceeding with computation,4 properties remain. new max is 8192
SDD size :7.80004e+07 after 1.2739e+08
At refinement iteration 21 (OVERLAPS) 1/368 variables, 1/350 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 22 (INCLUDED_ONLY) 0/368 variables, 0/350 constraints. Problems are: Problem set: 17 solved, 4 unsolved
At refinement iteration 23 (OVERLAPS) 0/368 variables, 0/350 constraints. Problems are: Problem set: 17 solved, 4 unsolved
No progress, stopping.
After SMT solving in domain Int declared 368/368 variables, and 350 constraints, problems are : Problem set: 17 solved, 4 unsolved in 1945 ms.
Refiners :[Domain max(s): 115/115 constraints, Positive P Invariants (semi-flows): 15/15 constraints, Generalized P Invariants (flows): 5/5 constraints, State Equation: 115/115 constraints, ReadFeed: 94/94 constraints, PredecessorRefiner: 4/21 constraints, Known Traps: 2/2 constraints, Known Traps Along Path: 0/0 constraints]
After SMT, in 3121ms problems are : Problem set: 17 solved, 4 unsolved
Finished Parikh walk after 3379 steps, including 117 resets, run visited all 1 properties in 13 ms. (steps per millisecond=259 )
Finished Parikh walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
Parikh walk visited 4 properties in 333 ms.
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
Able to resolve query StableMarking after proving 93 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK PARIKH_WALK MARKED_SUFFIX_TEST DECISION_DIAGRAMS COLLATERAL_PROCESSING TOPOLOGICAL
Total runtime 5802 ms.

BK_STOP 1748844424716

--------------------
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
+ [[ StableMarking = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution StableMarking -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
++ 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.202505121319.jar
+ VERSION=202505121319
+ echo 'Running Version 202505121319'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination StableMarking -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="MedleyA-PT-05"
export BK_EXAMINATION="StableMarking"
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-5832"
echo " Executing tool itstools"
echo " Input is MedleyA-PT-05, 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 r133-smll-174876529200083"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/MedleyA-PT-05.tgz
mv MedleyA-PT-05 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.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 ;