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

About the Execution of ITS-Tools for ShieldRVt-PT-030B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1022.516 129871.00 195580.00 313.40 F 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-165286034700628.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 ShieldRVt-PT-030B, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r229-tall-165286034700628
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 628K
-rw-r--r-- 1 mcc users 8.1K Apr 30 01:08 CTLCardinality.txt
-rw-r--r-- 1 mcc users 90K Apr 30 01:08 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.6K Apr 30 01:08 CTLFireability.txt
-rw-r--r-- 1 mcc users 65K Apr 30 01:08 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 09:01 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 09:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 09:01 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 09:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 09:01 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 09:01 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 364K 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 StableMarking

=== Now, execution of the tool begins

BK_START 1653038480724

Running Version 202205111006
[2022-05-20 09:21:21] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -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 09:21:21] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 09:21:22] [INFO ] Load time of PNML (sax parser for PT used): 143 ms
[2022-05-20 09:21:22] [INFO ] Transformed 1503 places.
[2022-05-20 09:21:22] [INFO ] Transformed 1503 transitions.
[2022-05-20 09:21:22] [INFO ] Found NUPN structural information;
[2022-05-20 09:21:22] [INFO ] Parsed PT model containing 1503 places and 1503 transitions in 261 ms.
Structural test allowed to assert that 601 places are NOT stable. Took 14 ms.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 961 ms. (steps per millisecond=10 ) properties (out of 902) seen :293
Running SMT prover for 609 properties.
// Phase 1: matrix 1503 rows 1503 cols
[2022-05-20 09:21:23] [INFO ] Computed 121 place invariants in 30 ms
[2022-05-20 09:21:41] [INFO ] After 17879ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:609
[2022-05-20 09:21:55] [INFO ] [Nat]Absence check using 121 positive place invariants in 52 ms returned sat
[2022-05-20 09:22:06] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2022-05-20 09:22:06] [INFO ] After 25017ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0 real:609
Fused 609 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 2 ms.
Support contains 609 out of 1503 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 1503/1503 places, 1503/1503 transitions.
Drop transitions removed 321 transitions
Trivial Post-agglo rules discarded 321 transitions
Performed 321 trivial Post agglomeration. Transition count delta: 321
Iterating post reduction 0 with 321 rules applied. Total rules applied 321 place count 1503 transition count 1182
Reduce places removed 321 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 1 with 323 rules applied. Total rules applied 644 place count 1182 transition count 1180
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 645 place count 1181 transition count 1180
Performed 42 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 42 Pre rules applied. Total rules applied 645 place count 1181 transition count 1138
Deduced a syphon composed of 42 places in 16 ms
Reduce places removed 42 places and 0 transitions.
Iterating global reduction 3 with 84 rules applied. Total rules applied 729 place count 1139 transition count 1138
Discarding 61 places :
Symmetric choice reduction at 3 with 61 rule applications. Total rules 790 place count 1078 transition count 1077
Iterating global reduction 3 with 61 rules applied. Total rules applied 851 place count 1078 transition count 1077
Performed 23 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 23 Pre rules applied. Total rules applied 851 place count 1078 transition count 1054
Deduced a syphon composed of 23 places in 22 ms
Reduce places removed 23 places and 0 transitions.
Iterating global reduction 3 with 46 rules applied. Total rules applied 897 place count 1055 transition count 1054
Performed 255 Post agglomeration using F-continuation condition.Transition count delta: 255
Deduced a syphon composed of 255 places in 17 ms
Reduce places removed 255 places and 0 transitions.
Iterating global reduction 3 with 510 rules applied. Total rules applied 1407 place count 800 transition count 799
Renaming transitions due to excessive name length > 1024 char.
Performed 27 Post agglomeration using F-continuation condition.Transition count delta: -22
Deduced a syphon composed of 27 places in 15 ms
Reduce places removed 27 places and 0 transitions.
Iterating global reduction 3 with 54 rules applied. Total rules applied 1461 place count 773 transition count 821
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 3 with 1 rules applied. Total rules applied 1462 place count 773 transition count 820
Free-agglomeration rule applied 1 times.
Iterating global reduction 4 with 1 rules applied. Total rules applied 1463 place count 773 transition count 819
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 4 with 1 rules applied. Total rules applied 1464 place count 772 transition count 819
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 5 with 1 rules applied. Total rules applied 1465 place count 772 transition count 818
Partial Free-agglomeration rule applied 2 times.
Drop transitions removed 2 transitions
Iterating global reduction 5 with 2 rules applied. Total rules applied 1467 place count 772 transition count 818
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 5 with 1 rules applied. Total rules applied 1468 place count 771 transition count 817
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 5 with 1 rules applied. Total rules applied 1469 place count 770 transition count 817
Applied a total of 1469 rules in 458 ms. Remains 770 /1503 variables (removed 733) and now considering 817/1503 (removed 686) transitions.
Finished structural reductions, in 1 iterations. Remains : 770/1503 places, 817/1503 transitions.
Interrupted random walk after 935840 steps, including 187 resets, run timeout after 30001 ms. (steps per millisecond=31 ) properties seen 553
Incomplete Best-First random walk after 100000 steps, including 2 resets, run finished after 405 ms. (steps per millisecond=246 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 431 ms. (steps per millisecond=232 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 661 ms. (steps per millisecond=151 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100000 steps, including 3 resets, run finished after 489 ms. (steps per millisecond=204 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 538 ms. (steps per millisecond=185 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 392 ms. (steps per millisecond=255 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 393 ms. (steps per millisecond=254 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 444 ms. (steps per millisecond=225 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 532 ms. (steps per millisecond=187 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 478 ms. (steps per millisecond=209 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 521 ms. (steps per millisecond=191 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 4 resets, run finished after 479 ms. (steps per millisecond=208 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 460 ms. (steps per millisecond=217 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 4 resets, run finished after 487 ms. (steps per millisecond=205 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 486 ms. (steps per millisecond=205 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 474 ms. (steps per millisecond=210 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100000 steps, including 4 resets, run finished after 467 ms. (steps per millisecond=214 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 467 ms. (steps per millisecond=214 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 436 ms. (steps per millisecond=229 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 4 resets, run finished after 468 ms. (steps per millisecond=213 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 409 ms. (steps per millisecond=244 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 417 ms. (steps per millisecond=239 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 5 resets, run finished after 417 ms. (steps per millisecond=239 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 427 ms. (steps per millisecond=234 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 411 ms. (steps per millisecond=243 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 415 ms. (steps per millisecond=240 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 5 resets, run finished after 528 ms. (steps per millisecond=189 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 414 ms. (steps per millisecond=241 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 408 ms. (steps per millisecond=245 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 466 ms. (steps per millisecond=214 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 5 resets, run finished after 640 ms. (steps per millisecond=156 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100000 steps, including 3 resets, run finished after 429 ms. (steps per millisecond=233 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 396 ms. (steps per millisecond=252 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 378 ms. (steps per millisecond=264 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 431 ms. (steps per millisecond=232 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 394 ms. (steps per millisecond=253 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 6 resets, run finished after 406 ms. (steps per millisecond=246 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 523 ms. (steps per millisecond=191 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 405 ms. (steps per millisecond=246 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 4 resets, run finished after 675 ms. (steps per millisecond=148 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 3 resets, run finished after 399 ms. (steps per millisecond=250 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 4 resets, run finished after 485 ms. (steps per millisecond=206 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 7 resets, run finished after 603 ms. (steps per millisecond=165 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 571 ms. (steps per millisecond=175 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 699 ms. (steps per millisecond=143 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 353 ms. (steps per millisecond=283 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 503 ms. (steps per millisecond=198 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 484 ms. (steps per millisecond=206 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 409 ms. (steps per millisecond=244 ) properties (out of 56) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 434 ms. (steps per millisecond=230 ) properties (out of 56) seen :0
Running SMT prover for 56 properties.
// Phase 1: matrix 817 rows 770 cols
[2022-05-20 09:23:00] [INFO ] Computed 120 place invariants in 3 ms
[2022-05-20 09:23:01] [INFO ] After 776ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:56
[2022-05-20 09:23:01] [INFO ] [Nat]Absence check using 120 positive place invariants in 25 ms returned sat
[2022-05-20 09:23:04] [INFO ] After 1802ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :56
[2022-05-20 09:23:04] [INFO ] State equation strengthened by 2 read => feed constraints.
[2022-05-20 09:23:05] [INFO ] After 1548ms SMT Verify possible using 2 Read/Feed constraints in natural domain returned unsat :0 sat :56
[2022-05-20 09:23:07] [INFO ] Deduced a trap composed of 22 places in 44 ms of which 7 ms to minimize.
[2022-05-20 09:23:07] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 109 ms
[2022-05-20 09:23:08] [INFO ] After 4451ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :56
Attempting to minimize the solution found.
Minimization took 1592 ms.
[2022-05-20 09:23:10] [INFO ] After 9184ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :56
Fused 56 Parikh solutions to 51 different solutions.
Parikh walk visited 55 properties in 10581 ms.
Support contains 1 out of 770 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 770/770 places, 817/817 transitions.
Drop transitions removed 160 transitions
Trivial Post-agglo rules discarded 160 transitions
Performed 160 trivial Post agglomeration. Transition count delta: 160
Iterating post reduction 0 with 160 rules applied. Total rules applied 160 place count 770 transition count 657
Reduce places removed 160 places and 0 transitions.
Iterating post reduction 1 with 160 rules applied. Total rules applied 320 place count 610 transition count 657
Performed 78 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 78 Pre rules applied. Total rules applied 320 place count 610 transition count 579
Deduced a syphon composed of 78 places in 0 ms
Reduce places removed 78 places and 0 transitions.
Iterating global reduction 2 with 156 rules applied. Total rules applied 476 place count 532 transition count 579
Discarding 59 places :
Symmetric choice reduction at 2 with 59 rule applications. Total rules 535 place count 473 transition count 520
Iterating global reduction 2 with 59 rules applied. Total rules applied 594 place count 473 transition count 520
Performed 59 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 59 Pre rules applied. Total rules applied 594 place count 473 transition count 461
Deduced a syphon composed of 59 places in 0 ms
Reduce places removed 59 places and 0 transitions.
Iterating global reduction 2 with 118 rules applied. Total rules applied 712 place count 414 transition count 461
Performed 109 Post agglomeration using F-continuation condition.Transition count delta: 109
Deduced a syphon composed of 109 places in 0 ms
Reduce places removed 109 places and 0 transitions.
Iterating global reduction 2 with 218 rules applied. Total rules applied 930 place count 305 transition count 352
Performed 61 Post agglomeration using F-continuation condition.Transition count delta: -64
Deduced a syphon composed of 61 places in 0 ms
Reduce places removed 61 places and 0 transitions.
Iterating global reduction 2 with 122 rules applied. Total rules applied 1052 place count 244 transition count 416
Free-agglomeration rule applied 3 times.
Iterating global reduction 2 with 3 rules applied. Total rules applied 1055 place count 244 transition count 413
Reduce places removed 3 places and 0 transitions.
Iterating post reduction 2 with 3 rules applied. Total rules applied 1058 place count 241 transition count 413
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 3 with 1 rules applied. Total rules applied 1059 place count 241 transition count 412
Applied a total of 1059 rules in 77 ms. Remains 241 /770 variables (removed 529) and now considering 412/817 (removed 405) transitions.
Finished structural reductions, in 1 iterations. Remains : 241/770 places, 412/817 transitions.
Incomplete random walk after 1000000 steps, including 294 resets, run finished after 3881 ms. (steps per millisecond=257 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 1000001 steps, including 32 resets, run finished after 1709 ms. (steps per millisecond=585 ) properties (out of 1) seen :0
Finished probabilistic random walk after 980342 steps, run visited all 1 properties in 3979 ms. (steps per millisecond=246 )
Probabilistic random walk after 980342 steps, saw 691224 distinct states, run finished after 3979 ms. (steps per millisecond=246 ) properties seen :1
Able to resolve query StableMarking after proving 903 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK PARIKH_WALK PROBABILISTIC_WALK MARKED_SUFFIX_TEST TOPOLOGICAL
Total runtime 128737 ms.

BK_STOP 1653038610595

--------------------
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
+ [[ StableMarking = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution StableMarking -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 StableMarking -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="ShieldRVt-PT-030B"
export BK_EXAMINATION="StableMarking"
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 ShieldRVt-PT-030B, examination is StableMarking"
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-165286034700628"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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