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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
3953.531 3600000.00 3663473.00 709.40 FFTFFFFFT?T?FTFF 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-167813696800406.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-q8m008, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r043-tajo-167813696800406
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 16M
-rw-r--r-- 1 mcc users 7.5K Feb 26 06:25 CTLCardinality.txt
-rw-r--r-- 1 mcc users 63K Feb 26 06:25 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.9K Feb 26 06:08 CTLFireability.txt
-rw-r--r-- 1 mcc users 55K Feb 26 06:08 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.3K Feb 25 15:37 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K 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 11K Feb 26 07:03 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 87K Feb 26 07:03 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 6.7K Feb 26 06:44 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 50K Feb 26 06:44 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-q8m008-ReachabilityCardinality-00
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-01
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-02
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-03
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-04
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-05
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-06
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-07
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-08
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-09
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-10
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-11
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-12
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-13
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-14
FORMULA_NAME BugTracking-PT-q8m008-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678787415020

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-q8m008
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-14 09:50:16] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-14 09:50:16] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-14 09:50:17] [INFO ] Load time of PNML (sax parser for PT used): 616 ms
[2023-03-14 09:50:17] [INFO ] Transformed 754 places.
[2023-03-14 09:50:17] [INFO ] Transformed 27370 transitions.
[2023-03-14 09:50:17] [INFO ] Parsed PT model containing 754 places and 27370 transitions and 136172 arcs in 784 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 13 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 474 places in 102 ms
Reduce places removed 474 places and 23466 transitions.
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10002 steps, including 71 resets, run finished after 332 ms. (steps per millisecond=30 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 12 resets, run finished after 61 ms. (steps per millisecond=163 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 69 ms. (steps per millisecond=144 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 13 resets, run finished after 68 ms. (steps per millisecond=147 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 7 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 14 resets, run finished after 62 ms. (steps per millisecond=161 ) properties (out of 5) seen :0
Interrupted probabilistic random walk after 111679 steps, run timeout after 3001 ms. (steps per millisecond=37 ) properties seen :{}
Probabilistic random walk after 111679 steps, saw 63680 distinct states, run finished after 3002 ms. (steps per millisecond=37 ) properties seen :0
Running SMT prover for 5 properties.
[2023-03-14 09:50:21] [INFO ] Flow matrix only has 3729 transitions (discarded 175 similar events)
// Phase 1: matrix 3729 rows 280 cols
[2023-03-14 09:50:21] [INFO ] Computed 10 place invariants in 61 ms
[2023-03-14 09:50:21] [INFO ] [Real]Absence check using 10 positive place invariants in 15 ms returned sat
[2023-03-14 09:50:21] [INFO ] After 274ms SMT Verify possible using all constraints in real domain returned unsat :2 sat :0 real:3
[2023-03-14 09:50:21] [INFO ] [Nat]Absence check using 10 positive place invariants in 2 ms returned sat
[2023-03-14 09:50:22] [INFO ] After 832ms SMT Verify possible using state equation in natural domain returned unsat :3 sat :2
[2023-03-14 09:50:22] [INFO ] State equation strengthened by 303 read => feed constraints.
[2023-03-14 09:50:23] [INFO ] After 815ms SMT Verify possible using 303 Read/Feed constraints in natural domain returned unsat :3 sat :2
[2023-03-14 09:50:24] [INFO ] Deduced a trap composed of 12 places in 563 ms of which 18 ms to minimize.
[2023-03-14 09:50:25] [INFO ] Deduced a trap composed of 84 places in 445 ms of which 2 ms to minimize.
[2023-03-14 09:50:25] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 1419 ms
[2023-03-14 09:50:26] [INFO ] Deduced a trap composed of 58 places in 568 ms of which 2 ms to minimize.
[2023-03-14 09:50:26] [INFO ] Deduced a trap composed of 93 places in 525 ms of which 2 ms to minimize.
[2023-03-14 09:50:27] [INFO ] Deduced a trap composed of 35 places in 382 ms of which 1 ms to minimize.
[2023-03-14 09:50:27] [INFO ] Deduced a trap composed of 56 places in 385 ms of which 1 ms to minimize.
[2023-03-14 09:50:28] [INFO ] Deduced a trap composed of 12 places in 290 ms of which 1 ms to minimize.
[2023-03-14 09:50:28] [INFO ] Deduced a trap composed of 47 places in 276 ms of which 1 ms to minimize.
[2023-03-14 09:50:28] [INFO ] Trap strengthening (SAT) tested/added 7/6 trap constraints in 3209 ms
[2023-03-14 09:50:28] [INFO ] After 5867ms SMT Verify possible using trap constraints in natural domain returned unsat :3 sat :2
Attempting to minimize the solution found.
Minimization took 343 ms.
[2023-03-14 09:50:29] [INFO ] After 7219ms SMT Verify possible using all constraints in natural domain returned unsat :3 sat :2
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-07 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BugTracking-PT-q8m008-ReachabilityCardinality-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 5 Parikh solutions to 2 different solutions.
Parikh walk visited 0 properties in 56 ms.
Support contains 16 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.15 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 5 times.
Iterating global reduction 0 with 5 rules applied. Total rules applied 12 place count 275 transition count 3872
Reduce places removed 5 places and 0 transitions.
Iterating post reduction 0 with 5 rules applied. Total rules applied 17 place count 270 transition count 3872
Applied a total of 17 rules in 405 ms. Remains 270 /280 variables (removed 10) and now considering 3872/3904 (removed 32) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 408 ms. Remains : 270/280 places, 3872/3904 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 101 ms. (steps per millisecond=99 ) properties (out of 2) 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 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 45 ms. (steps per millisecond=222 ) properties (out of 2) seen :0
Interrupted probabilistic random walk after 125750 steps, run timeout after 3001 ms. (steps per millisecond=41 ) properties seen :{}
Probabilistic random walk after 125750 steps, saw 87046 distinct states, run finished after 3001 ms. (steps per millisecond=41 ) properties seen :0
Running SMT prover for 2 properties.
[2023-03-14 09:50:32] [INFO ] Flow matrix only has 3700 transitions (discarded 172 similar events)
// Phase 1: matrix 3700 rows 270 cols
[2023-03-14 09:50:32] [INFO ] Computed 8 place invariants in 43 ms
[2023-03-14 09:50:32] [INFO ] After 74ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-14 09:50:32] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2023-03-14 09:50:33] [INFO ] After 604ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2023-03-14 09:50:33] [INFO ] State equation strengthened by 283 read => feed constraints.
[2023-03-14 09:50:34] [INFO ] After 553ms SMT Verify possible using 283 Read/Feed constraints in natural domain returned unsat :0 sat :2
[2023-03-14 09:50:34] [INFO ] Deduced a trap composed of 46 places in 467 ms of which 0 ms to minimize.
[2023-03-14 09:50:35] [INFO ] Deduced a trap composed of 26 places in 305 ms of which 1 ms to minimize.
[2023-03-14 09:50:35] [INFO ] Deduced a trap composed of 16 places in 327 ms of which 0 ms to minimize.
[2023-03-14 09:50:36] [INFO ] Deduced a trap composed of 17 places in 255 ms of which 2 ms to minimize.
[2023-03-14 09:50:36] [INFO ] Trap strengthening (SAT) tested/added 5/4 trap constraints in 1957 ms
[2023-03-14 09:50:36] [INFO ] Deduced a trap composed of 7 places in 535 ms of which 1 ms to minimize.
[2023-03-14 09:50:37] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 744 ms
[2023-03-14 09:50:37] [INFO ] After 3548ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :2
Attempting to minimize the solution found.
Minimization took 334 ms.
[2023-03-14 09:50:37] [INFO ] After 4573ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
Parikh walk visited 0 properties in 5 ms.
Support contains 16 out of 270 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 270/270 places, 3872/3872 transitions.
Applied a total of 0 rules in 100 ms. Remains 270 /270 variables (removed 0) and now considering 3872/3872 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 100 ms. Remains : 270/270 places, 3872/3872 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 270/270 places, 3872/3872 transitions.
Applied a total of 0 rules in 112 ms. Remains 270 /270 variables (removed 0) and now considering 3872/3872 (removed 0) transitions.
[2023-03-14 09:50:37] [INFO ] Flow matrix only has 3700 transitions (discarded 172 similar events)
[2023-03-14 09:50:37] [INFO ] Invariant cache hit.
[2023-03-14 09:50:38] [INFO ] Implicit Places using invariants in 485 ms returned []
[2023-03-14 09:50:38] [INFO ] Flow matrix only has 3700 transitions (discarded 172 similar events)
[2023-03-14 09:50:38] [INFO ] Invariant cache hit.
[2023-03-14 09:50:38] [INFO ] State equation strengthened by 283 read => feed constraints.
[2023-03-14 09:50:40] [INFO ] Implicit Places using invariants and state equation in 2102 ms returned []
Implicit Place search using SMT with State Equation took 2590 ms to find 0 implicit places.
[2023-03-14 09:50:40] [INFO ] Redundant transitions in 346 ms returned []
[2023-03-14 09:50:40] [INFO ] Flow matrix only has 3700 transitions (discarded 172 similar events)
[2023-03-14 09:50:40] [INFO ] Invariant cache hit.
[2023-03-14 09:50:41] [INFO ] Dead Transitions using invariants and state equation in 1257 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 4316 ms. Remains : 270/270 places, 3872/3872 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 270 transition count 3699
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 175 place count 269 transition count 3698
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 269 transition count 3697
Free-agglomeration rule applied 5 times.
Iterating global reduction 1 with 5 rules applied. Total rules applied 181 place count 269 transition count 3692
Reduce places removed 5 places and 0 transitions.
Iterating post reduction 1 with 5 rules applied. Total rules applied 186 place count 264 transition count 3692
Applied a total of 186 rules in 416 ms. Remains 264 /270 variables (removed 6) and now considering 3692/3872 (removed 180) transitions.
Running SMT prover for 2 properties.
// Phase 1: matrix 3692 rows 264 cols
[2023-03-14 09:50:42] [INFO ] Computed 9 place invariants in 44 ms
[2023-03-14 09:50:42] [INFO ] After 90ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-14 09:50:42] [INFO ] [Nat]Absence check using 9 positive place invariants in 2 ms returned sat
[2023-03-14 09:50:43] [INFO ] After 686ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2023-03-14 09:50:43] [INFO ] After 1093ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :2
Attempting to minimize the solution found.
Minimization took 265 ms.
[2023-03-14 09:50:43] [INFO ] After 1420ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
[2023-03-14 09:50:43] [INFO ] Export to MCC of 2 properties in file /home/mcc/execution/ReachabilityCardinality.sr.xml took 5 ms.
[2023-03-14 09:50:44] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 270 places, 3872 transitions and 19047 arcs took 27 ms.
[2023-03-14 09:50:44] [INFO ] Flatten gal took : 533 ms
Total runtime 28163 ms.
There are residual formulas that ITS could not solve within timeout
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running BugTracking (PT), instance q8m008
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: 270 places, 3872 transitions, 19047 arcs.
Final Score: 58188.279
Took : 91 seconds
Reachability Cardinality file is: ReachabilityCardinality.xml
READY TO PARSE. BS
PROPERTY: BugTracking-PT-q8m008-ReachabilityCardinality-09 (reachable & potential(( ( (! ( (tk(P219)) <= ( 8 ) )) & ( (tk(P99)) <= ( 0 ) ) ) | ( ( (! ( (tk(P210)) <= ( 4 ) )) & ( (! ( ( 1 ) <= (tk(P84)) )) & ( ( 4 ) <= (tk(P133)) ) ) ) & ( ( ( (tk(P213)) <= ( 0 ) ) & ( (tk(P55)) <= ( 0 ) ) ) & ( ( ( (tk(P43)) <= (tk(P151)) ) | ( (tk(P97)) <= (tk(P258)) ) ) & ( ( (tk(P242)) <= ( 4 ) ) | (! ( ( 2 ) <= (tk(P227)) )) ) ) ) ) )))
PROPERTY: BugTracking-PT-q8m008-ReachabilityCardinality-11 (reachable & potential(( (! ( (tk(P215)) <= ( 6 ) )) | ( (! ( (tk(P19)) <= ( 7 ) )) & ( (tk(P6)) <= ( 0 ) ) ) )))
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393340 kB
MemFree: 12175188 kB
After kill :
MemTotal: 16393340 kB
MemFree: 16084916 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
Caught signal 15, terminating.

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-q8m008"
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-q8m008, 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-167813696800406"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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