fond
Model Checking Contest 2026
16th edition, Hamburg, Germany, June 23, 2026
Execution of r354-tall-178024402900223
Last Updated
Jun 17, 2026

About the Execution of ITS-Tools for SupplyChain-PT-00500

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1046.840 19369.00 57432.00 91.90 TFFTFFTTFFFTFTTF 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.r354-tall-178024402900223.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 SupplyChain-PT-00500, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r354-tall-178024402900223
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.5M
-rw-r--r-- 1 mcc users 7.0K May 27 07:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 72K May 27 07:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.2K May 27 07:04 CTLFireability.txt
-rw-r--r-- 1 mcc users 45K May 27 07:04 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K May 27 10:59 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 27 10:59 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 27 11:00 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 27 11:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 26 18:17 NewModel
-rw-r--r-- 1 mcc users 11K May 27 07:05 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 113K May 27 07:05 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.1K May 27 07:05 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 66K May 27 07:05 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 27 11:00 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 27 11:00 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 26 18:17 equiv_col
-rw-r--r-- 1 mcc users 6 May 26 18:17 instance
-rw-r--r-- 1 mcc users 6 May 26 18:17 iscolored
-rw-r--r-- 1 mcc users 2.1M 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 SupplyChain-PT-00500-ReachabilityFireability-2024-00
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-01
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-02
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-03
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-04
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-05
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-06
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-07
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-08
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-09
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-10
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-11
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-12
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-13
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-14
FORMULA_NAME SupplyChain-PT-00500-ReachabilityFireability-2024-15

=== Now, execution of the tool begins

