fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r043-tajo-167813696700374
Last Updated
May 14, 2023

About the Execution of Smart+red for BugTracking-PT-q3m128

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
9591.735 3492482.00 3544256.00 707.30 TTFTT?F?TFTTTFT? normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2023-input.r043-tajo-167813696700374.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2023-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
......................
=====================================================================
Generated by BenchKit 2-5348
Executing tool smartxred
Input is BugTracking-PT-q3m128, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r043-tajo-167813696700374
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 16M
-rw-r--r-- 1 mcc users 8.0K Feb 26 07:13 CTLCardinality.txt
-rw-r--r-- 1 mcc users 70K Feb 26 07:13 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.4K Feb 26 06:35 CTLFireability.txt
-rw-r--r-- 1 mcc users 45K Feb 26 06:35 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.7K Feb 25 15:37 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Feb 25 15:37 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 15:37 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 15:37 LTLFireability.xml
-rw-r--r-- 1 mcc users 15K Feb 26 07:50 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 121K Feb 26 07:50 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 10K Feb 26 07:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 85K Feb 26 07:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 15:37 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 15:37 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 7 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 16M Mar 5 18:22 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 BugTracking-PT-q3m128-ReachabilityCardinality-00
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-01
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-02
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-03
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-04
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-05
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-06
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-07
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-08
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-09
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-10
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-11
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-12
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-13
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-14
FORMULA_NAME BugTracking-PT-q3m128-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678786198215

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=smartxred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=BugTracking-PT-q3m128
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-14 09:30:00] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-14 09:30:00] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-14 09:30:01] [INFO ] Load time of PNML (sax parser for PT used): 828 ms
[2023-03-14 09:30:01] [INFO ] Transformed 754 places.
[2023-03-14 09:30:01] [INFO ] Transformed 27370 transitions.
[2023-03-14 09:30:01] [INFO ] Parsed PT model containing 754 places and 27370 transitions and 136172 arcs in 1103 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 33 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 514 places in 187 ms
Reduce places removed 514 places and 24601 transitions.
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 3 resets, run finished after 314 ms. (steps per millisecond=31 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 56 ms. (steps per millisecond=178 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 41 ms. (steps per millisecond=243 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 48 ms. (steps per millisecond=208 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 35 ms. (steps per millisecond=285 ) properties (out of 5) seen :0
Interrupted probabilistic random walk after 133824 steps, run timeout after 3001 ms. (steps per millisecond=44 ) properties seen :{}
Probabilistic random walk after 133824 steps, saw 64321 distinct states, run finished after 3002 ms. (steps per millisecond=44 ) properties seen :0
Running SMT prover for 5 properties.
[2023-03-14 09:30:05] [INFO ] Flow matrix only has 2642 transitions (discarded 127 similar events)
// Phase 1: matrix 2642 rows 240 cols
[2023-03-14 09:30:05] [INFO ] Computed 10 place invariants in 24 ms
[2023-03-14 09:30:05] [INFO ] [Real]Absence check using 10 positive place invariants in 5 ms returned sat
[2023-03-14 09:30:05] [INFO ] After 275ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:5
[2023-03-14 09:30:05] [INFO ] [Nat]Absence check using 10 positive place invariants in 2 ms returned sat
[2023-03-14 09:30:06] [INFO ] After 776ms SMT Verify possible using state equation in natural domain returned unsat :1 sat :4
[2023-03-14 09:30:06] [INFO ] State equation strengthened by 255 read => feed constraints.
[2023-03-14 09:30:07] [INFO ] After 606ms SMT Verify possible using 255 Read/Feed constraints in natural domain returned unsat :1 sat :4
[2023-03-14 09:30:07] [INFO ] Deduced a trap composed of 49 places in 506 ms of which 10 ms to minimize.
[2023-03-14 09:30:08] [INFO ] Deduced a trap composed of 12 places in 467 ms of which 1 ms to minimize.
[2023-03-14 09:30:08] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 2 trap constraints in 1085 ms
[2023-03-14 09:30:08] [INFO ] Deduced a trap composed of 12 places in 299 ms of which 1 ms to minimize.
[2023-03-14 09:30:08] [INFO ] Deduced a trap composed of 8 places in 259 ms of which 2 ms to minimize.
[2023-03-14 09:30:09] [INFO ] Deduced a trap composed of 18 places in 264 ms of which 0 ms to minimize.
[2023-03-14 09:30:09] [INFO ] Deduced a trap composed of 7 places in 161 ms of which 1 ms to minimize.
[2023-03-14 09:30:09] [INFO ] Trap strengthening (SAT) tested/added 5/4 trap constraints in 1398 ms
[2023-03-14 09:30:10] [INFO ] Deduced a trap composed of 64 places in 278 ms of which 0 ms to minimize.
[2023-03-14 09:30:10] [INFO ] Deduced a trap composed of 21 places in 179 ms of which 1 ms to minimize.
[2023-03-14 09:30:10] [INFO ] Deduced a trap composed of 46 places in 263 ms of which 1 ms to minimize.
[2023-03-14 09:30:10] [INFO ] Deduced a trap composed of 18 places in 185 ms of which 0 ms to minimize.
[2023-03-14 09:30:11] [INFO ] Deduced a trap composed of 55 places in 236 ms of which 1 ms to minimize.
[2023-03-14 09:30:11] [INFO ] Trap strengthening (SAT) tested/added 6/5 trap constraints in 1417 ms
[2023-03-14 09:30:11] [INFO ] After 4749ms SMT Verify possible using trap constraints in natural domain returned unsat :2 sat :3
Attempting to minimize the solution found.
Minimization took 214 ms.
[2023-03-14 09:30:11] [INFO ] After 5897ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :3
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BugTracking-PT-q3m128-ReachabilityCardinality-03 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 5 Parikh solutions to 3 different solutions.
Parikh walk visited 0 properties in 429 ms.
Support contains 8 out of 240 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 240/240 places, 2769/2769 transitions.
Graph (complete) has 3422 edges and 240 vertex of which 238 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.21 ms
Discarding 2 places :
Also discarding 0 output transitions
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 2 place count 237 transition count 2750
Iterating global reduction 0 with 1 rules applied. Total rules applied 3 place count 237 transition count 2750
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: -3
Deduced a syphon composed of 2 places in 2 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 7 place count 235 transition count 2753
Free-agglomeration rule applied 3 times.
Iterating global reduction 0 with 3 rules applied. Total rules applied 10 place count 235 transition count 2750
Reduce places removed 3 places and 0 transitions.
Iterating post reduction 0 with 3 rules applied. Total rules applied 13 place count 232 transition count 2750
Applied a total of 13 rules in 307 ms. Remains 232 /240 variables (removed 8) and now considering 2750/2769 (removed 19) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 308 ms. Remains : 232/240 places, 2750/2769 transitions.
Incomplete random walk after 10061 steps, including 6 resets, run finished after 148 ms. (steps per millisecond=67 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 33 ms. (steps per millisecond=303 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 53 ms. (steps per millisecond=188 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 31 ms. (steps per millisecond=322 ) properties (out of 3) seen :0
Interrupted probabilistic random walk after 132894 steps, run timeout after 3001 ms. (steps per millisecond=44 ) properties seen :{}
Probabilistic random walk after 132894 steps, saw 86348 distinct states, run finished after 3001 ms. (steps per millisecond=44 ) properties seen :0
Running SMT prover for 3 properties.
[2023-03-14 09:30:15] [INFO ] Flow matrix only has 2621 transitions (discarded 129 similar events)
// Phase 1: matrix 2621 rows 232 cols
[2023-03-14 09:30:15] [INFO ] Computed 8 place invariants in 17 ms
[2023-03-14 09:30:15] [INFO ] After 35ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:3
[2023-03-14 09:30:15] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2023-03-14 09:30:16] [INFO ] After 538ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :3
[2023-03-14 09:30:16] [INFO ] State equation strengthened by 241 read => feed constraints.
[2023-03-14 09:30:16] [INFO ] After 408ms SMT Verify possible using 241 Read/Feed constraints in natural domain returned unsat :0 sat :3
[2023-03-14 09:30:16] [INFO ] Deduced a trap composed of 21 places in 220 ms of which 1 ms to minimize.
[2023-03-14 09:30:16] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 346 ms
[2023-03-14 09:30:17] [INFO ] After 1102ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :3
Attempting to minimize the solution found.
Minimization took 292 ms.
[2023-03-14 09:30:17] [INFO ] After 2010ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :3
Parikh walk visited 0 properties in 78 ms.
Support contains 8 out of 232 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 232/232 places, 2750/2750 transitions.
Applied a total of 0 rules in 73 ms. Remains 232 /232 variables (removed 0) and now considering 2750/2750 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 73 ms. Remains : 232/232 places, 2750/2750 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 232/232 places, 2750/2750 transitions.
Applied a total of 0 rules in 51 ms. Remains 232 /232 variables (removed 0) and now considering 2750/2750 (removed 0) transitions.
[2023-03-14 09:30:17] [INFO ] Flow matrix only has 2621 transitions (discarded 129 similar events)
[2023-03-14 09:30:17] [INFO ] Invariant cache hit.
[2023-03-14 09:30:18] [INFO ] Implicit Places using invariants in 324 ms returned []
[2023-03-14 09:30:18] [INFO ] Flow matrix only has 2621 transitions (discarded 129 similar events)
[2023-03-14 09:30:18] [INFO ] Invariant cache hit.
[2023-03-14 09:30:18] [INFO ] State equation strengthened by 241 read => feed constraints.
[2023-03-14 09:30:19] [INFO ] Implicit Places using invariants and state equation in 1721 ms returned []
Implicit Place search using SMT with State Equation took 2053 ms to find 0 implicit places.
[2023-03-14 09:30:20] [INFO ] Redundant transitions in 294 ms returned []
[2023-03-14 09:30:20] [INFO ] Flow matrix only has 2621 transitions (discarded 129 similar events)
[2023-03-14 09:30:20] [INFO ] Invariant cache hit.
[2023-03-14 09:30:21] [INFO ] Dead Transitions using invariants and state equation in 1288 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 3694 ms. Remains : 232/232 places, 2750/2750 transitions.
Drop transitions removed 6 transitions
Ensure Unique test removed 124 transitions
Reduce isomorphic transitions removed 130 transitions.
Iterating post reduction 0 with 130 rules applied. Total rules applied 130 place count 232 transition count 2620
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 3 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 1 with 2 rules applied. Total rules applied 132 place count 231 transition count 2619
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 1 with 1 rules applied. Total rules applied 133 place count 231 transition count 2618
Free-agglomeration rule applied 4 times.
Iterating global reduction 1 with 4 rules applied. Total rules applied 137 place count 231 transition count 2614
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 1 with 4 rules applied. Total rules applied 141 place count 227 transition count 2614
Partial Free-agglomeration rule applied 27 times.
Drop transitions removed 27 transitions
Iterating global reduction 2 with 27 rules applied. Total rules applied 168 place count 227 transition count 2614
Applied a total of 168 rules in 220 ms. Remains 227 /232 variables (removed 5) and now considering 2614/2750 (removed 136) transitions.
Running SMT prover for 3 properties.
// Phase 1: matrix 2614 rows 227 cols
[2023-03-14 09:30:21] [INFO ] Computed 9 place invariants in 13 ms
[2023-03-14 09:30:21] [INFO ] After 90ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:3
[2023-03-14 09:30:21] [INFO ] [Nat]Absence check using 9 positive place invariants in 2 ms returned sat
[2023-03-14 09:30:22] [INFO ] After 596ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :3
[2023-03-14 09:30:22] [INFO ] After 920ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :3
Attempting to minimize the solution found.
Minimization took 241 ms.
[2023-03-14 09:30:23] [INFO ] After 1270ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :3
[2023-03-14 09:30:23] [INFO ] Export to MCC of 3 properties in file /home/mcc/execution/ReachabilityCardinality.sr.xml took 9 ms.
[2023-03-14 09:30:23] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 232 places, 2750 transitions and 13491 arcs took 30 ms.
[2023-03-14 09:30:23] [INFO ] Flatten gal took : 352 ms
Total runtime 23608 ms.
There are residual formulas that ITS could not solve within timeout
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running BugTracking (PT), instance q3m128
Examination ReachabilityCardinality
Parser /home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//parser/Cardinality.jar
Model checker /home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//rem_exec//smart

GOT IT HERE. BS
Petri model created: 232 places, 2750 transitions, 13491 arcs.
Final Score: 32229.208
Took : 58 seconds
Reachability Cardinality file is: ReachabilityCardinality.xml
READY TO PARSE. BS
PROPERTY: BugTracking-PT-q3m128-ReachabilityCardinality-05 (reachable & potential(( ( ( 86 ) <= (tk(P156)) ) & ( ( (tk(P71)) <= ( 0 ) ) | (! ( (tk(P110)) <= ( 113 ) )) ) )))
PROPERTY: BugTracking-PT-q3m128-ReachabilityCardinality-07 (reachable &!potential( ( (tk(P138)) <= (tk(P1)) )))
PROPERTY: BugTracking-PT-q3m128-ReachabilityCardinality-15 (reachable & potential(( (! ( (tk(P65)) <= ( 0 ) )) & ( (tk(P8)) <= (tk(P140)) ) )))

BK_STOP 1678789690697

--------------------
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.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -timeout 360 -rebuildPNML
ERROR:
Generation failed in Meddly with error code:
Insufficient memory
within model automodel instantiated in file model.sm near line 16500
/home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//smart.sh: line 116: 590 Segmentation fault ${SMART}/smart ${INPUT_SM}

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="BugTracking-PT-q3m128"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="smartxred"
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-5348"
echo " Executing tool smartxred"
echo " Input is BugTracking-PT-q3m128, 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 r043-tajo-167813696700374"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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