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

About the Execution of Smart+red for Anderson-PT-06

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
513.195 68925.00 116018.00 467.60 T normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r537-tall-167987254800012.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool smartxred
Input is Anderson-PT-06, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r537-tall-167987254800012
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 764K
-rw-r--r-- 1 mcc users 5.7K Mar 23 15:19 CTLCardinality.txt
-rw-r--r-- 1 mcc users 54K Mar 23 15:19 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.6K Mar 23 15:18 CTLFireability.txt
-rw-r--r-- 1 mcc users 59K Mar 23 15:18 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Mar 23 07:06 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 23 07:06 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Mar 23 07:06 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 23 07:06 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 Mar 26 22:42 NewModel
-rw-r--r-- 1 mcc users 14K Mar 23 15:20 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 137K Mar 23 15:20 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 12K Mar 23 15:19 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 80K Mar 23 15:19 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 23 07:06 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Mar 23 07:06 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 26 22:42 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 26 22:42 instance
-rw-r--r-- 1 mcc users 6 Mar 26 22:42 iscolored
-rw-r--r-- 1 mcc users 302K Mar 31 16:48 model.pnml

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

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

The expected result is a vector of booleans
BOOL_VECTOR

FORMULA_NAME QuasiLiveness

=== Now, execution of the tool begins

