fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r311-tall-171662336500390
Last Updated
July 7, 2024

About the Execution of GreatSPN+red for RERS2020-PT-pb108

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16149.340 3600000.00 3814141.00 8721.10 F?T?FTT?TT??TT?? 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.r311-tall-171662336500390.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 greatspnxred
Input is RERS2020-PT-pb108, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r311-tall-171662336500390
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 75M
-rw-r--r-- 1 mcc users 6.2K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 61K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.3K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 41K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K May 19 07:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K May 19 16:22 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 19 07:29 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 19 18:55 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K May 14 13:22 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 144K May 14 13:22 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 5.8K May 14 13:22 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 37K May 14 13:22 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.5K May 19 07:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 19 15:30 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:43 equiv_col
-rw-r--r-- 1 mcc users 6 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 74M May 18 16:43 model.pnml

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

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

The expected result is a vector of booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1716747049596

Invoking MCC driver with
BK_TOOL=greatspnxred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=RERS2020-PT-pb108
BK_MEMORY_CONFINEMENT=16384
Applying reductions before tool greatspn
Invoking reducer
Running Version 202405141337
[2024-05-26 18:10:50] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2024-05-26 18:10:50] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-26 18:10:53] [INFO ] Load time of PNML (sax parser for PT used): 2229 ms
[2024-05-26 18:10:53] [INFO ] Transformed 2339 places.
[2024-05-26 18:10:53] [INFO ] Transformed 132214 transitions.
[2024-05-26 18:10:53] [INFO ] Found NUPN structural information;
[2024-05-26 18:10:53] [INFO ] Parsed PT model containing 2339 places and 132214 transitions and 523950 arcs in 2830 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 19 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 7505 transitions
Reduce redundant transitions removed 7505 transitions.
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2024-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2024-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2023-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2024-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
RANDOM walk for 40000 steps (19 resets) in 5760 ms. (6 steps per ms) remains 10/12 properties
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2024-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2024-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
BEST_FIRST walk for 40004 steps (11 resets) in 452 ms. (88 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (15 resets) in 707 ms. (56 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (12 resets) in 467 ms. (85 steps per ms) remains 9/10 properties
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2024-02 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 40004 steps (15 resets) in 383 ms. (104 steps per ms) remains 9/9 properties
BEST_FIRST walk for 40003 steps (9 resets) in 400 ms. (99 steps per ms) remains 9/9 properties
BEST_FIRST walk for 40004 steps (17 resets) in 432 ms. (92 steps per ms) remains 9/9 properties
BEST_FIRST walk for 40004 steps (14 resets) in 410 ms. (97 steps per ms) remains 9/9 properties
BEST_FIRST walk for 40003 steps (14 resets) in 1249 ms. (32 steps per ms) remains 9/9 properties
BEST_FIRST walk for 40003 steps (14 resets) in 436 ms. (91 steps per ms) remains 8/9 properties
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2024-08 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 40002 steps (14 resets) in 401 ms. (99 steps per ms) remains 8/8 properties
[2024-05-26 18:10:57] [INFO ] Flow matrix only has 90843 transitions (discarded 33866 similar events)
// Phase 1: matrix 90843 rows 2339 cols
[2024-05-26 18:10:58] [INFO ] Computed 29 invariants in 603 ms
[2024-05-26 18:11:02] [INFO ] State equation strengthened by 5501 read => feed constraints.
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/103 variables, 103/103 constraints. Problems are: Problem set: 0 solved, 8 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/103 variables, 0/103 constraints. Problems are: Problem set: 0 solved, 8 unsolved
Problem RERS2020-PT-pb108-ReachabilityCardinality-2024-04 is UNSAT
FORMULA RERS2020-PT-pb108-ReachabilityCardinality-2024-04 FALSE TECHNIQUES SMT_REFINEMENT
At refinement iteration 2 (OVERLAPS) 2146/2249 variables, 10/113 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/2249 variables, 2146/2259 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/2249 variables, 2/2261 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/2249 variables, 0/2261 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 6 (OVERLAPS) 78/2327 variables, 5/2266 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/2327 variables, 78/2344 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/2327 variables, 0/2344 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 9 (OVERLAPS) 12/2339 variables, 12/2356 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 10 (INCLUDED_ONLY) 0/2339 variables, 12/2368 constraints. Problems are: Problem set: 1 solved, 7 unsolved
At refinement iteration 11 (INCLUDED_ONLY) 0/2339 variables, 0/2368 constraints. Problems are: Problem set: 1 solved, 7 unsolved
SMT process timed out in 9707ms, After SMT, problems are : Problem set: 1 solved, 7 unsolved
Skipping Parikh replay, no witness traces provided.
Support contains 95 out of 2339 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 2339/2339 places, 124709/124709 transitions.
Ensure Unique test removed 13 places
Drop transitions (Empty/Sink Transition effects.) removed 3022 transitions
Reduce isomorphic transitions removed 3022 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 5 transitions
Trivial Post-agglo rules discarded 5 transitions
Performed 5 trivial Post agglomeration. Transition count delta: 5
Iterating post reduction 0 with 3040 rules applied. Total rules applied 3040 place count 2326 transition count 121682
Reduce places removed 5 places and 0 transitions.
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 1 with 8 rules applied. Total rules applied 3048 place count 2321 transition count 121679
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 2 Pre rules applied. Total rules applied 3048 place count 2321 transition count 121677
Deduced a syphon composed of 2 places in 74 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 2 with 4 rules applied. Total rules applied 3052 place count 2319 transition count 121677
Performed 53 Post agglomeration using F-continuation condition with reduction of 1 identical transitions.
Deduced a syphon composed of 53 places in 145 ms
Reduce places removed 53 places and 0 transitions.
Iterating global reduction 2 with 106 rules applied. Total rules applied 3158 place count 2266 transition count 121623
Ensure Unique test removed 168 transitions
Reduce isomorphic transitions removed 168 transitions.
Iterating post reduction 2 with 168 rules applied. Total rules applied 3326 place count 2266 transition count 121455
Performed 16 Post agglomeration using F-continuation condition.Transition count delta: -13
Deduced a syphon composed of 16 places in 86 ms
Reduce places removed 16 places and 0 transitions.
Iterating global reduction 3 with 32 rules applied. Total rules applied 3358 place count 2250 transition count 121468
Ensure Unique test removed 15 transitions
Reduce isomorphic transitions removed 15 transitions.
Iterating post reduction 3 with 15 rules applied. Total rules applied 3373 place count 2250 transition count 121453
Free-agglomeration rule applied 61 times.
Iterating global reduction 4 with 61 rules applied. Total rules applied 3434 place count 2250 transition count 121392
Reduce places removed 61 places and 0 transitions.
Drop transitions (Empty/Sink Transition effects.) removed 3 transitions
Ensure Unique test removed 963 transitions
Reduce isomorphic transitions removed 966 transitions.
Iterating post reduction 4 with 1027 rules applied. Total rules applied 4461 place count 2189 transition count 120426
Free-agglomeration rule applied 2 times.
Iterating global reduction 5 with 2 rules applied. Total rules applied 4463 place count 2189 transition count 120424
Reduce places removed 2 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 5 with 3 rules applied. Total rules applied 4466 place count 2187 transition count 120423
Free-agglomeration rule (complex) applied 143 times with reduction of 4855 identical transitions.
Iterating global reduction 6 with 143 rules applied. Total rules applied 4609 place count 2187 transition count 144192
Reduce places removed 143 places and 0 transitions.
Drop transitions (Empty/Sink Transition effects.) removed 169 transitions
Ensure Unique test removed 4726 transitions
Reduce isomorphic transitions removed 4895 transitions.
Iterating post reduction 6 with 5038 rules applied. Total rules applied 9647 place count 2044 transition count 139297
Partial Free-agglomeration rule applied 1 times.
Drop transitions (Partial Free agglomeration) removed 1 transitions
Iterating global reduction 7 with 1 rules applied. Total rules applied 9648 place count 2044 transition count 139297
Applied a total of 9648 rules in 8725 ms. Remains 2044 /2339 variables (removed 295) and now considering 139297/124709 (removed -14588) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 8770 ms. Remains : 2044/2339 places, 139297/124709 transitions.
RANDOM walk for 40000 steps (21 resets) in 4425 ms. (9 steps per ms) remains 7/7 properties
BEST_FIRST walk for 40003 steps (12 resets) in 793 ms. (50 steps per ms) remains 7/7 properties
BEST_FIRST walk for 40004 steps (15 resets) in 787 ms. (50 steps per ms) remains 7/7 properties
BEST_FIRST walk for 40004 steps (12 resets) in 476 ms. (83 steps per ms) remains 7/7 properties
BEST_FIRST walk for 40004 steps (10 resets) in 558 ms. (71 steps per ms) remains 7/7 properties
BEST_FIRST walk for 40004 steps (12 resets) in 418 ms. (95 steps per ms) remains 7/7 properties
BEST_FIRST walk for 40004 steps (12 resets) in 436 ms. (91 steps per ms) remains 7/7 properties
BEST_FIRST walk for 40004 steps (13 resets) in 516 ms. (77 steps per ms) remains 7/7 properties
Interrupted probabilistic random walk after 6412 steps, run timeout after 6006 ms. (steps per millisecond=1 ) properties seen :0 out of 7
Probabilistic random walk after 6412 steps, saw 3828 distinct states, run finished after 6010 ms. (steps per millisecond=1 ) properties seen :0
[2024-05-26 18:11:25] [INFO ] Flow matrix only has 108063 transitions (discarded 31234 similar events)
// Phase 1: matrix 108063 rows 2044 cols
[2024-05-26 18:11:25] [INFO ] Computed 16 invariants in 729 ms
[2024-05-26 18:11:29] [INFO ] State equation strengthened by 6340 read => feed constraints.
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/95 variables, 95/95 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/95 variables, 1/96 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/95 variables, 0/96 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 3 (OVERLAPS) 1949/2044 variables, 15/111 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/2044 variables, 1949/2060 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/2044 variables, 0/2060 constraints. Problems are: Problem set: 0 solved, 7 unsolved
Solver is answering 'unknown', stopping.
After SMT solving in domain Real declared 110107/110107 variables, and 4104 constraints, problems are : Problem set: 0 solved, 7 unsolved in 45052 ms.
Refiners :[Domain max(s): 2044/2044 constraints, Positive P Invariants (semi-flows): 15/15 constraints, Generalized P Invariants (flows): 1/1 constraints, State Equation: 2044/2044 constraints, ReadFeed: 0/6340 constraints, PredecessorRefiner: 7/2 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 0 solved, 7 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/95 variables, 95/95 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/95 variables, 1/96 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/95 variables, 0/96 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 3 (OVERLAPS) 1949/2044 variables, 15/111 constraints. Problems are: Problem set: 0 solved, 7 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/2044 variables, 1949/2060 constraints. Problems are: Problem set: 0 solved, 7 unsolved
[2024-05-26 18:12:29] [INFO ] Deduced a trap composed of 57 places in 14500 ms of which 102 ms to minimize.
[2024-05-26 18:12:44] [INFO ] Deduced a trap composed of 33 places in 14688 ms of which 15 ms to minimize.
[2024-05-26 18:12:57] [INFO ] Deduced a trap composed of 30 places in 13451 ms of which 14 ms to minimize.
[2024-05-26 18:13:12] [INFO ] Deduced a trap composed of 385 places in 15084 ms of which 15 ms to minimize.
SMT process timed out in 107564ms, After SMT, problems are : Problem set: 0 solved, 7 unsolved
Skipping Parikh replay, no witness traces provided.
Support contains 95 out of 2044 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 2044/2044 places, 139297/139297 transitions.
Applied a total of 0 rules in 661 ms. Remains 2044 /2044 variables (removed 0) and now considering 139297/139297 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 662 ms. Remains : 2044/2044 places, 139297/139297 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 2044/2044 places, 139297/139297 transitions.
Applied a total of 0 rules in 665 ms. Remains 2044 /2044 variables (removed 0) and now considering 139297/139297 (removed 0) transitions.
[2024-05-26 18:13:14] [INFO ] Flow matrix only has 108063 transitions (discarded 31234 similar events)
[2024-05-26 18:13:14] [INFO ] Invariant cache hit.
[2024-05-26 18:13:29] [INFO ] Implicit Places using invariants in 15486 ms returned []
Implicit Place search using SMT only with invariants took 15495 ms to find 0 implicit places.
Running 139287 sub problems to find dead transitions.
[2024-05-26 18:13:30] [INFO ] Flow matrix only has 108063 transitions (discarded 31234 similar events)
[2024-05-26 18:13:30] [INFO ] Invariant cache hit.
[2024-05-26 18:13:34] [INFO ] State equation strengthened by 6340 read => feed constraints.
----------------------------------------------------------------------
GreatSPN-meddly tool, MCC 2023
----------------------------------------------------------------------

Running RERS2020-PT-pb108

IS_COLORED=
IS_NUPN=1

LOADING model.pnml ...

BK_TIME_CONFINEMENT_REACHED

--------------------
content from stderr:

+ 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//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -timeout 360 -rebuildPNML

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="RERS2020-PT-pb108"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="greatspnxred"
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-5568"
echo " Executing tool greatspnxred"
echo " Input is RERS2020-PT-pb108, 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 r311-tall-171662336500390"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/RERS2020-PT-pb108.tgz
mv RERS2020-PT-pb108 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.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -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 ;