fond
Model Checking Contest 2026
16th edition, Hamburg, Germany, June 23, 2026
Execution of r338-smll-178021499200310
Last Updated
Jun 17, 2026

About the Execution of ITS-Tools for ErlangenMainframeV2-PT-bP13C02

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
10209.023 95320.00 299234.00 394.50 FTFTTTFFFFTTTTFT normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2026-input.r338-smll-178021499200310.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2026-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-5973
Executing tool itstools
Input is ErlangenMainframeV2-PT-bP13C02, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r338-smll-178021499200310
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 87M
-rw-r--r-- 1 mcc users 6.1K May 27 10:17 CTLCardinality.txt
-rw-r--r-- 1 mcc users 60K May 27 10:17 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.4K May 27 10:16 CTLFireability.txt
-rw-r--r-- 1 mcc users 42K May 27 10:16 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 27 10:45 LTLCardinality.txt
-rw-r--r-- 1 mcc users 30K May 27 10:45 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K May 27 10:46 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 27 10:46 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 26 18:17 NewModel
-rw-r--r-- 1 mcc users 15K May 27 10:19 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 167K May 27 10:19 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.3K May 27 10:18 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 56K May 27 10:18 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K May 27 10:46 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May 27 10:46 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 26 18:17 equiv_col
-rw-r--r-- 1 mcc users 8 May 26 18:17 instance
-rw-r--r-- 1 mcc users 6 May 26 18:17 iscolored
-rw-r--r-- 1 mcc users 86M May 26 18:17 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

echo here is the order used to build the result vector(from xml file)
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-00
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-01
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-02
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-03
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-04
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-05
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-06
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-07
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-08
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-09
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-10
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-11
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-12
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-13
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-14
FORMULA_NAME ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-15

=== Now, execution of the tool begins

