fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r178-tajo-162089416300775
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for ResAllocation-PT-R003C100

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
275.647 10393.00 19940.00 43.40 TFFFTTFTFFFTTFTT normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2021-input.r178-tajo-162089416300775.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/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 ResAllocation-PT-R003C100, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r178-tajo-162089416300775
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.1M
-rw-r--r-- 1 mcc users 13K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 106K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 13K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 104K May 10 09:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.7K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.4K Mar 28 16:33 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Mar 28 16:33 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Mar 28 16:33 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 16:33 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.3K Mar 27 10:56 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 15K Mar 27 10:56 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Mar 25 14:03 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 12K Mar 25 14:03 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 22 08:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 22 08:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 9 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 721K May 5 16:51 model.pnml

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

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

The expected result is a vector of booleans
BOOL_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-00
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-01
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-02
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-03
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-04
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-05
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-06
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-07
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-08
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-09
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-10
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-11
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-12
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-13
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-14
FORMULA_NAME ResAllocation-PT-R003C100-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1621266524024

Running Version 0
[2021-05-17 15:48:45] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -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, 3600]
[2021-05-17 15:48:45] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-17 15:48:45] [INFO ] Load time of PNML (sax parser for PT used): 108 ms
[2021-05-17 15:48:45] [INFO ] Transformed 600 places.
[2021-05-17 15:48:45] [INFO ] Transformed 400 transitions.
[2021-05-17 15:48:45] [INFO ] Parsed PT model containing 600 places and 400 transitions in 156 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 8 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 48 resets, run finished after 152 ms. (steps per millisecond=65 ) properties (out of 16) seen :11
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 73 ms. (steps per millisecond=137 ) properties (out of 5) seen :1
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-06 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 61 ms. (steps per millisecond=163 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 78 ms. (steps per millisecond=128 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 52 ms. (steps per millisecond=192 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 58 ms. (steps per millisecond=172 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
// Phase 1: matrix 400 rows 600 cols
[2021-05-17 15:48:46] [INFO ] Computed 300 place invariants in 36 ms
[2021-05-17 15:48:46] [INFO ] [Real]Absence check using 300 positive place invariants in 63 ms returned sat
[2021-05-17 15:48:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 15:48:47] [INFO ] [Real]Absence check using state equation in 193 ms returned sat
[2021-05-17 15:48:47] [INFO ] Solution in real domain found non-integer solution.
[2021-05-17 15:48:47] [INFO ] [Nat]Absence check using 300 positive place invariants in 53 ms returned sat
[2021-05-17 15:48:47] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-17 15:48:47] [INFO ] [Nat]Absence check using state equation in 198 ms returned sat
[2021-05-17 15:48:47] [INFO ] Deduced a trap composed of 4 places in 82 ms of which 13 ms to minimize.
[2021-05-17 15:48:47] [INFO ] Deduced a trap composed of 4 places in 59 ms of which 2 ms to minimize.
[2021-05-17 15:48:47] [INFO ] Deduced a trap composed of 4 places in 38 ms of which 1 ms to minimize.
[2021-05-17 15:48:47] [INFO ] Deduced a trap composed of 6 places in 33 ms of which 1 ms to minimize.
[2021-05-17 15:48:47] [INFO ] Deduced a trap composed of 4 places in 34 ms of which 1 ms to minimize.
[2021-05-17 15:48:47] [INFO ] Deduced a trap composed of 4 places in 27 ms of which 0 ms to minimize.
[2021-05-17 15:48:47] [INFO ] Deduced a trap composed of 4 places in 28 ms of which 0 ms to minimize.
[2021-05-17 15:48:48] [INFO ] Deduced a trap composed of 4 places in 27 ms of which 1 ms to minimize.
[2021-05-17 15:48:48] [INFO ] Deduced a trap composed of 6 places in 19 ms of which 1 ms to minimize.
[2021-05-17 15:48:48] [INFO ] Deduced a trap composed of 4 places in 14 ms of which 0 ms to minimize.
[2021-05-17 15:48:48] [INFO ] Deduced a trap composed of 4 places in 15 ms of which 0 ms to minimize.
[2021-05-17 15:48:48] [INFO ] Deduced a trap composed of 4 places in 11 ms of which 0 ms to minimize.
[2021-05-17 15:48:48] [INFO ] Trap strengthening (SAT) tested/added 13/12 trap constraints in 771 ms
[2021-05-17 15:48:48] [INFO ] Computed and/alt/rep : 300/300/300 causal constraints (skipped 0 transitions) in 25 ms.
[2021-05-17 15:48:48] [INFO ] Added : 51 causal constraints over 11 iterations in 311 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2021-05-17 15:48:48] [INFO ] [Real]Absence check using 300 positive place invariants in 55 ms returned sat
[2021-05-17 15:48:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 15:48:48] [INFO ] [Real]Absence check using state equation in 184 ms returned sat
[2021-05-17 15:48:48] [INFO ] Solution in real domain found non-integer solution.
[2021-05-17 15:48:49] [INFO ] [Nat]Absence check using 300 positive place invariants in 54 ms returned sat
[2021-05-17 15:48:49] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-17 15:48:49] [INFO ] [Nat]Absence check using state equation in 183 ms returned sat
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 51 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 51 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 47 ms of which 0 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 39 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 37 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 29 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 25 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 15 ms of which 0 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 26 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 18 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Deduced a trap composed of 4 places in 14 ms of which 1 ms to minimize.
[2021-05-17 15:48:49] [INFO ] Trap strengthening (SAT) tested/added 12/11 trap constraints in 646 ms
[2021-05-17 15:48:49] [INFO ] Computed and/alt/rep : 300/300/300 causal constraints (skipped 0 transitions) in 21 ms.
[2021-05-17 15:48:50] [INFO ] Added : 44 causal constraints over 9 iterations in 250 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-17 15:48:50] [INFO ] [Real]Absence check using 300 positive place invariants in 50 ms returned sat
[2021-05-17 15:48:50] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 15:48:50] [INFO ] [Real]Absence check using state equation in 169 ms returned sat
[2021-05-17 15:48:50] [INFO ] Deduced a trap composed of 4 places in 51 ms of which 1 ms to minimize.
[2021-05-17 15:48:50] [INFO ] Deduced a trap composed of 4 places in 46 ms of which 1 ms to minimize.
[2021-05-17 15:48:50] [INFO ] Deduced a trap composed of 4 places in 38 ms of which 0 ms to minimize.
[2021-05-17 15:48:50] [INFO ] Deduced a trap composed of 4 places in 29 ms of which 1 ms to minimize.
[2021-05-17 15:48:50] [INFO ] Deduced a trap composed of 4 places in 17 ms of which 0 ms to minimize.
[2021-05-17 15:48:50] [INFO ] Deduced a trap composed of 4 places in 35 ms of which 0 ms to minimize.
[2021-05-17 15:48:50] [INFO ] Deduced a trap composed of 4 places in 25 ms of which 0 ms to minimize.
[2021-05-17 15:48:50] [INFO ] Deduced a trap composed of 4 places in 22 ms of which 0 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 6 places in 17 ms of which 1 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 13 ms of which 0 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 13 ms of which 0 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Trap strengthening (SAT) tested/added 12/11 trap constraints in 684 ms
[2021-05-17 15:48:51] [INFO ] Solution in real domain found non-integer solution.
[2021-05-17 15:48:51] [INFO ] [Nat]Absence check using 300 positive place invariants in 54 ms returned sat
[2021-05-17 15:48:51] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-17 15:48:51] [INFO ] [Nat]Absence check using state equation in 177 ms returned sat
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 49 ms of which 0 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 50 ms of which 1 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 37 ms of which 0 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 42 ms of which 1 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 40 ms of which 0 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 25 ms of which 1 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 21 ms of which 0 ms to minimize.
[2021-05-17 15:48:51] [INFO ] Deduced a trap composed of 4 places in 22 ms of which 0 ms to minimize.
[2021-05-17 15:48:52] [INFO ] Deduced a trap composed of 6 places in 25 ms of which 0 ms to minimize.
[2021-05-17 15:48:52] [INFO ] Deduced a trap composed of 4 places in 18 ms of which 1 ms to minimize.
[2021-05-17 15:48:52] [INFO ] Deduced a trap composed of 4 places in 13 ms of which 1 ms to minimize.
[2021-05-17 15:48:52] [INFO ] Trap strengthening (SAT) tested/added 12/11 trap constraints in 640 ms
[2021-05-17 15:48:52] [INFO ] Computed and/alt/rep : 300/300/300 causal constraints (skipped 0 transitions) in 29 ms.
[2021-05-17 15:48:52] [INFO ] Added : 45 causal constraints over 9 iterations in 329 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-17 15:48:52] [INFO ] [Real]Absence check using 300 positive place invariants in 51 ms returned sat
[2021-05-17 15:48:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 15:48:52] [INFO ] [Real]Absence check using state equation in 166 ms returned sat
[2021-05-17 15:48:52] [INFO ] Solution in real domain found non-integer solution.
[2021-05-17 15:48:52] [INFO ] [Nat]Absence check using 300 positive place invariants in 46 ms returned sat
[2021-05-17 15:48:52] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-17 15:48:53] [INFO ] [Nat]Absence check using state equation in 183 ms returned sat
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 45 ms of which 1 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 32 ms of which 1 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 37 ms of which 2 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 29 ms of which 0 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 34 ms of which 1 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 21 ms of which 0 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 21 ms of which 1 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 16 ms of which 0 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Deduced a trap composed of 4 places in 15 ms of which 2 ms to minimize.
[2021-05-17 15:48:53] [INFO ] Trap strengthening (SAT) tested/added 10/9 trap constraints in 488 ms
[2021-05-17 15:48:53] [INFO ] Computed and/alt/rep : 300/300/300 causal constraints (skipped 0 transitions) in 23 ms.
[2021-05-17 15:48:53] [INFO ] Added : 50 causal constraints over 10 iterations in 283 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 5 ms.
Incomplete Parikh walk after 11100 steps, including 105 resets, run finished after 132 ms. (steps per millisecond=84 ) properties (out of 4) seen :1 could not realise parikh vector
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-09 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 11200 steps, including 100 resets, run finished after 105 ms. (steps per millisecond=106 ) properties (out of 3) seen :1 could not realise parikh vector
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 10600 steps, including 103 resets, run finished after 82 ms. (steps per millisecond=129 ) properties (out of 2) seen :1 could not realise parikh vector
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Finished Parikh walk after 51 steps, including 0 resets, run visited all 1 properties in 2 ms. (steps per millisecond=25 )
FORMULA ResAllocation-PT-R003C100-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.

BK_STOP 1621266534417

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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 ReachabilityFireability -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 3600 -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="ResAllocation-PT-R003C100"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool itstools"
echo " Input is ResAllocation-PT-R003C100, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r178-tajo-162089416300775"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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