fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r299-tall-162124165000318
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for LeafsetExtension-PT-S16C3

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
378.060 24173.00 34758.00 319.10 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/mcc2021-input.r299-tall-162124165000318.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
..................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is LeafsetExtension-PT-S16C3, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r299-tall-162124165000318
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.8M
-rw-r--r-- 1 mcc users 50K May 15 08:57 CTLCardinality.txt
-rw-r--r-- 1 mcc users 190K May 15 08:57 CTLCardinality.xml
-rw-r--r-- 1 mcc users 40K May 15 08:57 CTLFireability.txt
-rw-r--r-- 1 mcc users 133K May 15 08:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 6.2K May 12 07:58 LTLCardinality.txt
-rw-r--r-- 1 mcc users 29K May 12 07:58 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.9K May 12 07:58 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 12 07:58 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 08:13 NewModel
-rw-r--r-- 1 mcc users 5.7K May 11 18:43 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K May 11 18:43 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.8K May 11 15:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K May 11 15:49 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K May 12 04:40 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May 12 04:40 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 08:13 equiv_col
-rw-r--r-- 1 mcc users 6 May 12 08:13 instance
-rw-r--r-- 1 mcc users 6 May 12 08:13 iscolored
-rw-r--r-- 1 mcc users 2.3M May 12 08:13 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 1621321754139

