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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15743.360 70311.00 88978.00 103.80 TFTFFTTFTFFTTTFT 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-158922814500542.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-D40N100, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r066-tajo-158922814500542
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 4.8M
-rw-r--r-- 1 mcc users 4.5K Mar 31 06:35 CTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 31 06:35 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Mar 29 22:56 CTLFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 29 22:56 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 3.9K Apr 8 14:49 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Apr 28 14:00 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Apr 8 14:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 28 14:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.1K Mar 28 14:32 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Mar 28 14:32 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Mar 27 07:32 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 12K Mar 27 07:32 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 28 14:50 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K 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 4.7M 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-D40N100-ReachabilityCardinality-00
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-01
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-02
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-03
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-04
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-05
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-06
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-07
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-08
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-09
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-10
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-11
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-12
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-13
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-14
FORMULA_NAME Diffusion2D-PT-D40N100-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1590124981266

[2020-05-22 05:23:03] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -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 05:23:03] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-22 05:23:04] [INFO ] Load time of PNML (sax parser for PT used): 484 ms
[2020-05-22 05:23:04] [INFO ] Transformed 1600 places.
[2020-05-22 05:23:04] [INFO ] Transformed 12324 transitions.
[2020-05-22 05:23:04] [INFO ] Parsed PT model containing 1600 places and 12324 transitions in 625 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 151 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10044 steps, including 0 resets, run finished after 56 ms. (steps per millisecond=179 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0]
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 63 ms. (steps per millisecond=158 ) properties seen :[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
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, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 17 ms. (steps per millisecond=588 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
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, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 41 ms. (steps per millisecond=243 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 31 ms. (steps per millisecond=322 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 28 ms. (steps per millisecond=357 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 70 ms. (steps per millisecond=142 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
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, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 12 ms. (steps per millisecond=833 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 12 ms. (steps per millisecond=833 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 16 ms. (steps per millisecond=625 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 87 ms. (steps per millisecond=114 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 22 ms. (steps per millisecond=454 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
// Phase 1: matrix 12324 rows 1600 cols
[2020-05-22 05:23:05] [INFO ] Computed 1 place invariants in 329 ms
[2020-05-22 05:23:05] [INFO ] [Real]Absence check using 1 positive place invariants in 40 ms returned sat
[2020-05-22 05:23:05] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:10] [INFO ] [Real]Absence check using state equation in 4743 ms returned (error "Failed to check-sat")
[2020-05-22 05:23:10] [INFO ] [Real]Absence check using 1 positive place invariants in 29 ms returned sat
[2020-05-22 05:23:10] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:15] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 05:23:15] [INFO ] [Real]Absence check using state equation in 4815 ms returned (error "Failed to check-sat")
[2020-05-22 05:23:15] [INFO ] [Real]Absence check using 1 positive place invariants in 27 ms returned sat
[2020-05-22 05:23:15] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:20] [INFO ] [Real]Absence check using state equation in 4821 ms returned (error "Solver has unexpectedly terminated")
[2020-05-22 05:23:20] [INFO ] [Real]Absence check using 1 positive place invariants in 20 ms returned sat
[2020-05-22 05:23:20] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:25] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 05:23:25] [INFO ] [Real]Absence check using state equation in 4857 ms returned (error "Failed to check-sat")
[2020-05-22 05:23:25] [INFO ] [Real]Absence check using 1 positive place invariants in 20 ms returned sat
[2020-05-22 05:23:25] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:30] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 05:23:30] [INFO ] [Real]Absence check using state equation in 4856 ms returned (error "Failed to check-sat")
[2020-05-22 05:23:31] [INFO ] [Real]Absence check using 1 positive place invariants in 27 ms returned sat
[2020-05-22 05:23:31] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:35] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 05:23:35] [INFO ] [Real]Absence check using state equation in 4797 ms returned (error "Failed to check-sat")
[2020-05-22 05:23:36] [INFO ] [Real]Absence check using 1 positive place invariants in 27 ms returned sat
[2020-05-22 05:23:36] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:40] [INFO ] [Real]Absence check using state equation in 4798 ms returned (error "Solver has unexpectedly terminated")
[2020-05-22 05:23:41] [INFO ] [Real]Absence check using 1 positive place invariants in 29 ms returned sat
[2020-05-22 05:23:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:45] [INFO ] [Real]Absence check using state equation in 4826 ms returned (error "Solver has unexpectedly terminated")
[2020-05-22 05:23:46] [INFO ] [Real]Absence check using 1 positive place invariants in 22 ms returned sat
[2020-05-22 05:23:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:50] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 05:23:50] [INFO ] [Real]Absence check using state equation in 4836 ms returned (error "Failed to check-sat")
[2020-05-22 05:23:51] [INFO ] [Real]Absence check using 1 positive place invariants in 21 ms returned sat
[2020-05-22 05:23:51] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:23:55] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 05:23:55] [INFO ] [Real]Absence check using state equation in 4879 ms returned (error "Failed to check-sat")
[2020-05-22 05:23:56] [INFO ] [Real]Absence check using 1 positive place invariants in 66 ms returned sat
[2020-05-22 05:23:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:24:00] [INFO ] [Real]Absence check using state equation in 4762 ms returned (error "Solver has unexpectedly terminated")
[2020-05-22 05:24:01] [INFO ] [Real]Absence check using 1 positive place invariants in 19 ms returned sat
[2020-05-22 05:24:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:24:05] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 05:24:05] [INFO ] [Real]Absence check using state equation in 4890 ms returned (error "Failed to check-sat")
[2020-05-22 05:24:06] [INFO ] [Real]Absence check using 1 positive place invariants in 21 ms returned sat
[2020-05-22 05:24:06] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 05:24:10] [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 (= s513 (- (+ t3588 t3601 t3899 t4211 t4226) (+ t3911 t3912 t3913 t3914 t3915)))") while checking expression at index 12
Support contains 57 out of 1600 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1600/1600 places, 12324/12324 transitions.
Graph (trivial) has 11464 edges and 1600 vertex of which 1543 / 1600 are part of one of the 1 SCC in 22 ms
Free SCC test removed 1542 places
Drop transitions removed 11464 transitions
Ensure Unique test removed 724 transitions
Reduce isomorphic transitions removed 12188 transitions.
Iterating post reduction 0 with 12188 rules applied. Total rules applied 12189 place count 58 transition count 136
Drop transitions removed 31 transitions
Redundant transition composition rules discarded 31 transitions
Iterating global reduction 1 with 31 rules applied. Total rules applied 12220 place count 58 transition count 105
Applied a total of 12220 rules in 87 ms. Remains 58 /1600 variables (removed 1542) and now considering 105/12324 (removed 12219) transitions.
Finished structural reductions, in 1 iterations. Remains : 58/1600 places, 105/12324 transitions.
Incomplete random walk after 1000030 steps, including 0 resets, run finished after 145 ms. (steps per millisecond=6896 ) properties seen :[1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1]
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Finished Best-First random walk after 194 steps, including 0 resets, run visited all 1 properties in 1 ms. (steps per millisecond=194 )
FORMULA Diffusion2D-PT-D40N100-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
All properties solved without resorting to model-checking.

BK_STOP 1590125051577

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityCardinality -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 ReachabilityCardinality -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-D40N100"
export BK_EXAMINATION="ReachabilityCardinality"
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-D40N100, examination is ReachabilityCardinality"
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-158922814500542"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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