fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r229-tall-165286034300422
Last Updated
Jun 22, 2022

About the Execution of ITS-Tools for ShieldPPPt-PT-050A

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
604.191 385665.00 471065.00 671.40 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/mcc2022-input.r229-tall-165286034300422.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is ShieldPPPt-PT-050A, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r229-tall-165286034300422
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 584K
-rw-r--r-- 1 mcc users 7.6K Apr 29 13:47 CTLCardinality.txt
-rw-r--r-- 1 mcc users 84K Apr 29 13:47 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K Apr 29 13:37 CTLFireability.txt
-rw-r--r-- 1 mcc users 58K Apr 29 13:37 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.7K May 9 08:56 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 08:56 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 9 08:56 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 08:56 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 08:56 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 08:56 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 5 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 337K May 10 09:34 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 1653035928861

Running Version 202205111006
[2022-05-20 08:38:50] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2022-05-20 08:38:50] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 08:38:50] [INFO ] Load time of PNML (sax parser for PT used): 160 ms
[2022-05-20 08:38:50] [INFO ] Transformed 1253 places.
[2022-05-20 08:38:50] [INFO ] Transformed 903 transitions.
[2022-05-20 08:38:50] [INFO ] Found NUPN structural information;
[2022-05-20 08:38:50] [INFO ] Parsed PT model containing 1253 places and 903 transitions in 312 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 1253/1253 places, 903/903 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 1253 transition count 902
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 12 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 1 with 4 rules applied. Total rules applied 5 place count 1251 transition count 900
Applied a total of 5 rules in 267 ms. Remains 1251 /1253 variables (removed 2) and now considering 900/903 (removed 3) transitions.
// Phase 1: matrix 900 rows 1251 cols
[2022-05-20 08:38:50] [INFO ] Computed 551 place invariants in 28 ms
[2022-05-20 08:38:51] [INFO ] Implicit Places using invariants in 1006 ms returned [1244]
Discarding 1 places :
Implicit Place search using SMT only with invariants took 1037 ms to find 1 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 1250/1253 places, 900/903 transitions.
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 2 Pre rules applied. Total rules applied 0 place count 1250 transition count 898
Deduced a syphon composed of 2 places in 6 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 4 place count 1248 transition count 898
Applied a total of 4 rules in 64 ms. Remains 1248 /1250 variables (removed 2) and now considering 898/900 (removed 2) transitions.
// Phase 1: matrix 898 rows 1248 cols
[2022-05-20 08:38:51] [INFO ] Computed 550 place invariants in 10 ms
[2022-05-20 08:38:52] [INFO ] Implicit Places using invariants in 758 ms returned [1231, 1235]
Discarding 2 places :
Implicit Place search using SMT only with invariants took 760 ms to find 2 implicit places.
Starting structural reductions in LIVENESS mode, iteration 2 : 1246/1253 places, 898/903 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 2 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 4 place count 1244 transition count 896
Applied a total of 4 rules in 88 ms. Remains 1244 /1246 variables (removed 2) and now considering 896/898 (removed 2) transitions.
// Phase 1: matrix 896 rows 1244 cols
[2022-05-20 08:38:52] [INFO ] Computed 548 place invariants in 5 ms
[2022-05-20 08:38:53] [INFO ] Implicit Places using invariants in 834 ms returned []
// Phase 1: matrix 896 rows 1244 cols
[2022-05-20 08:38:53] [INFO ] Computed 548 place invariants in 7 ms
[2022-05-20 08:38:54] [INFO ] Implicit Places using invariants and state equation in 1430 ms returned []
Implicit Place search using SMT with State Equation took 2266 ms to find 0 implicit places.
Starting structural reductions in LIVENESS mode, iteration 3 : 1244/1253 places, 896/903 transitions.
Finished structural reductions, in 3 iterations. Remains : 1244/1253 places, 896/903 transitions.
Discarding 199 transitions out of 896. Remains 697
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1113 ms. (steps per millisecond=8 ) properties (out of 696) seen :165
Running SMT prover for 531 properties.
// Phase 1: matrix 896 rows 1244 cols
[2022-05-20 08:38:56] [INFO ] Computed 548 place invariants in 3 ms
[2022-05-20 08:39:08] [INFO ] [Real]Absence check using 548 positive place invariants in 94 ms returned sat
[2022-05-20 08:39:21] [INFO ] After 814ms SMT Verify possible using state equation in real domain returned unsat :0 sat :523 real:8
[2022-05-20 08:39:21] [INFO ] After 818ms SMT Verify possible using trap constraints in real domain returned unsat :0 sat :523 real:8
Attempting to minimize the solution found.
Minimization took 1 ms.
[2022-05-20 08:39:21] [INFO ] After 25024ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :523 real:8
[2022-05-20 08:39:33] [INFO ] [Nat]Absence check using 548 positive place invariants in 91 ms returned sat
[2022-05-20 08:39:46] [INFO ] After 543ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :531
[2022-05-20 08:39:46] [INFO ] After 545ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :531
Attempting to minimize the solution found.
Minimization took 1 ms.
[2022-05-20 08:39:46] [INFO ] After 25018ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :531
Fused 531 Parikh solutions to 2 different solutions.
Parikh walk visited 0 properties in 175 ms.
Support contains 951 out of 1244 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 1244/1244 places, 896/896 transitions.
Partial Free-agglomeration rule applied 45 times.
Drop transitions removed 45 transitions
Iterating global reduction 0 with 45 rules applied. Total rules applied 45 place count 1244 transition count 896
Applied a total of 45 rules in 69 ms. Remains 1244 /1244 variables (removed 0) and now considering 896/896 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 1244/1244 places, 896/896 transitions.
Interrupted random walk after 414621 steps, including 1 resets, run timeout after 30001 ms. (steps per millisecond=13 ) properties seen 164
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 134 ms. (steps per millisecond=74 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 138 ms. (steps per millisecond=72 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 122 ms. (steps per millisecond=81 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 133 ms. (steps per millisecond=75 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 124 ms. (steps per millisecond=80 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 119 ms. (steps per millisecond=84 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 121 ms. (steps per millisecond=82 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 119 ms. (steps per millisecond=84 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 122 ms. (steps per millisecond=81 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 119 ms. (steps per millisecond=84 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 122 ms. (steps per millisecond=81 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 121 ms. (steps per millisecond=82 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 119 ms. (steps per millisecond=84 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 120 ms. (steps per millisecond=83 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 117 ms. (steps per millisecond=85 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 112 ms. (steps per millisecond=89 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 120 ms. (steps per millisecond=83 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 132 ms. (steps per millisecond=75 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 116 ms. (steps per millisecond=86 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 110 ms. (steps per millisecond=90 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 114 ms. (steps per millisecond=87 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 118 ms. (steps per millisecond=84 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 114 ms. (steps per millisecond=87 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 120 ms. (steps per millisecond=83 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 125 ms. (steps per millisecond=80 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 118 ms. (steps per millisecond=84 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 128 ms. (steps per millisecond=78 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 132 ms. (steps per millisecond=75 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 112 ms. (steps per millisecond=89 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 122 ms. (steps per millisecond=81 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 116 ms. (steps per millisecond=86 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 129 ms. (steps per millisecond=77 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 120 ms. (steps per millisecond=83 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 121 ms. (steps per millisecond=82 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 128 ms. (steps per millisecond=78 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 117 ms. (steps per millisecond=85 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 122 ms. (steps per millisecond=81 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 112 ms. (steps per millisecond=89 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 117 ms. (steps per millisecond=85 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 115 ms. (steps per millisecond=86 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 117 ms. (steps per millisecond=85 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 129 ms. (steps per millisecond=77 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 133 ms. (steps per millisecond=75 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 115 ms. (steps per millisecond=86 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 131 ms. (steps per millisecond=76 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 114 ms. (steps per millisecond=87 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 117 ms. (steps per millisecond=85 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 120 ms. (steps per millisecond=83 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 123 ms. (steps per millisecond=81 ) properties (out of 367) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 129 ms. (steps per millisecond=77 ) properties (out of 367) seen :0
Running SMT prover for 367 properties.
// Phase 1: matrix 896 rows 1244 cols
[2022-05-20 08:40:22] [INFO ] Computed 548 place invariants in 9 ms
[2022-05-20 08:40:31] [INFO ] [Real]Absence check using 548 positive place invariants in 89 ms returned sat
[2022-05-20 08:41:09] [INFO ] After 29675ms SMT Verify possible using state equation in real domain returned unsat :0 sat :5 real:362
[2022-05-20 08:41:09] [INFO ] State equation strengthened by 13 read => feed constraints.
[2022-05-20 08:41:09] [INFO ] After 253ms SMT Verify possible using 13 Read/Feed constraints in real domain returned unsat :0 sat :0 real:367
[2022-05-20 08:41:09] [INFO ] After 46800ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:367
[2022-05-20 08:41:18] [INFO ] [Nat]Absence check using 548 positive place invariants in 92 ms returned sat
[2022-05-20 08:42:10] [INFO ] After 44526ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :367
[2022-05-20 08:42:56] [INFO ] After 45912ms SMT Verify possible using 13 Read/Feed constraints in natural domain returned unsat :0 sat :367
[2022-05-20 08:42:57] [INFO ] Deduced a trap composed of 6 places in 56 ms of which 4 ms to minimize.
[2022-05-20 08:42:57] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 147 ms
[2022-05-20 08:42:59] [INFO ] Deduced a trap composed of 6 places in 72 ms of which 1 ms to minimize.
[2022-05-20 08:42:59] [INFO ] Deduced a trap composed of 6 places in 121 ms of which 1 ms to minimize.
[2022-05-20 08:42:59] [INFO ] Deduced a trap composed of 6 places in 47 ms of which 0 ms to minimize.
[2022-05-20 08:42:59] [INFO ] Deduced a trap composed of 7 places in 74 ms of which 1 ms to minimize.
[2022-05-20 08:42:59] [INFO ] Trap strengthening (SAT) tested/added 5/4 trap constraints in 515 ms
[2022-05-20 08:43:01] [INFO ] Deduced a trap composed of 6 places in 75 ms of which 1 ms to minimize.
[2022-05-20 08:43:01] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 200 ms
[2022-05-20 08:43:01] [INFO ] Deduced a trap composed of 6 places in 45 ms of which 1 ms to minimize.
[2022-05-20 08:43:01] [INFO ] Deduced a trap composed of 6 places in 48 ms of which 0 ms to minimize.
[2022-05-20 08:43:02] [INFO ] Deduced a trap composed of 7 places in 45 ms of which 0 ms to minimize.
[2022-05-20 08:43:02] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 331 ms
[2022-05-20 08:44:08] [INFO ] After 118131ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :367
Attempting to minimize the solution found.
Minimization took 45959 ms.
[2022-05-20 08:44:54] [INFO ] After 225021ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :367
Fused 367 Parikh solutions to 361 different solutions.
Finished Parikh walk after 109438 steps, including 682 resets, run visited all 1 properties in 894 ms. (steps per millisecond=122 )
Parikh walk visited 367 properties in 19688 ms.
Able to resolve query QuasiLiveness after proving 697 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK TOPOLOGICAL INITIAL_STATE
Total runtime 384437 ms.

BK_STOP 1653036314526

--------------------
content from stderr:

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ QuasiLiveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution QuasiLiveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination QuasiLiveness -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=@none -Xss128m -Xms40m -Xmx8192m

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="ShieldPPPt-PT-050A"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="itstools"
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-4028"
echo " Executing tool itstools"
echo " Input is ShieldPPPt-PT-050A, 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 r229-tall-165286034300422"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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