BK_START 1680818394014

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=QuasiLiveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=Anderson-PT-06
Applying reductions before tool smart
Invoking reducer
Running Version 202304061127
[2023-04-06 21:59:55] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -timeout, 180, -rebuildPNML]
[2023-04-06 21:59:55] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-04-06 21:59:55] [INFO ] Load time of PNML (sax parser for PT used): 75 ms
[2023-04-06 21:59:55] [INFO ] Transformed 229 places.
[2023-04-06 21:59:55] [INFO ] Transformed 600 transitions.
[2023-04-06 21:59:55] [INFO ] Found NUPN structural information;
[2023-04-06 21:59:55] [INFO ] Parsed PT model containing 229 places and 600 transitions and 2280 arcs in 140 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 229/229 places, 600/600 transitions.
Performed 30 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 30 Pre rules applied. Total rules applied 0 place count 229 transition count 570
Deduced a syphon composed of 30 places in 2 ms
Reduce places removed 30 places and 0 transitions.
Iterating global reduction 0 with 60 rules applied. Total rules applied 60 place count 199 transition count 570
Applied a total of 60 rules in 28 ms. Remains 199 /229 variables (removed 30) and now considering 570/600 (removed 30) transitions.
// Phase 1: matrix 570 rows 199 cols
[2023-04-06 21:59:55] [INFO ] Computed 15 invariants in 33 ms
[2023-04-06 21:59:56] [INFO ] Implicit Places using invariants in 461 ms returned [0]
Discarding 1 places :
Implicit Place search using SMT only with invariants took 603 ms to find 1 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 198/229 places, 570/600 transitions.
Drop transitions removed 36 transitions
Trivial Post-agglo rules discarded 36 transitions
Performed 36 trivial Post agglomeration. Transition count delta: 36
Iterating post reduction 0 with 36 rules applied. Total rules applied 36 place count 198 transition count 534
Reduce places removed 36 places and 0 transitions.
Iterating post reduction 1 with 36 rules applied. Total rules applied 72 place count 162 transition count 534
Applied a total of 72 rules in 7 ms. Remains 162 /198 variables (removed 36) and now considering 534/570 (removed 36) transitions.
// Phase 1: matrix 534 rows 162 cols
[2023-04-06 21:59:56] [INFO ] Computed 14 invariants in 7 ms
[2023-04-06 21:59:56] [INFO ] Implicit Places using invariants in 289 ms returned []
[2023-04-06 21:59:56] [INFO ] Invariant cache hit.
[2023-04-06 21:59:56] [INFO ] State equation strengthened by 54 read => feed constraints.
[2023-04-06 21:59:57] [INFO ] Implicit Places using invariants and state equation in 613 ms returned []
Implicit Place search using SMT with State Equation took 905 ms to find 0 implicit places.
Starting structural reductions in LIVENESS mode, iteration 2 : 162/229 places, 534/600 transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 1544 ms. Remains : 162/229 places, 534/600 transitions.
Initial state reduction rules removed 6 formulas.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 631 ms. (steps per millisecond=15 ) properties (out of 528) seen :381
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=100 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=100 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=100 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=33 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=100 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 147) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 147) seen :0
Running SMT prover for 147 properties.
[2023-04-06 21:59:58] [INFO ] Invariant cache hit.
[2023-04-06 21:59:58] [INFO ] [Real]Absence check using 7 positive place invariants in 3 ms returned sat
[2023-04-06 21:59:58] [INFO ] [Real]Absence check using 7 positive and 7 generalized place invariants in 9 ms returned sat
[2023-04-06 22:00:04] [INFO ] After 6123ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:147
[2023-04-06 22:00:04] [INFO ] [Nat]Absence check using 7 positive place invariants in 3 ms returned sat
[2023-04-06 22:00:04] [INFO ] [Nat]Absence check using 7 positive and 7 generalized place invariants in 4 ms returned sat
[2023-04-06 22:00:10] [INFO ] After 4801ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :147
[2023-04-06 22:00:10] [INFO ] State equation strengthened by 54 read => feed constraints.
[2023-04-06 22:00:15] [INFO ] After 5290ms SMT Verify possible using 54 Read/Feed constraints in natural domain returned unsat :0 sat :147
[2023-04-06 22:00:17] [INFO ] Deduced a trap composed of 66 places in 104 ms of which 4 ms to minimize.
[2023-04-06 22:00:17] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 163 ms
[2023-04-06 22:00:17] [INFO ] Deduced a trap composed of 79 places in 102 ms of which 1 ms to minimize.
[2023-04-06 22:00:17] [INFO ] Deduced a trap composed of 69 places in 95 ms of which 1 ms to minimize.
[2023-04-06 22:00:17] [INFO ] Deduced a trap composed of 99 places in 90 ms of which 1 ms to minimize.
[2023-04-06 22:00:17] [INFO ] Deduced a trap composed of 53 places in 92 ms of which 1 ms to minimize.
[2023-04-06 22:00:17] [INFO ] Deduced a trap composed of 35 places in 86 ms of which 0 ms to minimize.
[2023-04-06 22:00:18] [INFO ] Deduced a trap composed of 71 places in 90 ms of which 0 ms to minimize.
[2023-04-06 22:00:18] [INFO ] Deduced a trap composed of 70 places in 84 ms of which 0 ms to minimize.
[2023-04-06 22:00:18] [INFO ] Deduced a trap composed of 70 places in 134 ms of which 0 ms to minimize.
[2023-04-06 22:00:18] [INFO ] Trap strengthening (SAT) tested/added 9/8 trap constraints in 1062 ms
[2023-04-06 22:00:18] [INFO ] Deduced a trap composed of 82 places in 91 ms of which 1 ms to minimize.
[2023-04-06 22:00:18] [INFO ] Deduced a trap composed of 83 places in 82 ms of which 0 ms to minimize.
[2023-04-06 22:00:18] [INFO ] Deduced a trap composed of 70 places in 74 ms of which 0 ms to minimize.
[2023-04-06 22:00:18] [INFO ] Deduced a trap composed of 48 places in 87 ms of which 0 ms to minimize.
[2023-04-06 22:00:18] [INFO ] Deduced a trap composed of 61 places in 90 ms of which 1 ms to minimize.
[2023-04-06 22:00:19] [INFO ] Deduced a trap composed of 59 places in 81 ms of which 1 ms to minimize.
[2023-04-06 22:00:19] [INFO ] Trap strengthening (SAT) tested/added 7/6 trap constraints in 670 ms
[2023-04-06 22:00:24] [INFO ] After 14679ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :147
Attempting to minimize the solution found.
Minimization took 4644 ms.
[2023-04-06 22:00:29] [INFO ] After 25013ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :146
Parikh walk visited 61 properties in 899 ms.
Support contains 59 out of 162 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 162/162 places, 534/534 transitions.
Discarding 21 places :
Symmetric choice reduction at 0 with 21 rule applications. Total rules 21 place count 141 transition count 513
Iterating global reduction 0 with 21 rules applied. Total rules applied 42 place count 141 transition count 513
Applied a total of 42 rules in 33 ms. Remains 141 /162 variables (removed 21) and now considering 513/534 (removed 21) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 34 ms. Remains : 141/162 places, 513/534 transitions.
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 22554 ms. (steps per millisecond=44 ) properties (out of 86) seen :67
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 698 ms. (steps per millisecond=143 ) properties (out of 19) seen :1
Incomplete Best-First random walk after 100000 steps, including 2 resets, run finished after 838 ms. (steps per millisecond=119 ) properties (out of 18) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 612 ms. (steps per millisecond=163 ) properties (out of 17) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 646 ms. (steps per millisecond=154 ) properties (out of 16) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 623 ms. (steps per millisecond=160 ) properties (out of 15) seen :1
Incomplete Best-First random walk after 100000 steps, including 2 resets, run finished after 689 ms. (steps per millisecond=145 ) properties (out of 14) seen :2
Incomplete Best-First random walk after 100000 steps, including 2 resets, run finished after 634 ms. (steps per millisecond=157 ) properties (out of 12) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 630 ms. (steps per millisecond=158 ) properties (out of 11) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 516 ms. (steps per millisecond=193 ) properties (out of 10) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 483 ms. (steps per millisecond=207 ) properties (out of 9) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 479 ms. (steps per millisecond=208 ) properties (out of 8) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 467 ms. (steps per millisecond=214 ) properties (out of 7) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 453 ms. (steps per millisecond=220 ) properties (out of 6) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 424 ms. (steps per millisecond=235 ) properties (out of 5) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 387 ms. (steps per millisecond=258 ) properties (out of 4) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 268 ms. (steps per millisecond=373 ) properties (out of 3) seen :1
Incomplete Best-First random walk after 100000 steps, including 2 resets, run finished after 103 ms. (steps per millisecond=970 ) properties (out of 2) seen :1
Finished Best-First random walk after 15575 steps, including 0 resets, run visited all 1 properties in 10 ms. (steps per millisecond=1557 )
Parikh walk visited 0 properties in 0 ms.
Able to resolve query QuasiLiveness after proving 534 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK BESTFIRST_WALK TOPOLOGICAL INITIAL_STATE
Total runtime 66351 ms.
ITS solved all properties within timeout

