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

About the Execution of ITS-Tools for AutoFlight-PT-02b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
326.079 12828.00 38768.00 241.40 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.r035-smll-171620175400053.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 itstools
Input is AutoFlight-PT-02b, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r035-smll-171620175400053
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 568K
-rw-r--r-- 1 mcc users 8.0K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 89K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 57K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:42 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.8K Apr 22 14:28 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 22 14:28 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Apr 22 14:28 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 22 14:28 LTLFireability.xml
-rw-r--r-- 1 mcc users 15K Apr 12 22:24 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 164K Apr 12 22:24 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.5K Apr 12 22:23 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 75K Apr 12 22:23 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 22 14:28 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Apr 22 14:28 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:42 equiv_col
-rw-r--r-- 1 mcc users 4 May 18 16:42 instance
-rw-r--r-- 1 mcc users 6 May 18 16:42 iscolored
-rw-r--r-- 1 mcc users 48K May 18 16:42 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 1716215965797

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=StableMarking
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=AutoFlight-PT-02b
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
StableMarking PT
Running Version 202405141337
[2024-05-20 14:39:28] [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]
[2024-05-20 14:39:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-20 14:39:28] [INFO ] Load time of PNML (sax parser for PT used): 163 ms
[2024-05-20 14:39:28] [INFO ] Transformed 206 places.
[2024-05-20 14:39:28] [INFO ] Transformed 204 transitions.
[2024-05-20 14:39:28] [INFO ] Found NUPN structural information;
[2024-05-20 14:39:28] [INFO ] Parsed PT model containing 206 places and 204 transitions and 478 arcs in 408 ms.
Structural test allowed to assert that 121 places are NOT stable. Took 16 ms.
[2024-05-20 14:39:30] [INFO ] Flatten gal took : 223 ms
[2024-05-20 14:39:30] [INFO ] Flatten gal took : 94 ms
[2024-05-20 14:39:30] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality5303109823968969995.gal : 71 ms
RANDOM walk for 40000 steps (352 resets) in 3851 ms. (10 steps per ms) remains 20/85 properties
[2024-05-20 14:39:30] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2892272507775063233.prop : 2 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.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality5303109823968969995.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality2892272507775063233.prop' '--nowitness' '--gen-order' 'FOLLOW'
BEST_FIRST walk for 4004 steps (8 resets) in 94 ms. (42 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 61 ms. (64 steps per ms) remains 20/20 properties

its-reach command run as :

BEST_FIRST walk for 4004 steps (8 resets) in 81 ms. (48 steps per ms) remains 20/20 properties
/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...328
BEST_FIRST walk for 4003 steps (8 resets) in 53 ms. (74 steps per ms) remains 20/20 properties
Loading property file /tmp/ReachabilityCardinality2892272507775063233.prop.
BEST_FIRST walk for 4004 steps (8 resets) in 41 ms. (95 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 71 ms. (55 steps per ms) remains 20/20 properties
SDD proceeding with computation,20 properties remain. new max is 4
SDD size :1 after 3
SDD proceeding with computation,20 properties remain. new max is 8
SDD size :3 after 8
BEST_FIRST walk for 4003 steps (8 resets) in 65 ms. (60 steps per ms) remains 20/20 properties
SDD proceeding with computation,20 properties remain. new max is 16
SDD size :8 after 18
SDD proceeding with computation,20 properties remain. new max is 32
SDD size :18 after 33
SDD proceeding with computation,20 properties remain. new max is 64
SDD size :33 after 461
SDD proceeding with computation,20 properties remain. new max is 128
SDD size :461 after 198971
SDD proceeding with computation,20 properties remain. new max is 256
SDD size :198971 after 1.34818e+09
BEST_FIRST walk for 4004 steps (8 resets) in 88 ms. (44 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 73 ms. (54 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 48 ms. (81 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 49 ms. (80 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 53 ms. (74 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4003 steps (8 resets) in 39 ms. (100 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 37 ms. (105 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4003 steps (8 resets) in 27 ms. (142 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4003 steps (8 resets) in 27 ms. (142 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4003 steps (8 resets) in 43 ms. (90 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 25 ms. (154 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4004 steps (8 resets) in 56 ms. (70 steps per ms) remains 20/20 properties
BEST_FIRST walk for 4002 steps (8 resets) in 27 ms. (142 steps per ms) remains 20/20 properties
// Phase 1: matrix 204 rows 206 cols
[2024-05-20 14:39:30] [INFO ] Computed 16 invariants in 16 ms
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/20 variables, 20/20 constraints. Problems are: Problem set: 0 solved, 20 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/20 variables, 0/20 constraints. Problems are: Problem set: 0 solved, 20 unsolved
SDD proceeding with computation,20 properties remain. new max is 512
SDD size :5.01234e+11 after 5.01425e+11
At refinement iteration 2 (OVERLAPS) 99/119 variables, 6/26 constraints. Problems are: Problem set: 0 solved, 20 unsolved
Invariant property smplace_132 does not hold.
Invariant property smplace_131 does not hold.
Invariant property smplace_130 does not hold.
Invariant property smplace_80 does not hold.
Invariant property smplace_79 does not hold.
Invariant property smplace_78 does not hold.
Invariant property smplace_41 does not hold.
Invariant property smplace_40 does not hold.
Invariant property smplace_39 does not hold.
SDD proceeding with computation,11 properties remain. new max is 512
SDD size :5.01425e+11 after 5.03064e+11
At refinement iteration 3 (INCLUDED_ONLY) 0/119 variables, 99/125 constraints. Problems are: Problem set: 9 solved, 11 unsolved
SDD proceeding with computation,11 properties remain. new max is 1024
SDD size :5.03064e+11 after 5.06446e+11
At refinement iteration 4 (INCLUDED_ONLY) 0/119 variables, 0/125 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 5 (OVERLAPS) 77/196 variables, 9/134 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/196 variables, 77/211 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/196 variables, 0/211 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 8 (OVERLAPS) 10/206 variables, 1/212 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/206 variables, 10/222 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 10 (INCLUDED_ONLY) 0/206 variables, 0/222 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 11 (OVERLAPS) 204/410 variables, 206/428 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 12 (INCLUDED_ONLY) 0/410 variables, 0/428 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 13 (OVERLAPS) 0/410 variables, 0/428 constraints. Problems are: Problem set: 9 solved, 11 unsolved
No progress, stopping.
After SMT solving in domain Real declared 410/410 variables, and 428 constraints, problems are : Problem set: 9 solved, 11 unsolved in 1379 ms.
Refiners :[Domain max(s): 206/206 constraints, Positive P Invariants (semi-flows): 15/15 constraints, Generalized P Invariants (flows): 1/1 constraints, State Equation: 206/206 constraints, PredecessorRefiner: 20/20 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 9 solved, 11 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/11 variables, 11/11 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/11 variables, 0/11 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 2 (OVERLAPS) 88/99 variables, 5/16 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/99 variables, 88/104 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/99 variables, 0/104 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 5 (OVERLAPS) 94/193 variables, 10/114 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/193 variables, 94/208 constraints. Problems are: Problem set: 9 solved, 11 unsolved
[2024-05-20 14:39:32] [INFO ] Deduced a trap composed of 20 places in 107 ms of which 27 ms to minimize.
At refinement iteration 7 (INCLUDED_ONLY) 0/193 variables, 1/209 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/193 variables, 0/209 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 9 (OVERLAPS) 13/206 variables, 1/210 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 10 (INCLUDED_ONLY) 0/206 variables, 13/223 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 11 (INCLUDED_ONLY) 0/206 variables, 0/223 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 12 (OVERLAPS) 204/410 variables, 206/429 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 13 (INCLUDED_ONLY) 0/410 variables, 11/440 constraints. Problems are: Problem set: 9 solved, 11 unsolved
[2024-05-20 14:39:33] [INFO ] Deduced a trap composed of 27 places in 103 ms of which 2 ms to minimize.
[2024-05-20 14:39:33] [INFO ] Deduced a trap composed of 56 places in 90 ms of which 1 ms to minimize.
[2024-05-20 14:39:33] [INFO ] Deduced a trap composed of 41 places in 79 ms of which 1 ms to minimize.
[2024-05-20 14:39:33] [INFO ] Deduced a trap composed of 43 places in 61 ms of which 1 ms to minimize.
[2024-05-20 14:39:33] [INFO ] Deduced a trap composed of 22 places in 86 ms of which 2 ms to minimize.
[2024-05-20 14:39:34] [INFO ] Deduced a trap composed of 32 places in 69 ms of which 2 ms to minimize.
[2024-05-20 14:39:34] [INFO ] Deduced a trap composed of 41 places in 72 ms of which 2 ms to minimize.
At refinement iteration 14 (INCLUDED_ONLY) 0/410 variables, 7/447 constraints. Problems are: Problem set: 9 solved, 11 unsolved
[2024-05-20 14:39:34] [INFO ] Deduced a trap composed of 25 places in 55 ms of which 2 ms to minimize.
[2024-05-20 14:39:34] [INFO ] Deduced a trap composed of 15 places in 52 ms of which 2 ms to minimize.
[2024-05-20 14:39:34] [INFO ] Deduced a trap composed of 28 places in 45 ms of which 2 ms to minimize.
At refinement iteration 15 (INCLUDED_ONLY) 0/410 variables, 3/450 constraints. Problems are: Problem set: 9 solved, 11 unsolved
[2024-05-20 14:39:34] [INFO ] Deduced a trap composed of 62 places in 76 ms of which 1 ms to minimize.
[2024-05-20 14:39:34] [INFO ] Deduced a trap composed of 34 places in 86 ms of which 11 ms to minimize.
At refinement iteration 16 (INCLUDED_ONLY) 0/410 variables, 2/452 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 17 (INCLUDED_ONLY) 0/410 variables, 0/452 constraints. Problems are: Problem set: 9 solved, 11 unsolved
At refinement iteration 18 (OVERLAPS) 0/410 variables, 0/452 constraints. Problems are: Problem set: 9 solved, 11 unsolved
No progress, stopping.
After SMT solving in domain Int declared 410/410 variables, and 452 constraints, problems are : Problem set: 9 solved, 11 unsolved in 2894 ms.
Refiners :[Domain max(s): 206/206 constraints, Positive P Invariants (semi-flows): 15/15 constraints, Generalized P Invariants (flows): 1/1 constraints, State Equation: 206/206 constraints, PredecessorRefiner: 11/20 constraints, Known Traps: 13/13 constraints]
After SMT, in 4374ms problems are : Problem set: 9 solved, 11 unsolved
Fused 11 Parikh solutions to 9 different solutions.
Parikh walk visited 10 properties in 3176 ms.
Support contains 1 out of 206 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 206/206 places, 204/204 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 78 transitions
Trivial Post-agglo rules discarded 78 transitions
Performed 78 trivial Post agglomeration. Transition count delta: 78
Iterating post reduction 0 with 78 rules applied. Total rules applied 78 place count 206 transition count 126
Reduce places removed 78 places and 0 transitions.
Ensure Unique test removed 10 transitions
Reduce isomorphic transitions removed 10 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 4 transitions
Trivial Post-agglo rules discarded 4 transitions
Performed 4 trivial Post agglomeration. Transition count delta: 4
Iterating post reduction 1 with 92 rules applied. Total rules applied 170 place count 128 transition count 112
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 2 with 4 rules applied. Total rules applied 174 place count 124 transition count 112
Performed 30 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 30 Pre rules applied. Total rules applied 174 place count 124 transition count 82
Deduced a syphon composed of 30 places in 1 ms
Reduce places removed 30 places and 0 transitions.
Iterating global reduction 3 with 60 rules applied. Total rules applied 234 place count 94 transition count 82
Discarding 19 places :
Symmetric choice reduction at 3 with 19 rule applications. Total rules 253 place count 75 transition count 63
Iterating global reduction 3 with 19 rules applied. Total rules applied 272 place count 75 transition count 63
Performed 6 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 6 Pre rules applied. Total rules applied 272 place count 75 transition count 57
Deduced a syphon composed of 6 places in 1 ms
Reduce places removed 6 places and 0 transitions.
Iterating global reduction 3 with 12 rules applied. Total rules applied 284 place count 69 transition count 57
Performed 17 Post agglomeration using F-continuation condition.Transition count delta: 17
Deduced a syphon composed of 17 places in 1 ms
Reduce places removed 17 places and 0 transitions.
Iterating global reduction 3 with 34 rules applied. Total rules applied 318 place count 52 transition count 40
Free-agglomeration rule applied 8 times.
Iterating global reduction 3 with 8 rules applied. Total rules applied 326 place count 52 transition count 32
Reduce places removed 8 places and 0 transitions.
Iterating post reduction 3 with 8 rules applied. Total rules applied 334 place count 44 transition count 32
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 4 with 1 rules applied. Total rules applied 335 place count 43 transition count 31
Reduce places removed 8 places and 0 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 4 with 20 rules applied. Total rules applied 355 place count 35 transition count 19
Reduce places removed 12 places and 0 transitions.
Iterating post reduction 5 with 12 rules applied. Total rules applied 367 place count 23 transition count 19
Performed 6 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 6 with 6 Pre rules applied. Total rules applied 367 place count 23 transition count 13
Deduced a syphon composed of 6 places in 0 ms
Reduce places removed 6 places and 0 transitions.
Iterating global reduction 6 with 12 rules applied. Total rules applied 379 place count 17 transition count 13
Applied a total of 379 rules in 76 ms. Remains 17 /206 variables (removed 189) and now considering 13/204 (removed 191) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 104 ms. Remains : 17/206 places, 13/204 transitions.
RANDOM walk for 100 steps (0 resets) in 6 ms. (14 steps per ms) remains 0/1 properties
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
Able to resolve query StableMarking after proving 86 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK PARIKH_WALK MARKED_SUFFIX_TEST DECISION_DIAGRAMS COLLATERAL_PROCESSING TOPOLOGICAL
Total runtime 10135 ms.

BK_STOP 1716215978625

--------------------
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
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /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="AutoFlight-PT-02b"
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-5568"
echo " Executing tool itstools"
echo " Input is AutoFlight-PT-02b, 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 r035-smll-171620175400053"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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