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

About the Execution of LTSMin+red for BugTracking-PT-q8m002

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
578.331 3600000.00 14318546.00 106.50 T?TTTTFFTFT?FT?? 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.r041-tajo-167813694600390.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 ltsminxred
Input is BugTracking-PT-q8m002, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r041-tajo-167813694600390
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 16M
-rw-r--r-- 1 mcc users 11K Feb 26 07:33 CTLCardinality.txt
-rw-r--r-- 1 mcc users 94K Feb 26 07:33 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.2K Feb 26 07:18 CTLFireability.txt
-rw-r--r-- 1 mcc users 42K Feb 26 07:18 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.4K Feb 25 15:37 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K 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 12K Feb 26 08:28 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 99K Feb 26 08:28 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 6.8K Feb 26 08:00 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 51K Feb 26 08:00 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-q8m002-ReachabilityCardinality-00
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-01
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-02
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-03
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-04
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-05
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-06
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-07
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-08
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-09
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-10
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-11
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-12
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-13
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-14
FORMULA_NAME BugTracking-PT-q8m002-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678633160226

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=ltsminxred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=BugTracking-PT-q8m002
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-12 14:59:22] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-12 14:59:22] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-12 14:59:23] [INFO ] Load time of PNML (sax parser for PT used): 892 ms
[2023-03-12 14:59:23] [INFO ] Transformed 754 places.
[2023-03-12 14:59:23] [INFO ] Transformed 27370 transitions.
[2023-03-12 14:59:23] [INFO ] Parsed PT model containing 754 places and 27370 transitions and 136172 arcs in 1096 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 15 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 474 places in 103 ms
Reduce places removed 474 places and 23466 transitions.
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 173 resets, run finished after 459 ms. (steps per millisecond=21 ) properties (out of 7) seen :1
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 68 resets, run finished after 106 ms. (steps per millisecond=94 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 61 resets, run finished after 93 ms. (steps per millisecond=107 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 58 resets, run finished after 97 ms. (steps per millisecond=103 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 65 resets, run finished after 101 ms. (steps per millisecond=99 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 64 resets, run finished after 87 ms. (steps per millisecond=114 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 53 resets, run finished after 119 ms. (steps per millisecond=84 ) properties (out of 6) seen :0
Running SMT prover for 6 properties.
[2023-03-12 14:59:24] [INFO ] Flow matrix only has 3729 transitions (discarded 175 similar events)
// Phase 1: matrix 3729 rows 280 cols
[2023-03-12 14:59:24] [INFO ] Computed 10 place invariants in 40 ms
[2023-03-12 14:59:24] [INFO ] [Real]Absence check using 10 positive place invariants in 3 ms returned sat
[2023-03-12 14:59:24] [INFO ] After 262ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:6
[2023-03-12 14:59:25] [INFO ] [Nat]Absence check using 10 positive place invariants in 2 ms returned sat
[2023-03-12 14:59:26] [INFO ] After 980ms SMT Verify possible using state equation in natural domain returned unsat :1 sat :5
[2023-03-12 14:59:26] [INFO ] State equation strengthened by 303 read => feed constraints.
[2023-03-12 14:59:26] [INFO ] After 896ms SMT Verify possible using 303 Read/Feed constraints in natural domain returned unsat :1 sat :5
[2023-03-12 14:59:27] [INFO ] Deduced a trap composed of 88 places in 543 ms of which 5 ms to minimize.
[2023-03-12 14:59:27] [INFO ] Deduced a trap composed of 12 places in 205 ms of which 1 ms to minimize.
[2023-03-12 14:59:27] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 2 trap constraints in 873 ms
[2023-03-12 14:59:28] [INFO ] Deduced a trap composed of 11 places in 359 ms of which 2 ms to minimize.
[2023-03-12 14:59:28] [INFO ] Deduced a trap composed of 66 places in 252 ms of which 2 ms to minimize.
[2023-03-12 14:59:29] [INFO ] Deduced a trap composed of 33 places in 333 ms of which 0 ms to minimize.
[2023-03-12 14:59:29] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 1347 ms
[2023-03-12 14:59:29] [INFO ] Deduced a trap composed of 65 places in 389 ms of which 1 ms to minimize.
[2023-03-12 14:59:30] [INFO ] Deduced a trap composed of 23 places in 178 ms of which 0 ms to minimize.
[2023-03-12 14:59:30] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 826 ms
[2023-03-12 14:59:30] [INFO ] Deduced a trap composed of 37 places in 345 ms of which 1 ms to minimize.
[2023-03-12 14:59:31] [INFO ] Deduced a trap composed of 18 places in 254 ms of which 1 ms to minimize.
[2023-03-12 14:59:31] [INFO ] Deduced a trap composed of 11 places in 278 ms of which 1 ms to minimize.
[2023-03-12 14:59:31] [INFO ] Deduced a trap composed of 31 places in 228 ms of which 1 ms to minimize.
[2023-03-12 14:59:32] [INFO ] Deduced a trap composed of 18 places in 242 ms of which 0 ms to minimize.
[2023-03-12 14:59:32] [INFO ] Trap strengthening (SAT) tested/added 6/5 trap constraints in 1932 ms
[2023-03-12 14:59:32] [INFO ] After 6387ms SMT Verify possible using trap constraints in natural domain returned unsat :2 sat :4
Attempting to minimize the solution found.
Minimization took 436 ms.
[2023-03-12 14:59:32] [INFO ] After 7934ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :4
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-05 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BugTracking-PT-q8m002-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 6 Parikh solutions to 4 different solutions.
Parikh walk visited 0 properties in 270 ms.
Support contains 6 out of 280 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 280/280 places, 3904/3904 transitions.
Graph (complete) has 4653 edges and 280 vertex of which 278 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.18 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 277 transition count 3871
Iterating global reduction 0 with 1 rules applied. Total rules applied 3 place count 277 transition count 3871
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: -6
Deduced a syphon composed of 2 places in 4 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 7 place count 275 transition count 3877
Free-agglomeration rule applied 6 times.
Iterating global reduction 0 with 6 rules applied. Total rules applied 13 place count 275 transition count 3871
Reduce places removed 6 places and 0 transitions.
Iterating post reduction 0 with 6 rules applied. Total rules applied 19 place count 269 transition count 3871
Applied a total of 19 rules in 447 ms. Remains 269 /280 variables (removed 11) and now considering 3871/3904 (removed 33) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 449 ms. Remains : 269/280 places, 3871/3904 transitions.
Incomplete random walk after 10000 steps, including 8 resets, run finished after 255 ms. (steps per millisecond=39 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 75 ms. (steps per millisecond=133 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 69 ms. (steps per millisecond=144 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 4 resets, run finished after 85 ms. (steps per millisecond=117 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 82 ms. (steps per millisecond=121 ) properties (out of 4) seen :0
Interrupted probabilistic random walk after 106256 steps, run timeout after 3001 ms. (steps per millisecond=35 ) properties seen :{}
Probabilistic random walk after 106256 steps, saw 37175 distinct states, run finished after 3004 ms. (steps per millisecond=35 ) properties seen :0
Running SMT prover for 4 properties.
[2023-03-12 14:59:37] [INFO ] Flow matrix only has 3699 transitions (discarded 172 similar events)
// Phase 1: matrix 3699 rows 269 cols
[2023-03-12 14:59:37] [INFO ] Computed 8 place invariants in 39 ms
[2023-03-12 14:59:37] [INFO ] After 98ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:4
[2023-03-12 14:59:37] [INFO ] [Nat]Absence check using 8 positive place invariants in 3 ms returned sat
[2023-03-12 14:59:38] [INFO ] After 1043ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :4
[2023-03-12 14:59:38] [INFO ] State equation strengthened by 283 read => feed constraints.
[2023-03-12 14:59:39] [INFO ] After 829ms SMT Verify possible using 283 Read/Feed constraints in natural domain returned unsat :0 sat :4
[2023-03-12 14:59:39] [INFO ] Deduced a trap composed of 14 places in 421 ms of which 1 ms to minimize.
[2023-03-12 14:59:40] [INFO ] Deduced a trap composed of 7 places in 432 ms of which 2 ms to minimize.
[2023-03-12 14:59:40] [INFO ] Deduced a trap composed of 5 places in 80 ms of which 1 ms to minimize.
[2023-03-12 14:59:40] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 1394 ms
[2023-03-12 14:59:41] [INFO ] Deduced a trap composed of 10 places in 119 ms of which 0 ms to minimize.
[2023-03-12 14:59:41] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 325 ms
[2023-03-12 14:59:41] [INFO ] Deduced a trap composed of 26 places in 285 ms of which 1 ms to minimize.
[2023-03-12 14:59:41] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 513 ms
[2023-03-12 14:59:42] [INFO ] After 3514ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :4
Attempting to minimize the solution found.
Minimization took 547 ms.
[2023-03-12 14:59:42] [INFO ] After 5237ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :4
Parikh walk visited 0 properties in 13 ms.
Support contains 6 out of 269 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 269/269 places, 3871/3871 transitions.
Applied a total of 0 rules in 121 ms. Remains 269 /269 variables (removed 0) and now considering 3871/3871 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 122 ms. Remains : 269/269 places, 3871/3871 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 269/269 places, 3871/3871 transitions.
Applied a total of 0 rules in 114 ms. Remains 269 /269 variables (removed 0) and now considering 3871/3871 (removed 0) transitions.
[2023-03-12 14:59:42] [INFO ] Flow matrix only has 3699 transitions (discarded 172 similar events)
[2023-03-12 14:59:42] [INFO ] Invariant cache hit.
[2023-03-12 14:59:43] [INFO ] Implicit Places using invariants in 526 ms returned []
[2023-03-12 14:59:43] [INFO ] Flow matrix only has 3699 transitions (discarded 172 similar events)
[2023-03-12 14:59:43] [INFO ] Invariant cache hit.
[2023-03-12 14:59:44] [INFO ] State equation strengthened by 283 read => feed constraints.
[2023-03-12 14:59:45] [INFO ] Implicit Places using invariants and state equation in 2224 ms returned []
Implicit Place search using SMT with State Equation took 2754 ms to find 0 implicit places.
[2023-03-12 14:59:46] [INFO ] Redundant transitions in 561 ms returned []
[2023-03-12 14:59:46] [INFO ] Flow matrix only has 3699 transitions (discarded 172 similar events)
[2023-03-12 14:59:46] [INFO ] Invariant cache hit.
[2023-03-12 14:59:47] [INFO ] Dead Transitions using invariants and state equation in 1325 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 4763 ms. Remains : 269/269 places, 3871/3871 transitions.
Drop transitions removed 6 transitions
Ensure Unique test removed 167 transitions
Reduce isomorphic transitions removed 173 transitions.
Iterating post reduction 0 with 173 rules applied. Total rules applied 173 place count 269 transition count 3698
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 8 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 1 with 2 rules applied. Total rules applied 175 place count 268 transition count 3697
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 1 with 1 rules applied. Total rules applied 176 place count 268 transition count 3696
Free-agglomeration rule applied 5 times.
Iterating global reduction 1 with 5 rules applied. Total rules applied 181 place count 268 transition count 3691
Reduce places removed 5 places and 0 transitions.
Iterating post reduction 1 with 5 rules applied. Total rules applied 186 place count 263 transition count 3691
Applied a total of 186 rules in 451 ms. Remains 263 /269 variables (removed 6) and now considering 3691/3871 (removed 180) transitions.
Running SMT prover for 4 properties.
// Phase 1: matrix 3691 rows 263 cols
[2023-03-12 14:59:48] [INFO ] Computed 9 place invariants in 44 ms
[2023-03-12 14:59:48] [INFO ] After 78ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:4
[2023-03-12 14:59:48] [INFO ] [Nat]Absence check using 9 positive place invariants in 2 ms returned sat
[2023-03-12 14:59:49] [INFO ] After 1062ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :4
[2023-03-12 14:59:49] [INFO ] After 1708ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :4
Attempting to minimize the solution found.
Minimization took 389 ms.
[2023-03-12 14:59:50] [INFO ] After 2195ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :4
[2023-03-12 14:59:50] [INFO ] Export to MCC of 4 properties in file /home/mcc/execution/ReachabilityCardinality.sr.xml took 6 ms.
[2023-03-12 14:59:50] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 269 places, 3871 transitions and 19045 arcs took 27 ms.
[2023-03-12 14:59:51] [INFO ] Flatten gal took : 466 ms
Total runtime 28999 ms.
There are residual formulas that ITS could not solve within timeout
pnml2lts-sym model.pnml --lace-workers=4 --vset=lddmc --saturation=sat -rbs,w2W,ru,hf --sylvan-sizes=20,28,20,28 --invariant=/tmp/564/inv_0_ --invariant=/tmp/564/inv_1_ --invariant=/tmp/564/inv_2_ --invariant=/tmp/564/inv_3_ --inv-par
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393340 kB
MemFree: 15549568 kB
After kill :
MemTotal: 16393340 kB
MemFree: 16081712 kB

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.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
mcc2023

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-q8m002"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="ltsminxred"
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 ltsminxred"
echo " Input is BugTracking-PT-q8m002, 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 r041-tajo-167813694600390"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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