BK_START 1780259356553

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=SupplyChain-PT-00500
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
ReachabilityFireability PT
Running Version 202604301425
[2026-05-31 20:29:17] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2026-05-31 20:29:17] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2026-05-31 20:29:18] [INFO ] Load time of PNML (sax parser for PT used): 240 ms
[2026-05-31 20:29:18] [INFO ] Transformed 6504 places.
[2026-05-31 20:29:18] [INFO ] Transformed 4003 transitions.
[2026-05-31 20:29:18] [INFO ] Parsed PT model containing 6504 places and 4003 transitions and 18006 arcs in 405 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 16 ms.
Working with output stream class java.io.PrintStream
[2026-05-31 20:29:20] [INFO ] Flatten gal took : 1112 ms
[2026-05-31 20:29:20] [INFO ] Flatten gal took : 465 ms
[2026-05-31 20:29:20] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6955908353725082759.gal : 101 ms
[2026-05-31 20:29:20] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality9240646119129596941.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.202604301425/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality6955908353725082759.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality9240646119129596941.prop' '--nowitness' '--gen-order' 'FOLLOW'
RANDOM walk for 40000 steps (16 resets) in 8415 ms. (4 steps per ms) remains 8/16 properties
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK

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 961 ms. (41 steps per ms) remains 8/8 properties
BEST_FIRST walk for 40004 steps (8 resets) in 1417 ms. (28 steps per ms) remains 8/8 properties
BEST_FIRST walk for 40004 steps (8 resets) in 923 ms. (43 steps per ms) remains 8/8 properties
BEST_FIRST walk for 40004 steps (8 resets) in 823 ms. (48 steps per ms) remains 8/8 properties
Loading property file /tmp/ReachabilityCardinality9240646119129596941.prop.
BEST_FIRST walk for 40004 steps (8 resets) in 1031 ms. (38 steps per ms) remains 8/8 properties
BEST_FIRST walk for 40004 steps (8 resets) in 871 ms. (45 steps per ms) remains 8/8 properties
BEST_FIRST walk for 40004 steps (8 resets) in 743 ms. (53 steps per ms) remains 8/8 properties
BEST_FIRST walk for 40004 steps (8 resets) in 887 ms. (45 steps per ms) remains 8/8 properties
Running PetriSpot : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.petrispot.binaries_1.0.0.202604301425/bin/petri64' '--loadKERS=/tmp/petrispot-input-17162623878717218505.kers' '--Pflows' '--basisKERS=/tmp/petrispot-output-11595461425462564368.kers'
[2026-05-31 20:29:23] [INFO ] Running PetriSpot with arguments : [--loadKERS=/tmp/petrispot-input-17162623878717218505.kers, --Pflows, --basisKERS=/tmp/petrispot-output-11595461425462564368.kers]
Normalized transition count is 4002 out of 4003 initially.
Culling duplicate invariants (modulo rational): removing 1590 columns.
Culled 1590 columns in 6 ms.
// Phase 1: matrix 4002 rows 4914 cols 13004 entries
Finished phase 1 with 2912 SingleSign rule and 500 generalized
[2026-05-31 20:29:23] [INFO ] Computed 3092 invariants in 33 ms
Computed 3092 P flows in 34 ms.
Exported basis to /tmp/petrispot-output-11595461425462564368.kers
Total runtime 38 ms.
[2026-05-31 20:29:23] [INFO ] State equation strengthened by 1 read => feed constraints.
Excessive predecessor constraint size, skipping predecessor.
At refinement iteration 0 (INCLUDED_ONLY) 0/285 variables, 49/49 constraints. Problems are: Problem set: 0 solved, 8 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/285 variables, 0/49 constraints. Problems are: Problem set: 0 solved, 8 unsolved
Problem SupplyChain-PT-00500-ReachabilityFireability-2024-00 is UNSAT
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-00 TRUE TECHNIQUES SMT_REFINEMENT
Problem SupplyChain-PT-00500-ReachabilityFireability-2024-01 is UNSAT
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-01 FALSE TECHNIQUES SMT_REFINEMENT
Problem SupplyChain-PT-00500-ReachabilityFireability-2024-13 is UNSAT
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-13 TRUE TECHNIQUES SMT_REFINEMENT
At refinement iteration 2 (OVERLAPS) 1206/1491 variables, 237/286 constraints. Problems are: Problem set: 3 solved, 5 unsolved
All remaining problems are real, not stopping.
At refinement iteration 3 (INCLUDED_ONLY) 0/1491 variables, 15/301 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/1491 variables, 0/301 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 5 (OVERLAPS) 2746/4237 variables, 765/1066 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/4237 variables, 0/1066 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 7 (OVERLAPS) 2267/6504 variables, 2026/3092 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/6504 variables, 0/3092 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 9 (OVERLAPS) 4002/10506 variables, 6504/9596 constraints. Problems are: Problem set: 3 solved, 5 unsolved
Error getting values : (error "Timeout of Z3 solver reached")
Solver is answering 'unknown', stopping.
After SMT solving in domain Real declared 10506/10507 variables, and 9596 constraints, problems are : Problem set: 3 solved, 5 unsolved in 5033 ms.
Refiners :[Positive P Invariants (semi-flows): 1002/1002 constraints, Generalized P Invariants (flows): 2090/2090 constraints, State Equation: 6504/6504 constraints, ReadFeed: 0/1 constraints, PredecessorRefiner: 8/3 constraints, Known Traps: 0/0 constraints, Known Traps Along Path: 0/0 constraints]
Escalating to Integer solving :Problem set: 3 solved, 5 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/216 variables, 33/33 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/216 variables, 0/33 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 2 (OVERLAPS) 1007/1223 variables, 174/207 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/1223 variables, 11/218 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/1223 variables, 1/219 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/1223 variables, 0/219 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 6 (OVERLAPS) 2992/4215 variables, 828/1047 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/4215 variables, 0/1047 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 8 (OVERLAPS) 2289/6504 variables, 2046/3093 constraints. Problems are: Problem set: 3 solved, 5 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/6504 variables, 0/3093 constraints. Problems are: Problem set: 3 solved, 5 unsolved
Solver is answering 'unknown', stopping.
After SMT solving in domain Int declared 10506/10507 variables, and 9597 constraints, problems are : Problem set: 3 solved, 5 unsolved in 5009 ms.
Refiners :[Positive P Invariants (semi-flows): 1002/1002 constraints, Generalized P Invariants (flows): 2090/2090 constraints, State Equation: 6504/6504 constraints, ReadFeed: 0/1 constraints, PredecessorRefiner: 4/3 constraints, Known Traps: 1/1 constraints, Known Traps Along Path: 0/0 constraints]
After SMT, in 10331ms problems are : Problem set: 3 solved, 5 unsolved
Skipping Parikh replay, no witness traces provided.
Support contains 216 out of 6504 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 6504/6504 places, 4003/4003 transitions.
Graph (complete) has 17362 edges and 6504 vertex of which 5501 are kept as prefixes of interest. Removing 1003 places using SCC suffix rule.16 ms
Discarding 1003 places :
Also discarding 3 output transitions
Drop transitions (Output transitions of discarded places.) removed 3 transitions
Ensure Unique test removed 1058 places
Iterating post reduction 0 with 1058 rules applied. Total rules applied 1059 place count 4443 transition count 4000
Performed 457 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 1 with 457 Pre rules applied. Total rules applied 1059 place count 4443 transition count 3543
Deduced a syphon composed of 457 places in 2 ms
Ensure Unique test removed 457 places
Reduce places removed 914 places and 0 transitions.
Iterating global reduction 1 with 1371 rules applied. Total rules applied 2430 place count 3529 transition count 3543
Free-agglomeration rule applied 826 times.
Iterating global reduction 1 with 826 rules applied. Total rules applied 3256 place count 3529 transition count 2717
Ensure Unique test removed 462 places
Reduce places removed 1288 places and 0 transitions.
Ensure Unique test removed 462 transitions
Reduce isomorphic transitions removed 462 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 413 transitions
Trivial Post-agglo rules discarded 413 transitions
Performed 413 trivial Post agglomeration. Transition count delta: 413
Iterating post reduction 1 with 2163 rules applied. Total rules applied 5419 place count 2241 transition count 1842
Reduce places removed 413 places and 0 transitions.
Performed 10 Post agglomeration using F-continuation condition.Transition count delta: 10
Iterating post reduction 2 with 423 rules applied. Total rules applied 5842 place count 1828 transition count 1832
Reduce places removed 10 places and 0 transitions.
Iterating post reduction 3 with 10 rules applied. Total rules applied 5852 place count 1818 transition count 1832
Performed 452 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 452 Pre rules applied. Total rules applied 5852 place count 1818 transition count 1380
Deduced a syphon composed of 452 places in 0 ms
Reduce places removed 452 places and 0 transitions.
Iterating global reduction 4 with 904 rules applied. Total rules applied 6756 place count 1366 transition count 1380
Free-agglomeration rule (complex) applied 8 times.
Iterating global reduction 4 with 8 rules applied. Total rules applied 6764 place count 1366 transition count 1372
Reduce places removed 8 places and 0 transitions.
Iterating post reduction 4 with 8 rules applied. Total rules applied 6772 place count 1358 transition count 1372
Applied a total of 6772 rules in 1498 ms. Remains 1358 /6504 variables (removed 5146) and now considering 1372/4003 (removed 2631) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 1507 ms. Remains : 1358/6504 places, 1372/4003 transitions.
RANDOM walk for 40000 steps (172 resets) in 1136 ms. (35 steps per ms) remains 4/5 properties
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
BEST_FIRST walk for 40004 steps (8 resets) in 441 ms. (90 steps per ms) remains 3/4 properties
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-05 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 40004 steps (8 resets) in 489 ms. (81 steps per ms) remains 2/3 properties
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-06 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 40004 steps (8 resets) in 593 ms. (67 steps per ms) remains 1/2 properties
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-10 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 7026 steps (0 resets) in 102 ms. (68 steps per ms) remains 0/1 properties
FORMULA SupplyChain-PT-00500-ReachabilityFireability-2024-12 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_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 17966 ms.

BK_STOP 1780259375922

--------------------
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
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -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 ReachabilityFireability -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="SupplyChain-PT-00500"
export BK_EXAMINATION="ReachabilityFireability"
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 SupplyChain-PT-00500, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r354-tall-178024402900223"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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