fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r066-tajo-158922814400471
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for Diffusion2D-PT-D20N050

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15744.070 55531.00 72701.00 52.90 FFFTFTTTTTFTFTTT 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/mcc2020-input.r066-tajo-158922814400471.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2020-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 Diffusion2D-PT-D20N050, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r066-tajo-158922814400471
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.3M
-rw-r--r-- 1 mcc users 4.5K Mar 31 06:33 CTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 31 06:33 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Mar 29 22:53 CTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 29 22:53 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 24 05:37 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.8K Mar 24 05:37 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.1K Apr 8 14:48 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 28 14:00 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Apr 8 14:48 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 28 14:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K Mar 28 14:31 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 16K Mar 28 14:31 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Mar 27 07:31 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 14K Mar 27 07:31 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 28 14:50 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 28 14:50 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 equiv_col
-rw-r--r-- 1 mcc users 8 Mar 24 05:37 instance
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 iscolored
-rw-r--r-- 1 mcc users 1.2M Mar 24 05:37 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 Diffusion2D-PT-D20N050-ReachabilityFireability-00
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-01
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-02
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-03
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-04
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-05
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-06
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-07
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-08
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-09
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-10
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-11
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-12
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-13
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-14
FORMULA_NAME Diffusion2D-PT-D20N050-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1590118930470