BK_STOP 1680818462939

--------------------
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.202304061127.jar
+ VERSION=202304061127
+ echo 'Running Version 202304061127'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination QuasiLiveness -timeout 180 -rebuildPNML

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="Anderson-PT-06"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="smartxred"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
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 Anderson-PT-06, examination is QuasiLiveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r537-tall-167987254800012"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/Anderson-PT-06.tgz
mv Anderson-PT-06 execution
cd execution
if [ "QuasiLiveness" = "ReachabilityDeadlock" ] || [ "QuasiLiveness" = "UpperBounds" ] || [ "QuasiLiveness" = "QuasiLiveness" ] || [ "QuasiLiveness" = "StableMarking" ] || [ "QuasiLiveness" = "Liveness" ] || [ "QuasiLiveness" = "OneSafe" ] || [ "QuasiLiveness" = "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 [ "QuasiLiveness" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "QuasiLiveness" != "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 "QuasiLiveness.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property QuasiLiveness.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "QuasiLiveness.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 '' QuasiLiveness.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "QuasiLiveness" = "ReachabilityDeadlock" ] || [ "QuasiLiveness" = "QuasiLiveness" ] || [ "QuasiLiveness" = "StableMarking" ] || [ "QuasiLiveness" = "Liveness" ] || [ "QuasiLiveness" = "OneSafe" ] ; then
echo "FORMULA_NAME QuasiLiveness"
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 ;