BK_START 1780432177020

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ErlangenMainframeV2-PT-bP13C02
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
ReachabilityCardinality PT
Running Version 202604301425
[2026-06-02 20:29:39] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2026-06-02 20:29:39] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2026-06-02 20:29:44] [INFO ] Load time of PNML (sax parser for PT used): 4840 ms
[2026-06-02 20:29:44] [INFO ] Transformed 342 places.
[2026-06-02 20:29:44] [INFO ] Transformed 55649 transitions.
[2026-06-02 20:29:44] [INFO ] Found NUPN structural information;
[2026-06-02 20:29:44] [INFO ] Parsed PT model containing 342 places and 55649 transitions and 1733525 arcs in 5666 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 31 ms.
Working with output stream class java.io.PrintStream
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2026-06-02 20:30:08] [INFO ] Flatten gal took : 19897 ms
RANDOM walk for 37274 steps (8 resets) in 120011 ms. (0 steps per ms) remains 5/12 properties
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
BEST_FIRST walk for 15290 steps (2 resets) in 20015 ms. (0 steps per ms) remains 4/5 properties
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-01 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
[2026-06-02 20:30:25] [INFO ] Flatten gal took : 17430 ms
BEST_FIRST walk for 17659 steps (2 resets) in 17498 ms. (1 steps per ms) remains 4/4 properties
[2026-06-02 20:30:28] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality10699747795858335660.gal : 2358 ms
[2026-06-02 20:30:28] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality943806998036021119.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.202604301425/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality10699747795858335660.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality943806998036021119.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.202604301425/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...328
BEST_FIRST walk for 40004 steps (8 resets) in 11282 ms. (3 steps per ms) remains 4/4 properties
BEST_FIRST walk for 21227 steps (3 resets) in 19698 ms. (1 steps per ms) remains 3/4 properties
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-15 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Running PetriSpot : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.petrispot.binaries_1.0.0.202604301425/bin/petri64' '--loadKERS=/tmp/petrispot-input-2721582586774189540.kers' '--Pflows' '--basisKERS=/tmp/petrispot-output-15657163986117301382.kers'
[2026-06-02 20:30:34] [INFO ] Running PetriSpot with arguments : [--loadKERS=/tmp/petrispot-input-2721582586774189540.kers, --Pflows, --basisKERS=/tmp/petrispot-output-15657163986117301382.kers]
Culled 0 columns in 313 ms.
// Phase 1: matrix 55649 rows 342 cols 1733525 entries
Finished phase 1 with 305 SingleSign rule and 3 generalized
[2026-06-02 20:30:36] [INFO ] Computed 34 invariants in 1413 ms
Computed 34 P flows in 1415 ms.
Exported basis to /tmp/petrispot-output-15657163986117301382.kers
Total runtime 1656 ms.
Excessive predecessor constraint size, skipping predecessor.
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/51 variables, 51/51 constraints. Problems are: Problem set: 0 solved, 3 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/51 variables, 0/51 constraints. Problems are: Problem set: 0 solved, 3 unsolved
At refinement iteration 2 (OVERLAPS) 153/204 variables, 20/71 constraints. Problems are: Problem set: 0 solved, 3 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/204 variables, 153/224 constraints. Problems are: Problem set: 0 solved, 3 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/204 variables, 0/224 constraints. Problems are: Problem set: 0 solved, 3 unsolved
Problem ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-07 is UNSAT
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-07 FALSE TECHNIQUES SMT_REFINEMENT
At refinement iteration 5 (OVERLAPS) 138/342 variables, 14/238 constraints. Problems are: Problem set: 1 solved, 2 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/342 variables, 138/376 constraints. Problems are: Problem set: 1 solved, 2 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/342 variables, 0/376 constraints. Problems are: Problem set: 1 solved, 2 unsolved
SMT process timed out in 7943ms, After SMT, problems are : Problem set: 1 solved, 2 unsolved
Skipping Parikh replay, no witness traces provided.
Support contains 22 out of 342 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 342/342 places, 55649/55649 transitions.
Graph (trivial) has 252 edges and 342 vertex of which 12 / 342 are part of one of the 5 SCC in 28 ms
Free SCC test removed 7 places
Drop transitions (Empty/Sink Transition effects.) removed 13 transitions
Reduce isomorphic transitions removed 13 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 103 transitions
Trivial Post-agglo rules discarded 103 transitions
Performed 103 trivial Post agglomeration. Transition count delta: 103
Iterating post reduction 0 with 103 rules applied. Total rules applied 104 place count 335 transition count 55533
Reduce places removed 103 places and 0 transitions.
Ensure Unique test removed 7 transitions
Reduce isomorphic transitions removed 7 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 2 transitions
Trivial Post-agglo rules discarded 2 transitions
Performed 2 trivial Post agglomeration. Transition count delta: 2
Iterating post reduction 1 with 112 rules applied. Total rules applied 216 place count 232 transition count 55524
Reduce places removed 2 places and 0 transitions.
Performed 9 Post agglomeration using F-continuation condition.Transition count delta: 9
Iterating post reduction 2 with 11 rules applied. Total rules applied 227 place count 230 transition count 55515
Reduce places removed 9 places and 0 transitions.
Iterating post reduction 3 with 9 rules applied. Total rules applied 236 place count 221 transition count 55515
Performed 9 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 9 Pre rules applied. Total rules applied 236 place count 221 transition count 55506
Deduced a syphon composed of 9 places in 103 ms
Ensure Unique test removed 1 places
Reduce places removed 10 places and 0 transitions.
Iterating global reduction 4 with 19 rules applied. Total rules applied 255 place count 211 transition count 55506
Discarding 33 places :
Symmetric choice reduction at 4 with 33 rule applications. Total rules 288 place count 178 transition count 55473
Iterating global reduction 4 with 33 rules applied. Total rules applied 321 place count 178 transition count 55473
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 4 with 3 rules applied. Total rules applied 324 place count 178 transition count 55470
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 5 with 1 rules applied. Total rules applied 325 place count 177 transition count 55470
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 6 with 3 Pre rules applied. Total rules applied 325 place count 177 transition count 55467
Deduced a syphon composed of 3 places in 117 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 6 with 6 rules applied. Total rules applied 331 place count 174 transition count 55467
Discarding 13 places :
Symmetric choice reduction at 6 with 13 rule applications. Total rules 344 place count 161 transition count 37046
Ensure Unique test removed 8 places
Iterating global reduction 6 with 21 rules applied. Total rules applied 365 place count 153 transition count 37046
Discarding 8 places :
Symmetric choice reduction at 6 with 8 rule applications. Total rules 373 place count 145 transition count 438
Iterating global reduction 6 with 8 rules applied. Total rules applied 381 place count 145 transition count 438
Performed 45 Post agglomeration using F-continuation condition.Transition count delta: 45
Deduced a syphon composed of 45 places in 0 ms
Reduce places removed 45 places and 0 transitions.
Iterating global reduction 6 with 90 rules applied. Total rules applied 471 place count 100 transition count 393
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: -19
Deduced a syphon composed of 5 places in 1 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 6 with 10 rules applied. Total rules applied 481 place count 95 transition count 412
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 6 with 2 rules applied. Total rules applied 483 place count 95 transition count 410
Discarding 1 places :
Symmetric choice reduction at 7 with 1 rule applications. Total rules 484 place count 94 transition count 408
Iterating global reduction 7 with 1 rules applied. Total rules applied 485 place count 94 transition count 408
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 7 with 1 rules applied. Total rules applied 486 place count 94 transition count 407
Drop transitions (Redundant composition of simpler transitions.) removed 5 transitions
Redundant transition composition rules discarded 5 transitions
Iterating global reduction 8 with 5 rules applied. Total rules applied 491 place count 94 transition count 402
Free-agglomeration rule applied 14 times.
Iterating global reduction 8 with 14 rules applied. Total rules applied 505 place count 94 transition count 388
Reduce places removed 14 places and 0 transitions.
Drop transitions (Empty/Sink Transition effects.) removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 8 with 16 rules applied. Total rules applied 521 place count 80 transition count 386
Drop transitions (Redundant composition of simpler transitions.) removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 9 with 1 rules applied. Total rules applied 522 place count 80 transition count 385
Free-agglomeration rule (complex) applied 3 times.
Iterating global reduction 9 with 3 rules applied. Total rules applied 525 place count 80 transition count 1158
Reduce places removed 3 places and 0 transitions.
Iterating post reduction 9 with 3 rules applied. Total rules applied 528 place count 77 transition count 1158
Partial Post-agglomeration rule applied 2 times.
Drop transitions (Partial Post agglomeration) removed 2 transitions
Iterating global reduction 10 with 2 rules applied. Total rules applied 530 place count 77 transition count 1158
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 10 with 1 rules applied. Total rules applied 531 place count 76 transition count 1157
Applied a total of 531 rules in 29060 ms. Remains 76 /342 variables (removed 266) and now considering 1157/55649 (removed 54492) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 29079 ms. Remains : 76/342 places, 1157/55649 transitions.
RANDOM walk for 246 steps (0 resets) in 138 ms. (1 steps per ms) remains 0/2 properties
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ErlangenMainframeV2-PT-bP13C02-ReachabilityCardinality-2024-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
All properties solved without resorting to model-checking.
Total runtime 93194 ms.

BK_STOP 1780432272340

--------------------
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
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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.202604301425.jar
+ VERSION=202604301425
+ echo 'Running Version 202604301425'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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="ErlangenMainframeV2-PT-bP13C02"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-5973"
echo " Executing tool itstools"
echo " Input is ErlangenMainframeV2-PT-bP13C02, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r338-smll-178021499200310"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/ErlangenMainframeV2-PT-bP13C02.tgz
mv ErlangenMainframeV2-PT-bP13C02 execution
cd execution
if [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "UpperBounds" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] || [ "ReachabilityCardinality" = "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 [ "ReachabilityCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityCardinality" != "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 "ReachabilityCardinality.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 '' ReachabilityCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityCardinality"
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 ;