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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15743.630 73202.00 83432.00 65.70 TTFFTFTTTFTTTFFT 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-158922814400518.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-D30N150, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r066-tajo-158922814400518
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.2M
-rw-r--r-- 1 mcc users 4.6K Mar 31 06:34 CTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 31 06:34 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Mar 29 22:55 CTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 29 22:55 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.2K Apr 8 14:49 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:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 28 14:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.4K Mar 28 14:31 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K Mar 28 14:31 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.6K Mar 27 07:32 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 19K 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 3.0M 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-D30N150-ReachabilityCardinality-00
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-01
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-02
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-03
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-04
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-05
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-06
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-07
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-08
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-09
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-10
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-11
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-12
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-13
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-14
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1590122929626

[2020-05-22 04:48:51] [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 04:48:51] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-22 04:48:51] [INFO ] Load time of PNML (sax parser for PT used): 212 ms
[2020-05-22 04:48:51] [INFO ] Transformed 900 places.
[2020-05-22 04:48:51] [INFO ] Transformed 6844 transitions.
[2020-05-22 04:48:51] [INFO ] Parsed PT model containing 900 places and 6844 transitions in 272 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 49 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10117 steps, including 0 resets, run finished after 10 ms. (steps per millisecond=1011 ) properties seen :[0, 0, 0, 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 19 ms. (steps per millisecond=526 ) properties seen :[0, 0, 0, 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 14 ms. (steps per millisecond=714 ) properties seen :[0, 0, 0, 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 21 ms. (steps per millisecond=476 ) properties seen :[0, 0, 0, 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 14 ms. (steps per millisecond=714 ) properties seen :[0, 0, 0, 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 11 ms. (steps per millisecond=909 ) properties seen :[0, 0, 0, 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 8 ms. (steps per millisecond=1250 ) properties seen :[0, 0, 0, 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 7 ms. (steps per millisecond=1428 ) properties seen :[0, 0, 0, 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 10 ms. (steps per millisecond=1000 ) properties seen :[0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties seen :[0, 0, 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 7 ms. (steps per millisecond=1428 ) properties seen :[0, 0, 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 6 ms. (steps per millisecond=1666 ) properties seen :[0, 0, 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 10 ms. (steps per millisecond=1000 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties seen :[0, 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 9 ms. (steps per millisecond=1111 ) properties seen :[0, 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 8 ms. (steps per millisecond=1250 ) properties seen :[0, 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 8 ms. (steps per millisecond=1250 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
// Phase 1: matrix 6844 rows 900 cols
[2020-05-22 04:48:51] [INFO ] Computed 1 place invariants in 64 ms
[2020-05-22 04:48:52] [INFO ] [Real]Absence check using 1 positive place invariants in 24 ms returned sat
[2020-05-22 04:48:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:48:56] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:48:56] [INFO ] [Real]Absence check using state equation in 4844 ms returned (error "Failed to check-sat")
[2020-05-22 04:48:57] [INFO ] [Real]Absence check using 1 positive place invariants in 17 ms returned sat
[2020-05-22 04:48:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:01] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:01] [INFO ] [Real]Absence check using state equation in 4893 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:01] [INFO ] [Real]Absence check using 1 positive place invariants in 15 ms returned sat
[2020-05-22 04:49:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:06] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:06] [INFO ] [Real]Absence check using state equation in 4929 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:07] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2020-05-22 04:49:07] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:11] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:11] [INFO ] [Real]Absence check using state equation in 4862 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:12] [INFO ] [Real]Absence check using 1 positive place invariants in 12 ms returned sat
[2020-05-22 04:49:12] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:16] [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 (= s772 (- (+ t5604 t5617 t5835 t6067 t6082) (+ t5847 t5848 t5849 t5850 t5851)))") while checking expression at index 4
[2020-05-22 04:49:17] [INFO ] [Real]Absence check using 1 positive place invariants in 12 ms returned sat
[2020-05-22 04:49:17] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:21] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:21] [INFO ] [Real]Absence check using state equation in 4931 ms returned unknown
[2020-05-22 04:49:22] [INFO ] [Real]Absence check using 1 positive place invariants in 17 ms returned sat
[2020-05-22 04:49:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:26] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:26] [INFO ] [Real]Absence check using state equation in 4901 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:27] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2020-05-22 04:49:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:31] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:31] [INFO ] [Real]Absence check using state equation in 4883 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:32] [INFO ] [Real]Absence check using 1 positive place invariants in 17 ms returned sat
[2020-05-22 04:49:32] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:37] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:37] [INFO ] [Real]Absence check using state equation in 4894 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:37] [INFO ] [Real]Absence check using 1 positive place invariants in 12 ms returned sat
[2020-05-22 04:49:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:42] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:42] [INFO ] [Real]Absence check using state equation in 4901 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:42] [INFO ] [Real]Absence check using 1 positive place invariants in 18 ms returned sat
[2020-05-22 04:49:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:47] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:47] [INFO ] [Real]Absence check using state equation in 4914 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:47] [INFO ] [Real]Absence check using 1 positive place invariants in 11 ms returned sat
[2020-05-22 04:49:47] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:52] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:52] [INFO ] [Real]Absence check using state equation in 4914 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:52] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2020-05-22 04:49:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:49:57] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-22 04:49:57] [INFO ] [Real]Absence check using state equation in 4917 ms returned (error "Failed to check-sat")
[2020-05-22 04:49:57] [INFO ] [Real]Absence check using 1 positive place invariants in 17 ms returned sat
[2020-05-22 04:49:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 04:50:02] [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: Broken pipe (= s726 (- (+ t5253 t5260 t5267 t5484 t5499 t5716 t5723 t5730) (+ t5488 t5489 t5490 t5491 t5492 t5493 t5494 t5495)))") while checking expression at index 13
Support contains 73 out of 900 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 900/900 places, 6844/6844 transitions.
Graph (trivial) has 5786 edges and 900 vertex of which 827 / 900 are part of one of the 1 SCC in 34 ms
Free SCC test removed 826 places
Drop transitions removed 5786 transitions
Ensure Unique test removed 854 transitions
Reduce isomorphic transitions removed 6640 transitions.
Iterating post reduction 0 with 6640 rules applied. Total rules applied 6641 place count 74 transition count 204
Drop transitions removed 73 transitions
Redundant transition composition rules discarded 73 transitions
Iterating global reduction 1 with 73 rules applied. Total rules applied 6714 place count 74 transition count 131
Applied a total of 6714 rules in 134 ms. Remains 74 /900 variables (removed 826) and now considering 131/6844 (removed 6713) transitions.
Finished structural reductions, in 1 iterations. Remains : 74/900 places, 131/6844 transitions.
Incomplete random walk after 1000104 steps, including 0 resets, run finished after 176 ms. (steps per millisecond=5682 ) properties seen :[1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0]
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Finished Best-First random walk after 118145 steps, including 0 resets, run visited all 3 properties in 113 ms. (steps per millisecond=1045 )
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Diffusion2D-PT-D30N150-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
All properties solved without resorting to model-checking.

BK_STOP 1590123002828

--------------------
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-D30N150"
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-D30N150, 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-158922814400518"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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