Running Version 0
[2021-05-18 07:09:15] [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]
[2021-05-18 07:09:15] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-18 07:09:15] [INFO ] Load time of PNML (sax parser for PT used): 154 ms
[2021-05-18 07:09:15] [INFO ] Transformed 1542 places.
[2021-05-18 07:09:16] [INFO ] Transformed 1449 transitions.
[2021-05-18 07:09:16] [INFO ] Parsed PT model containing 1542 places and 1449 transitions in 198 ms.
Incomplete random walk after 10000 steps, including 383 resets, run finished after 226 ms. (steps per millisecond=44 ) properties (out of 1542) seen :1508
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 34) seen :3
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 31) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 31) seen :2
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 2 ms. (steps per millisecond=500 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 2 ms. (steps per millisecond=500 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :5
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 24) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 24) seen :0
Incomplete Best-First random walk after 1001 steps, including 5 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 24) seen :3
Incomplete Best-First random walk after 1000 steps, including 3 resets, run finished after 2 ms. (steps per millisecond=500 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 21) seen :5
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :3
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 13) seen :3
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 10) seen :0
Running SMT prover for 10 properties.
// Phase 1: matrix 1449 rows 1542 cols
[2021-05-18 07:09:16] [INFO ] Computed 93 place invariants in 125 ms
[2021-05-18 07:09:16] [INFO ] [Real]Absence check using 19 positive place invariants in 18 ms returned sat
[2021-05-18 07:09:16] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 34 ms returned sat
[2021-05-18 07:09:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:17] [INFO ] [Real]Absence check using state equation in 499 ms returned sat
[2021-05-18 07:09:17] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:17] [INFO ] [Nat]Absence check using 19 positive place invariants in 19 ms returned sat
[2021-05-18 07:09:17] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 33 ms returned sat
[2021-05-18 07:09:17] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:18] [INFO ] [Nat]Absence check using state equation in 490 ms returned sat
[2021-05-18 07:09:18] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 92 ms.
[2021-05-18 07:09:18] [INFO ] Added : 25 causal constraints over 5 iterations in 562 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 6 ms.
[2021-05-18 07:09:19] [INFO ] [Real]Absence check using 19 positive place invariants in 18 ms returned sat
[2021-05-18 07:09:19] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 33 ms returned sat
[2021-05-18 07:09:19] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:19] [INFO ] [Real]Absence check using state equation in 500 ms returned sat
[2021-05-18 07:09:19] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:19] [INFO ] [Nat]Absence check using 19 positive place invariants in 14 ms returned sat
[2021-05-18 07:09:19] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 34 ms returned sat
[2021-05-18 07:09:19] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:20] [INFO ] [Nat]Absence check using state equation in 461 ms returned sat
[2021-05-18 07:09:20] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 93 ms.
[2021-05-18 07:09:20] [INFO ] Added : 27 causal constraints over 6 iterations in 635 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2021-05-18 07:09:21] [INFO ] [Real]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:21] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 31 ms returned sat
[2021-05-18 07:09:21] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:21] [INFO ] [Real]Absence check using state equation in 453 ms returned sat
[2021-05-18 07:09:21] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:21] [INFO ] [Nat]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:21] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 31 ms returned sat
[2021-05-18 07:09:21] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:22] [INFO ] [Nat]Absence check using state equation in 444 ms returned sat
[2021-05-18 07:09:22] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 99 ms.
[2021-05-18 07:09:22] [INFO ] Added : 23 causal constraints over 5 iterations in 522 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-18 07:09:23] [INFO ] [Real]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:23] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 31 ms returned sat
[2021-05-18 07:09:23] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:23] [INFO ] [Real]Absence check using state equation in 471 ms returned sat
[2021-05-18 07:09:23] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:23] [INFO ] [Nat]Absence check using 19 positive place invariants in 14 ms returned sat
[2021-05-18 07:09:23] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 30 ms returned sat
[2021-05-18 07:09:23] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:24] [INFO ] [Nat]Absence check using state equation in 440 ms returned sat
[2021-05-18 07:09:24] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 73 ms.
[2021-05-18 07:09:25] [INFO ] Added : 31 causal constraints over 7 iterations in 609 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 31 ms.
[2021-05-18 07:09:25] [INFO ] [Real]Absence check using 19 positive place invariants in 15 ms returned sat
[2021-05-18 07:09:25] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 32 ms returned sat
[2021-05-18 07:09:25] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:25] [INFO ] [Real]Absence check using state equation in 482 ms returned sat
[2021-05-18 07:09:25] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:26] [INFO ] [Nat]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:26] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 32 ms returned sat
[2021-05-18 07:09:26] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:26] [INFO ] [Nat]Absence check using state equation in 489 ms returned sat
[2021-05-18 07:09:26] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 85 ms.
[2021-05-18 07:09:27] [INFO ] Added : 23 causal constraints over 5 iterations in 515 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2021-05-18 07:09:27] [INFO ] [Real]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:27] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 33 ms returned sat
[2021-05-18 07:09:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:27] [INFO ] [Real]Absence check using state equation in 529 ms returned sat
[2021-05-18 07:09:27] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:28] [INFO ] [Nat]Absence check using 19 positive place invariants in 12 ms returned sat
[2021-05-18 07:09:28] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 31 ms returned sat
[2021-05-18 07:09:28] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:28] [INFO ] [Nat]Absence check using state equation in 460 ms returned sat
[2021-05-18 07:09:28] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 71 ms.
[2021-05-18 07:09:29] [INFO ] Added : 17 causal constraints over 4 iterations in 434 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-18 07:09:29] [INFO ] [Real]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:29] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 31 ms returned sat
[2021-05-18 07:09:29] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:29] [INFO ] [Real]Absence check using state equation in 439 ms returned sat
[2021-05-18 07:09:29] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:29] [INFO ] [Nat]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:30] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 31 ms returned sat
[2021-05-18 07:09:30] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:30] [INFO ] [Nat]Absence check using state equation in 442 ms returned sat
[2021-05-18 07:09:30] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 95 ms.
[2021-05-18 07:09:30] [INFO ] Added : 24 causal constraints over 5 iterations in 501 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-18 07:09:31] [INFO ] [Real]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:31] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 32 ms returned sat
[2021-05-18 07:09:31] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:31] [INFO ] [Real]Absence check using state equation in 438 ms returned sat
[2021-05-18 07:09:31] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:31] [INFO ] [Nat]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:31] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 40 ms returned sat
[2021-05-18 07:09:31] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:32] [INFO ] [Nat]Absence check using state equation in 437 ms returned sat
[2021-05-18 07:09:32] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 86 ms.
[2021-05-18 07:09:33] [INFO ] Added : 31 causal constraints over 7 iterations in 598 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 4 ms.
[2021-05-18 07:09:33] [INFO ] [Real]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:33] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 30 ms returned sat
[2021-05-18 07:09:33] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:33] [INFO ] [Real]Absence check using state equation in 448 ms returned sat
[2021-05-18 07:09:33] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:33] [INFO ] [Nat]Absence check using 19 positive place invariants in 14 ms returned sat
[2021-05-18 07:09:33] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 31 ms returned sat
[2021-05-18 07:09:33] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:34] [INFO ] [Nat]Absence check using state equation in 442 ms returned sat
[2021-05-18 07:09:34] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 67 ms.
[2021-05-18 07:09:34] [INFO ] Added : 24 causal constraints over 5 iterations in 474 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2021-05-18 07:09:35] [INFO ] [Real]Absence check using 19 positive place invariants in 12 ms returned sat
[2021-05-18 07:09:35] [INFO ] [Real]Absence check using 19 positive and 74 generalized place invariants in 30 ms returned sat
[2021-05-18 07:09:35] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:35] [INFO ] [Real]Absence check using state equation in 450 ms returned sat
[2021-05-18 07:09:35] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:09:35] [INFO ] [Nat]Absence check using 19 positive place invariants in 13 ms returned sat
[2021-05-18 07:09:35] [INFO ] [Nat]Absence check using 19 positive and 74 generalized place invariants in 30 ms returned sat
[2021-05-18 07:09:35] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:09:36] [INFO ] [Nat]Absence check using state equation in 464 ms returned sat
[2021-05-18 07:09:36] [INFO ] Computed and/alt/rep : 1430/2224/1430 causal constraints (skipped 2 transitions) in 68 ms.
[2021-05-18 07:09:36] [INFO ] Added : 31 causal constraints over 7 iterations in 625 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
Incomplete Parikh walk after 2100 steps, including 96 resets, run finished after 12 ms. (steps per millisecond=175 ) properties (out of 10) seen :2 could not realise parikh vector
Incomplete Parikh walk after 2500 steps, including 97 resets, run finished after 13 ms. (steps per millisecond=192 ) properties (out of 8) seen :0 could not realise parikh vector
Incomplete Parikh walk after 2100 steps, including 96 resets, run finished after 11 ms. (steps per millisecond=190 ) properties (out of 8) seen :2 could not realise parikh vector
Incomplete Parikh walk after 2600 steps, including 105 resets, run finished after 13 ms. (steps per millisecond=200 ) properties (out of 6) seen :0 could not realise parikh vector
Incomplete Parikh walk after 2100 steps, including 134 resets, run finished after 10 ms. (steps per millisecond=210 ) properties (out of 6) seen :2 could not realise parikh vector
Incomplete Parikh walk after 2100 steps, including 98 resets, run finished after 10 ms. (steps per millisecond=210 ) properties (out of 4) seen :0 could not realise parikh vector
Incomplete Parikh walk after 2100 steps, including 97 resets, run finished after 10 ms. (steps per millisecond=210 ) properties (out of 4) seen :2 could not realise parikh vector
Incomplete Parikh walk after 2600 steps, including 102 resets, run finished after 12 ms. (steps per millisecond=216 ) properties (out of 2) seen :0 could not realise parikh vector
Finished Parikh walk after 1279 steps, including 58 resets, run visited all 2 properties in 7 ms. (steps per millisecond=182 )
Able to resolve query StableMarking after proving 1542 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK PARIKH_WALK BESTFIRST_WALK TOPOLOGICAL

BK_STOP 1621321778312

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

+ 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
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -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=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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="LeafsetExtension-PT-S16C3"
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 LeafsetExtension-PT-S16C3, 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 r299-tall-162124165000318"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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