[2020-05-22 03:42:11] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-22 03:42:11] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-22 03:42:12] [INFO ] Load time of PNML (sax parser for PT used): 118 ms
[2020-05-22 03:42:12] [INFO ] Transformed 400 places.
[2020-05-22 03:42:12] [INFO ] Transformed 2964 transitions.
[2020-05-22 03:42:12] [INFO ] Parsed PT model containing 400 places and 2964 transitions in 164 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 21 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10041 steps, including 0 resets, run finished after 8 ms. (steps per millisecond=1255 ) properties seen :[1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0]
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 13 ms. (steps per millisecond=769 ) properties seen :[0, 0, 0, 0, 0, 1, 0, 0, 0]
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 24 ms. (steps per millisecond=416 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties seen :[0, 0, 0, 1, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 14 ms. (steps per millisecond=714 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 15 ms. (steps per millisecond=666 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 21 ms. (steps per millisecond=476 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
// Phase 1: matrix 2964 rows 400 cols
[2020-05-22 03:42:12] [INFO ] Computed 1 place invariants in 27 ms
[2020-05-22 03:42:12] [INFO ] [Real]Absence check using 1 positive place invariants in 28 ms returned sat
[2020-05-22 03:42:12] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:13] [INFO ] [Real]Absence check using state equation in 1232 ms returned sat
[2020-05-22 03:42:14] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 215 ms.
[2020-05-22 03:42:14] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 03:42:14] [INFO ] [Nat]Absence check using 1 positive place invariants in 12 ms returned sat
[2020-05-22 03:42:14] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:16] [INFO ] [Nat]Absence check using state equation in 1462 ms returned sat
[2020-05-22 03:42:16] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 148 ms.
[2020-05-22 03:42:19] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream closed (=> (> t52 0) (or (and (> t41 0) (< o41 o52)) (and (> t56 0) (< o56 o52)) (and (> t196 0) (< o196 o52)) (and (> t203 0) (< o203 o52)) (and (> t210 0) (< o210 o52)) (and (> t2852 0) (< o2852 o52)) (and (> t2859 0) (< o2859 o52)) (and (> t2866 0) (< o2866 o52))))") while checking expression at index 0
[2020-05-22 03:42:19] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2020-05-22 03:42:19] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:21] [INFO ] [Real]Absence check using state equation in 1488 ms returned sat
[2020-05-22 03:42:21] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 213 ms.
[2020-05-22 03:42:21] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 03:42:21] [INFO ] [Nat]Absence check using 1 positive place invariants in 21 ms returned sat
[2020-05-22 03:42:21] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:23] [INFO ] [Nat]Absence check using state equation in 1262 ms returned sat
[2020-05-22 03:42:23] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 211 ms.
[2020-05-22 03:42:26] [INFO ] Added : 105 causal constraints over 21 iterations in 3582 ms. Result :unknown
[2020-05-22 03:42:26] [INFO ] [Real]Absence check using 1 positive place invariants in 10 ms returned sat
[2020-05-22 03:42:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:28] [INFO ] [Real]Absence check using state equation in 1413 ms returned sat
[2020-05-22 03:42:28] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 202 ms.
[2020-05-22 03:42:28] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 03:42:29] [INFO ] [Nat]Absence check using 1 positive place invariants in 19 ms returned sat
[2020-05-22 03:42:29] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:30] [INFO ] [Nat]Absence check using state equation in 1405 ms returned sat
[2020-05-22 03:42:30] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 205 ms.
[2020-05-22 03:42:34] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream closed (=> (> t204 0) (or (and (> t44 0) (< o44 o204)) (and (> t51 0) (< o51 o204)) (and (> t58 0) (< o58 o204)) (and (> t198 0) (< o198 o204)) (and (> t213 0) (< o213 o204)) (and (> t350 0) (< o350 o204)) (and (> t357 0) (< o357 o204)) (and (> t364 0) (< o364 o204))))") while checking expression at index 2
[2020-05-22 03:42:34] [INFO ] [Real]Absence check using 1 positive place invariants in 11 ms returned sat
[2020-05-22 03:42:34] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:35] [INFO ] [Real]Absence check using state equation in 1512 ms returned sat
[2020-05-22 03:42:35] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 228 ms.
[2020-05-22 03:42:36] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 03:42:36] [INFO ] [Nat]Absence check using 1 positive place invariants in 18 ms returned sat
[2020-05-22 03:42:36] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:37] [INFO ] [Nat]Absence check using state equation in 1414 ms returned sat
[2020-05-22 03:42:38] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 190 ms.
[2020-05-22 03:42:41] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream closed (=> (> t198 0) (or (and (> t36 0) (< o36 o198)) (and (> t43 0) (< o43 o198)) (and (> t50 0) (< o50 o198)) (and (> t190 0) (< o190 o198)) (and (> t205 0) (< o205 o198)) (and (> t342 0) (< o342 o198)) (and (> t349 0) (< o349 o198)) (and (> t356 0) (< o356 o198))))") while checking expression at index 3
[2020-05-22 03:42:41] [INFO ] [Real]Absence check using 1 positive place invariants in 11 ms returned sat
[2020-05-22 03:42:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:42] [INFO ] [Real]Absence check using state equation in 1401 ms returned sat
[2020-05-22 03:42:43] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 189 ms.
[2020-05-22 03:42:43] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 03:42:43] [INFO ] [Nat]Absence check using 1 positive place invariants in 16 ms returned sat
[2020-05-22 03:42:43] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:45] [INFO ] [Nat]Absence check using state equation in 1569 ms returned sat
[2020-05-22 03:42:45] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 212 ms.
[2020-05-22 03:42:48] [INFO ] Added : 100 causal constraints over 20 iterations in 3345 ms. Result :(error "Failed to check-sat")
[2020-05-22 03:42:48] [INFO ] [Real]Absence check using 1 positive place invariants in 10 ms returned sat
[2020-05-22 03:42:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:49] [INFO ] [Real]Absence check using state equation in 1344 ms returned sat
[2020-05-22 03:42:50] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 183 ms.
[2020-05-22 03:42:50] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 03:42:50] [INFO ] [Nat]Absence check using 1 positive place invariants in 17 ms returned sat
[2020-05-22 03:42:50] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:52] [INFO ] [Nat]Absence check using state equation in 1430 ms returned sat
[2020-05-22 03:42:52] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 173 ms.
[2020-05-22 03:42:55] [INFO ] Added : 100 causal constraints over 20 iterations in 3498 ms. Result :(error "Failed to check-sat")
[2020-05-22 03:42:55] [INFO ] [Real]Absence check using 1 positive place invariants in 11 ms returned sat
[2020-05-22 03:42:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:57] [INFO ] [Real]Absence check using state equation in 1377 ms returned sat
[2020-05-22 03:42:57] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 195 ms.
[2020-05-22 03:42:57] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 03:42:57] [INFO ] [Nat]Absence check using 1 positive place invariants in 26 ms returned sat
[2020-05-22 03:42:57] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 03:42:59] [INFO ] [Nat]Absence check using state equation in 1476 ms returned sat
[2020-05-22 03:42:59] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 194 ms.
[2020-05-22 03:43:02] [INFO ] Added : 105 causal constraints over 21 iterations in 3375 ms. Result :unknown
Incomplete Parikh walk after 323000 steps, including 239 resets, run finished after 1315 ms. (steps per millisecond=245 ) properties seen :[1, 0, 0, 1, 0, 1, 1] could not realise parikh vector
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 360700 steps, including 281 resets, run finished after 1227 ms. (steps per millisecond=293 ) properties seen :[1, 1, 0] could not realise parikh vector
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 6 out of 400 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 400/400 places, 2964/2964 transitions.
Graph (trivial) has 2874 edges and 400 vertex of which 394 / 400 are part of one of the 1 SCC in 15 ms
Free SCC test removed 393 places
Drop transitions removed 2874 transitions
Ensure Unique test removed 78 transitions
Reduce isomorphic transitions removed 2952 transitions.
Iterating post reduction 0 with 2952 rules applied. Total rules applied 2953 place count 7 transition count 12
Applied a total of 2953 rules in 41 ms. Remains 7 /400 variables (removed 393) and now considering 12/2964 (removed 2952) transitions.
Finished structural reductions, in 1 iterations. Remains : 7/400 places, 12/2964 transitions.
Incomplete random walk after 1000042 steps, including 0 resets, run finished after 128 ms. (steps per millisecond=7812 ) properties seen :[0]
Finished Best-First random walk after 45 steps, including 0 resets, run visited all 1 properties in 1 ms. (steps per millisecond=45 )
FORMULA Diffusion2D-PT-D20N050-ReachabilityFireability-12 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
All properties solved without resorting to model-checking.

BK_STOP 1590118986001

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityFireability -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="Diffusion2D-PT-D20N050"
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"

# 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 Diffusion2D-PT-D20N050, 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 r066-tajo-158922814400471"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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