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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
9443.220 1800889.00 1838920.00 323.20 ?TTTT?TTT?FT?T?T 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-167813696700326.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-q3m002, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r043-tajo-167813696700326
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 16M
-rw-r--r-- 1 mcc users 10K Feb 26 07:51 CTLCardinality.txt
-rw-r--r-- 1 mcc users 93K Feb 26 07:51 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.4K Feb 26 07:34 CTLFireability.txt
-rw-r--r-- 1 mcc users 47K Feb 26 07:34 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.1K Feb 25 15:37 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Feb 25 15:37 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 15:37 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 15:37 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Feb 26 08:44 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 102K Feb 26 08:44 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.3K Feb 26 08:27 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 56K Feb 26 08:27 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-q3m002-ReachabilityCardinality-00
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-01
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-02
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-03
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-04
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-05
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-06
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-07
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-08
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-09
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-10
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-11
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-12
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-13
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-14
FORMULA_NAME BugTracking-PT-q3m002-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678783508053

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-q3m002
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-14 08:45:09] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-14 08:45:09] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-14 08:45:10] [INFO ] Load time of PNML (sax parser for PT used): 839 ms
[2023-03-14 08:45:10] [INFO ] Transformed 754 places.
[2023-03-14 08:45:10] [INFO ] Transformed 27370 transitions.
[2023-03-14 08:45:11] [INFO ] Parsed PT model containing 754 places and 27370 transitions and 136172 arcs in 1080 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 28 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 514 places in 233 ms
Reduce places removed 514 places and 24601 transitions.
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 240 resets, run finished after 436 ms. (steps per millisecond=22 ) properties (out of 7) seen :2
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BugTracking-PT-q3m002-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 60 resets, run finished after 74 ms. (steps per millisecond=135 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10000 steps, including 56 resets, run finished after 68 ms. (steps per millisecond=147 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10000 steps, including 60 resets, run finished after 72 ms. (steps per millisecond=138 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10000 steps, including 81 resets, run finished after 84 ms. (steps per millisecond=119 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10000 steps, including 61 resets, run finished after 68 ms. (steps per millisecond=147 ) properties (out of 5) seen :0
Running SMT prover for 5 properties.
[2023-03-14 08:45:12] [INFO ] Flow matrix only has 2642 transitions (discarded 127 similar events)
// Phase 1: matrix 2642 rows 240 cols
[2023-03-14 08:45:12] [INFO ] Computed 10 place invariants in 24 ms
[2023-03-14 08:45:12] [INFO ] After 189ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:5
[2023-03-14 08:45:12] [INFO ] [Nat]Absence check using 10 positive place invariants in 3 ms returned sat
[2023-03-14 08:45:13] [INFO ] After 726ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :5
[2023-03-14 08:45:13] [INFO ] State equation strengthened by 255 read => feed constraints.
[2023-03-14 08:45:13] [INFO ] After 476ms SMT Verify possible using 255 Read/Feed constraints in natural domain returned unsat :0 sat :5
[2023-03-14 08:45:14] [INFO ] Deduced a trap composed of 15 places in 330 ms of which 13 ms to minimize.
[2023-03-14 08:45:14] [INFO ] Deduced a trap composed of 27 places in 340 ms of which 1 ms to minimize.
[2023-03-14 08:45:15] [INFO ] Deduced a trap composed of 17 places in 256 ms of which 1 ms to minimize.
[2023-03-14 08:45:15] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 1207 ms
[2023-03-14 08:45:15] [INFO ] Deduced a trap composed of 44 places in 344 ms of which 2 ms to minimize.
[2023-03-14 08:45:16] [INFO ] Deduced a trap composed of 12 places in 344 ms of which 2 ms to minimize.
[2023-03-14 08:45:16] [INFO ] Deduced a trap composed of 12 places in 248 ms of which 1 ms to minimize.
[2023-03-14 08:45:16] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 1296 ms
[2023-03-14 08:45:17] [INFO ] Deduced a trap composed of 18 places in 265 ms of which 1 ms to minimize.
[2023-03-14 08:45:17] [INFO ] Deduced a trap composed of 20 places in 174 ms of which 2 ms to minimize.
[2023-03-14 08:45:17] [INFO ] Deduced a trap composed of 19 places in 181 ms of which 1 ms to minimize.
[2023-03-14 08:45:17] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 908 ms
[2023-03-14 08:45:17] [INFO ] After 4408ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :5
Attempting to minimize the solution found.
Minimization took 641 ms.
[2023-03-14 08:45:18] [INFO ] After 5884ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :5
Parikh walk visited 0 properties in 222 ms.
Support contains 15 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.10 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 1 Post agglomeration using F-continuation condition.Transition count delta: -3
Deduced a syphon composed of 1 places in 8 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 5 place count 236 transition count 2753
Free-agglomeration rule applied 6 times.
Iterating global reduction 0 with 6 rules applied. Total rules applied 11 place count 236 transition count 2747
Reduce places removed 6 places and 0 transitions.
Iterating post reduction 0 with 6 rules applied. Total rules applied 17 place count 230 transition count 2747
Applied a total of 17 rules in 300 ms. Remains 230 /240 variables (removed 10) and now considering 2747/2769 (removed 22) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 303 ms. Remains : 230/240 places, 2747/2769 transitions.
Incomplete random walk after 10000 steps, including 5 resets, run finished after 269 ms. (steps per millisecond=37 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 7 resets, run finished after 72 ms. (steps per millisecond=138 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 78 ms. (steps per millisecond=128 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 90 ms. (steps per millisecond=111 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 13 resets, run finished after 75 ms. (steps per millisecond=133 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 76 ms. (steps per millisecond=131 ) properties (out of 5) seen :0
Interrupted probabilistic random walk after 129231 steps, run timeout after 3001 ms. (steps per millisecond=43 ) properties seen :{}
Probabilistic random walk after 129231 steps, saw 51883 distinct states, run finished after 3003 ms. (steps per millisecond=43 ) properties seen :0
Running SMT prover for 5 properties.
[2023-03-14 08:45:22] [INFO ] Flow matrix only has 2619 transitions (discarded 128 similar events)
// Phase 1: matrix 2619 rows 230 cols
[2023-03-14 08:45:22] [INFO ] Computed 8 place invariants in 13 ms
[2023-03-14 08:45:22] [INFO ] After 52ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:5
[2023-03-14 08:45:22] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2023-03-14 08:45:23] [INFO ] After 876ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :5
[2023-03-14 08:45:23] [INFO ] State equation strengthened by 240 read => feed constraints.
[2023-03-14 08:45:24] [INFO ] After 649ms SMT Verify possible using 240 Read/Feed constraints in natural domain returned unsat :0 sat :5
[2023-03-14 08:45:24] [INFO ] Deduced a trap composed of 17 places in 387 ms of which 1 ms to minimize.
[2023-03-14 08:45:25] [INFO ] Deduced a trap composed of 7 places in 233 ms of which 1 ms to minimize.
[2023-03-14 08:45:25] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 840 ms
[2023-03-14 08:45:25] [INFO ] Deduced a trap composed of 14 places in 361 ms of which 0 ms to minimize.
[2023-03-14 08:45:26] [INFO ] Deduced a trap composed of 16 places in 356 ms of which 1 ms to minimize.
[2023-03-14 08:45:26] [INFO ] Deduced a trap composed of 12 places in 424 ms of which 1 ms to minimize.
[2023-03-14 08:45:26] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 1417 ms
[2023-03-14 08:45:27] [INFO ] Deduced a trap composed of 11 places in 227 ms of which 0 ms to minimize.
[2023-03-14 08:45:27] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 342 ms
[2023-03-14 08:45:27] [INFO ] After 3705ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :5
Attempting to minimize the solution found.
Minimization took 430 ms.
[2023-03-14 08:45:27] [INFO ] After 5102ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :5
Parikh walk visited 0 properties in 8 ms.
Support contains 15 out of 230 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 230/230 places, 2747/2747 transitions.
Applied a total of 0 rules in 69 ms. Remains 230 /230 variables (removed 0) and now considering 2747/2747 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 69 ms. Remains : 230/230 places, 2747/2747 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 230/230 places, 2747/2747 transitions.
Applied a total of 0 rules in 57 ms. Remains 230 /230 variables (removed 0) and now considering 2747/2747 (removed 0) transitions.
[2023-03-14 08:45:28] [INFO ] Flow matrix only has 2619 transitions (discarded 128 similar events)
[2023-03-14 08:45:28] [INFO ] Invariant cache hit.
[2023-03-14 08:45:28] [INFO ] Implicit Places using invariants in 399 ms returned []
[2023-03-14 08:45:28] [INFO ] Flow matrix only has 2619 transitions (discarded 128 similar events)
[2023-03-14 08:45:28] [INFO ] Invariant cache hit.
[2023-03-14 08:45:28] [INFO ] State equation strengthened by 240 read => feed constraints.
[2023-03-14 08:45:30] [INFO ] Implicit Places using invariants and state equation in 1634 ms returned []
Implicit Place search using SMT with State Equation took 2037 ms to find 0 implicit places.
[2023-03-14 08:45:30] [INFO ] Redundant transitions in 244 ms returned []
[2023-03-14 08:45:30] [INFO ] Flow matrix only has 2619 transitions (discarded 128 similar events)
[2023-03-14 08:45:30] [INFO ] Invariant cache hit.
[2023-03-14 08:45:31] [INFO ] Dead Transitions using invariants and state equation in 836 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 3188 ms. Remains : 230/230 places, 2747/2747 transitions.
Drop transitions removed 6 transitions
Ensure Unique test removed 123 transitions
Reduce isomorphic transitions removed 129 transitions.
Iterating post reduction 0 with 129 rules applied. Total rules applied 129 place count 230 transition count 2618
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 2 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 1 with 2 rules applied. Total rules applied 131 place count 229 transition count 2617
Free-agglomeration rule applied 5 times.
Iterating global reduction 1 with 5 rules applied. Total rules applied 136 place count 229 transition count 2612
Reduce places removed 5 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 1 with 6 rules applied. Total rules applied 142 place count 224 transition count 2611
Applied a total of 142 rules in 209 ms. Remains 224 /230 variables (removed 6) and now considering 2611/2747 (removed 136) transitions.
Running SMT prover for 5 properties.
// Phase 1: matrix 2611 rows 224 cols
[2023-03-14 08:45:31] [INFO ] Computed 9 place invariants in 32 ms
[2023-03-14 08:45:31] [INFO ] After 72ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:5
[2023-03-14 08:45:31] [INFO ] [Nat]Absence check using 9 positive place invariants in 2 ms returned sat
[2023-03-14 08:45:32] [INFO ] After 633ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :5
[2023-03-14 08:45:32] [INFO ] After 981ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :5
Attempting to minimize the solution found.
Minimization took 227 ms.
[2023-03-14 08:45:32] [INFO ] After 1280ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :5
[2023-03-14 08:45:32] [INFO ] Export to MCC of 5 properties in file /home/mcc/execution/ReachabilityCardinality.sr.xml took 5 ms.
[2023-03-14 08:45:32] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 230 places, 2747 transitions and 13481 arcs took 13 ms.
[2023-03-14 08:45:33] [INFO ] Flatten gal took : 242 ms
Total runtime 23403 ms.
There are residual formulas that ITS could not solve within timeout
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running BugTracking (PT), instance q3m002
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: 230 places, 2747 transitions, 13481 arcs.
Final Score: 39296.485
Took : 56 seconds
Reachability Cardinality file is: ReachabilityCardinality.xml
READY TO PARSE. BS
PROPERTY: BugTracking-PT-q3m002-ReachabilityCardinality-00 (reachable & potential(( (! ( (tk(P22)) <= ( 0 ) )) | (! ( (tk(P125)) <= ( 0 ) )) )))
PROPERTY: BugTracking-PT-q3m002-ReachabilityCardinality-05 (reachable &!potential( ( ( (tk(P156)) <= ( 2 ) ) & ( (tk(P93)) <= ( 0 ) ) )))
PROPERTY: BugTracking-PT-q3m002-ReachabilityCardinality-09 (reachable & potential(( ( ( 2 ) <= (tk(P197)) ) & ( (tk(P185)) <= ( 0 ) ) )))
PROPERTY: BugTracking-PT-q3m002-ReachabilityCardinality-12 (reachable &!potential( ( (! ( ( 1 ) <= (tk(P101)) )) | ( ( (! ( (tk(P30)) <= ( 1 ) )) & ( (! ( (tk(P194)) <= ( 0 ) )) | (! ( (tk(P202)) <= ( 0 ) )) ) ) | ( ( (tk(P34)) <= (tk(P148)) ) & (! ( ( 2 ) <= (tk(P181)) )) ) ) )))
PROPERTY: BugTracking-PT-q3m002-ReachabilityCardinality-14 (reachable &!potential( ( (tk(P191)) <= (tk(P219)) )))

BK_STOP 1678785308942

--------------------
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:
++ perl -pe 's/.*\.//g'
++ sed s/.jar//
++ 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 16487
/home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//smart.sh: line 116: 594 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-q3m002"
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-q3m002, 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-167813696700326"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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