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

About the Execution of ITS-Tools for DLCround-PT-13b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1328.128 21346.00 63514.00 58.00 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.r123-smll-171624284000178.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 DLCround-PT-13b, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r123-smll-171624284000178
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.6M
-rw-r--r-- 1 mcc users 6.2K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 64K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.1K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 58K 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.5K Apr 22 14:38 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Apr 22 14:38 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Apr 22 14:38 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Apr 22 14:38 LTLFireability.xml
-rw-r--r-- 1 mcc users 16K Apr 13 12:15 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 175K Apr 13 12:15 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.7K Apr 13 12:14 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 32K Apr 13 12:14 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 22 14:38 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Apr 22 14:38 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 2.1M 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 1716323548410

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=StableMarking
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=DLCround-PT-13b
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
StableMarking PT
Running Version 202405141337
[2024-05-21 20:32:29] [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-21 20:32:29] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-21 20:32:29] [INFO ] Load time of PNML (sax parser for PT used): 287 ms
[2024-05-21 20:32:29] [INFO ] Transformed 5343 places.
[2024-05-21 20:32:29] [INFO ] Transformed 8727 transitions.
[2024-05-21 20:32:29] [INFO ] Found NUPN structural information;
[2024-05-21 20:32:29] [INFO ] Parsed PT model containing 5343 places and 8727 transitions and 24849 arcs in 517 ms.
Graph (trivial) has 4874 edges and 5343 vertex of which 848 / 5343 are part of one of the 60 SCC in 16 ms
Free SCC test removed 788 places
Structural test allowed to assert that 3369 places are NOT stable. Took 63 ms.
Ensure Unique test removed 820 transitions
Reduce redundant transitions removed 820 transitions.
[2024-05-21 20:32:31] [INFO ] Flatten gal took : 515 ms
[2024-05-21 20:32:31] [INFO ] Flatten gal took : 283 ms
[2024-05-21 20:32:31] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality4510439468247804813.gal : 144 ms
[2024-05-21 20:32:31] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality7085870209444413170.prop : 11 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/ReachabilityCardinality4510439468247804813.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality7085870209444413170.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/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
RANDOM walk for 40000 steps (8 resets) in 7282 ms. (5 steps per ms) remains 934/1974 properties
BEST_FIRST walk for 124 steps (8 resets) in 25 ms. (4 steps per ms) remains 934/934 properties
BEST_FIRST walk for 124 steps (8 resets) in 22 ms. (5 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 11 ms. (10 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 13 ms. (8 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 25 ms. (4 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 16 ms. (7 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 29 ms. (4 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 25 ms. (4 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 30 ms. (3 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 20 ms. (5 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 29 ms. (4 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 24 ms. (4 steps per ms) remains 934/934 properties
BEST_FIRST walk for 124 steps (8 resets) in 12 ms. (9 steps per ms) remains 934/934 properties
BEST_FIRST walk for 121 steps (8 resets) in 22 ms. (5 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 16 ms. (7 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 13 ms. (8 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 10 ms. (11 steps per ms) remains 934/934 properties
BEST_FIRST walk for 121 steps (8 resets) in 20 ms. (5 steps per ms) remains 934/934 properties
BEST_FIRST walk for 121 steps (8 resets) in 20 ms. (5 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 7 ms. (15 steps per ms) remains 934/934 properties
BEST_FIRST walk for 124 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 7 ms. (15 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 11 ms. (10 steps per ms) remains 934/934 properties
BEST_FIRST walk for 124 steps (8 resets) in 7 ms. (15 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 7 ms. (15 steps per ms) remains 934/934 properties
BEST_FIRST walk for 124 steps (8 resets) in 6 ms. (17 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 7 ms. (15 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 7 ms. (15 steps per ms) remains 934/934 properties
BEST_FIRST walk for 124 steps (8 resets) in 14 ms. (8 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 124 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 124 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 6 ms. (17 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 8 ms. (13 steps per ms) remains 934/934 properties
BEST_FIRST walk for 123 steps (8 resets) in 9 ms. (12 steps per ms) remains 934/934 properties
BEST_FIRST walk for 122 steps (8 resets) in 12 ms. (9 steps per ms) remains 934/934 properties
[2024-05-21 20:32:32] [INFO ] Flow matrix only has 7848 transitions (discarded 59 similar events)
// Phase 1: matrix 7848 rows 4555 cols
[2024-05-21 20:32:32] [INFO ] Computed 312 invariants in 54 ms
[2024-05-21 20:32:32] [INFO ] State equation strengthened by 1 read => feed constraints.
Loading property file /tmp/ReachabilityCardinality7085870209444413170.prop.
At refinement iteration 0 (INCLUDED_ONLY) 0/934 variables, 934/934 constraints. Problems are: Problem set: 0 solved, 934 unsolved
Solver is answering 'unknown', stopping.
After SMT solving in domain Real declared 934/12403 variables, and 934 constraints, problems are : Problem set: 0 solved, 934 unsolved in 5086 ms.
Refiners :[Domain max(s): 934/4555 constraints, Positive P Invariants (semi-flows): 0/312 constraints, State Equation: 0/4555 constraints, ReadFeed: 0/1 constraints, PredecessorRefiner: 934/934 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 0 solved, 934 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/934 variables, 934/934 constraints. Problems are: Problem set: 0 solved, 934 unsolved
Error getting values : (error "ParserException while parsing response: ((s19 1)
(s20 1)
(s21 1)
(s22 1)
(s23 1)
(s24 1)
(s25 1)
(s26 1)
(s27 1)
(s28 1)
(s29 1)
(s30 1)
(s31 1)
(s32 1)
(s33 1)
(s34 1)
(s35 1)
(s36 1)
(s37 1)
(s38 1)
(s39 1)
(s40 1)
(s41 1)
(s42 1)
(s43 1)
(s44 1)
(s45 1)
(s46 1)
(s47 1)
(s49 1)
(s50 1)
(s51 1)
(s52 1)
(s53 1)
(s54 1)
(s55 1)
(s56 1)
(s58 1)
(s59 1)
(s60 1)
(s61 1)
(s62 1)
(s63 1)
(s64 1)
(s65 1)
(s66 1)
(s67 1)
(s69 1)
(s70 1)
(s71 1)
(s72 1)
(s76 1)
(s77 1)
(s79 1)
(s80 1)
(s81 1)
(s82 1)
(s83 1)
(s84 1)
(s85 1)
(s86 1)
(s87 1)
(s88 1)
(s89 1)
(s90 1)
(s91 1)
(s92 1)
(s93 1)
(s94 1)
(s95 1)
(s107 1)
(s108 1)
(s109 1)
(s110 1)
(s111 1)
(s112 1)
(s113 1)
(s114 1)
(s115 1)
(s116 1)
(s117 1)
(s118 1)
(s119 1)
(s120 1)
(s121 1)
(s122 1)
(s123 1)
(s124 1)
(s125 1)
(s126 1)
(s127 timeout
1 org.smtlib.IParser$ParserException: Unbalanced parentheses at end of input")
Solver is answering 'unknown', stopping.
After SMT solving in domain Int declared 934/12403 variables, and 934 constraints, problems are : Problem set: 0 solved, 934 unsolved in 5034 ms.
Refiners :[Domain max(s): 934/4555 constraints, Positive P Invariants (semi-flows): 0/312 constraints, State Equation: 0/4555 constraints, ReadFeed: 0/1 constraints, PredecessorRefiner: 0/934 constraints, Known Traps: 0/0 constraints]
After SMT, in 11145ms problems are : Problem set: 0 solved, 934 unsolved
Skipping Parikh replay, no witness traces provided.
Support contains 934 out of 4555 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 4555/4555 places, 7907/7907 transitions.
Drop transitions (Empty/Sink Transition effects.) removed 60 transitions
Reduce isomorphic transitions removed 60 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 1358 transitions
Trivial Post-agglo rules discarded 1358 transitions
Performed 1358 trivial Post agglomeration. Transition count delta: 1358
Iterating post reduction 0 with 1418 rules applied. Total rules applied 1418 place count 4555 transition count 6489
Reduce places removed 1358 places and 0 transitions.
Ensure Unique test removed 39 transitions
Reduce isomorphic transitions removed 39 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 28 transitions
Trivial Post-agglo rules discarded 28 transitions
Performed 28 trivial Post agglomeration. Transition count delta: 28
Iterating post reduction 1 with 1425 rules applied. Total rules applied 2843 place count 3197 transition count 6422
Reduce places removed 28 places and 0 transitions.
Iterating post reduction 2 with 28 rules applied. Total rules applied 2871 place count 3169 transition count 6422
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 1 Pre rules applied. Total rules applied 2871 place count 3169 transition count 6421
Deduced a syphon composed of 1 places in 41 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 3 with 2 rules applied. Total rules applied 2873 place count 3168 transition count 6421
Discarding 415 places :
Symmetric choice reduction at 3 with 415 rule applications. Total rules 3288 place count 2753 transition count 6006
Iterating global reduction 3 with 415 rules applied. Total rules applied 3703 place count 2753 transition count 6006
Performed 171 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 171 Pre rules applied. Total rules applied 3703 place count 2753 transition count 5835
Deduced a syphon composed of 171 places in 80 ms
Reduce places removed 171 places and 0 transitions.
Iterating global reduction 3 with 342 rules applied. Total rules applied 4045 place count 2582 transition count 5835
Discarding 80 places :
Symmetric choice reduction at 3 with 80 rule applications. Total rules 4125 place count 2502 transition count 4475
Iterating global reduction 3 with 80 rules applied. Total rules applied 4205 place count 2502 transition count 4475
Ensure Unique test removed 23 transitions
Reduce isomorphic transitions removed 23 transitions.
Iterating post reduction 3 with 23 rules applied. Total rules applied 4228 place count 2502 transition count 4452
Performed 528 Post agglomeration using F-continuation condition with reduction of 11 identical transitions.
Deduced a syphon composed of 528 places in 2 ms
Reduce places removed 528 places and 0 transitions.
Iterating global reduction 4 with 1056 rules applied. Total rules applied 5284 place count 1974 transition count 3913
Ensure Unique test removed 13 transitions
Reduce isomorphic transitions removed 13 transitions.
Iterating post reduction 4 with 13 rules applied. Total rules applied 5297 place count 1974 transition count 3900
Renaming transitions due to excessive name length > 1024 char.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: -15
Deduced a syphon composed of 4 places in 1 ms
Reduce places removed 4 places and 0 transitions.
Iterating global reduction 5 with 8 rules applied. Total rules applied 5305 place count 1970 transition count 3915
Drop transitions (Redundant composition of simpler transitions.) removed 33 transitions
Redundant transition composition rules discarded 33 transitions
Iterating global reduction 5 with 33 rules applied. Total rules applied 5338 place count 1970 transition count 3882
Discarding 20 places :
Symmetric choice reduction at 5 with 20 rule applications. Total rules 5358 place count 1950 transition count 3862
Iterating global reduction 5 with 20 rules applied. Total rules applied 5378 place count 1950 transition count 3862
Discarding 20 places :
Symmetric choice reduction at 5 with 20 rule applications. Total rules 5398 place count 1930 transition count 3522
Iterating global reduction 5 with 20 rules applied. Total rules applied 5418 place count 1930 transition count 3522
Ensure Unique test removed 20 transitions
Reduce isomorphic transitions removed 20 transitions.
Iterating post reduction 5 with 20 rules applied. Total rules applied 5438 place count 1930 transition count 3502
Performed 13 Post agglomeration using F-continuation condition.Transition count delta: 13
Deduced a syphon composed of 13 places in 1 ms
Reduce places removed 13 places and 0 transitions.
Iterating global reduction 6 with 26 rules applied. Total rules applied 5464 place count 1917 transition count 3489
Discarding 13 places :
Symmetric choice reduction at 6 with 13 rule applications. Total rules 5477 place count 1904 transition count 3268
Iterating global reduction 6 with 13 rules applied. Total rules applied 5490 place count 1904 transition count 3268
Ensure Unique test removed 13 transitions
Reduce isomorphic transitions removed 13 transitions.
Iterating post reduction 6 with 13 rules applied. Total rules applied 5503 place count 1904 transition count 3255
Free-agglomeration rule applied 646 times with reduction of 236 identical transitions.
Iterating global reduction 7 with 646 rules applied. Total rules applied 6149 place count 1904 transition count 2373
Reduce places removed 646 places and 0 transitions.
Drop transitions (Empty/Sink Transition effects.) removed 294 transitions
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 296 transitions.
Graph (complete) has 3072 edges and 1258 vertex of which 1168 are kept as prefixes of interest. Removing 90 places using SCC suffix rule.2 ms
Discarding 90 places :
Also discarding 0 output transitions
Iterating post reduction 7 with 943 rules applied. Total rules applied 7092 place count 1168 transition count 2077
Discarding 40 places :
Symmetric choice reduction at 8 with 40 rule applications. Total rules 7132 place count 1128 transition count 1987
Iterating global reduction 8 with 40 rules applied. Total rules applied 7172 place count 1128 transition count 1987
Drop transitions (Redundant composition of simpler transitions.) removed 53 transitions
Redundant transition composition rules discarded 53 transitions
Iterating global reduction 8 with 53 rules applied. Total rules applied 7225 place count 1128 transition count 1934
Applied a total of 7225 rules in 1957 ms. Remains 1128 /4555 variables (removed 3427) and now considering 1934/7907 (removed 5973) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 1966 ms. Remains : 1128/4555 places, 1934/7907 transitions.
RANDOM walk for 588378 steps (0 resets) in 13211 ms. (44 steps per ms) remains 0/934 properties
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
Able to resolve query StableMarking after proving 1976 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK MARKED_SUFFIX_TEST TRIVIAL_UNMARKED_SCC_TEST TOPOLOGICAL
Total runtime 20280 ms.

BK_STOP 1716323569756

--------------------
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="DLCround-PT-13b"
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 DLCround-PT-13b, 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 r123-smll-171624284000178"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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