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

About the Execution of ITS-Tools for HypercubeGrid-PT-C5K3P3B15

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
4383.512 204462.00 339264.00 617.90 TTTFTFTTTTTFTFTF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2021-input.r121-tall-162075406700271.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is HypercubeGrid-PT-C5K3P3B15, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r121-tall-162075406700271
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 15M
-rw-r--r-- 1 mcc users 30K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 159K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 19K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 85K May 10 09:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.4K Apr 26 07:41 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Apr 26 07:41 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Apr 26 07:41 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 26 07:41 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.5K Mar 23 16:35 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 19K Mar 23 16:35 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.5K Mar 22 23:25 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 20K Mar 22 23:25 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K Mar 22 09:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K Mar 22 09:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 10 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rwxr-xr-x 1 mcc users 14M May 5 16:51 model.pnml

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

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

The expected result is a vector of booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1620825520133

Running Version 0
[2021-05-12 13:18:41] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2021-05-12 13:18:41] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-12 13:18:42] [INFO ] Load time of PNML (sax parser for PT used): 586 ms
[2021-05-12 13:18:42] [INFO ] Transformed 9153 places.
[2021-05-12 13:18:42] [INFO ] Transformed 25110 transitions.
[2021-05-12 13:18:42] [INFO ] Parsed PT model containing 9153 places and 25110 transitions in 709 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 14 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 8074 ms. (steps per millisecond=1 ) properties (out of 16) seen :8
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 756 ms. (steps per millisecond=13 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 756 ms. (steps per millisecond=13 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 711 ms. (steps per millisecond=14 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 679 ms. (steps per millisecond=14 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 721 ms. (steps per millisecond=13 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 680 ms. (steps per millisecond=14 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 702 ms. (steps per millisecond=14 ) properties (out of 8) seen :1
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-11 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 730 ms. (steps per millisecond=13 ) properties (out of 7) seen :0
Running SMT prover for 7 properties.
// Phase 1: matrix 25110 rows 9153 cols
[2021-05-12 13:18:58] [INFO ] Computed 3484 place invariants in 1722 ms
[2021-05-12 13:19:01] [INFO ] [Real]Absence check using 3483 positive place invariants in 1068 ms returned sat
[2021-05-12 13:19:02] [INFO ] [Real]Absence check using 3483 positive and 1 generalized place invariants in 1421 ms returned sat
[2021-05-12 13:19:03] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:7
[2021-05-12 13:19:06] [INFO ] [Nat]Absence check using 3483 positive place invariants in 1032 ms returned sat
[2021-05-12 13:19:08] [INFO ] [Nat]Absence check using 3483 positive and 1 generalized place invariants in 1413 ms returned sat
[2021-05-12 13:19:09] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-12 13:19:28] [INFO ] [Nat]Absence check using state equation in 19786 ms returned unsat :0 sat :6
Attempting to minimize the solution found.
Minimization took 11 ms.
[2021-05-12 13:19:29] [INFO ] SMT Verify possible in nat domain returned unsat :0 sat :6
Fused 7 Parikh solutions to 1 different solutions.
Support contains 88 out of 9153 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 9153/9153 places, 25110/25110 transitions.
Applied a total of 0 rules in 2092 ms. Remains 9153 /9153 variables (removed 0) and now considering 25110/25110 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 9153/9153 places, 25110/25110 transitions.
[2021-05-12 13:19:32] [INFO ] Flatten gal took : 1336 ms
[2021-05-12 13:19:33] [INFO ] Flatten gal took : 1025 ms
[2021-05-12 13:19:34] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality5862151581583198046.gal : 166 ms
[2021-05-12 13:19:34] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality7855264587945731479.prop : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality5862151581583198046.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality7855264587945731479.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality5862151581583198046.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality7855264587945731479.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality7855264587945731479.prop.
Detected timeout of ITS tools.
[2021-05-12 13:19:50] [INFO ] Flatten gal took : 953 ms
[2021-05-12 13:19:50] [INFO ] Applying decomposition
[2021-05-12 13:19:51] [INFO ] Flatten gal took : 972 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph15248208798784140288.txt, -o, /tmp/graph15248208798784140288.bin, -w, /tmp/graph15248208798784140288.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph15248208798784140288.bin, -l, -1, -v, -w, /tmp/graph15248208798784140288.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-12 13:19:53] [INFO ] Decomposing Gal with order
[2021-05-12 13:19:54] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-12 13:20:05] [INFO ] Removed a total of 38880 redundant transitions.
[2021-05-12 13:20:06] [INFO ] Flatten gal took : 1727 ms
[2021-05-12 13:20:06] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 124 ms.
[2021-05-12 13:20:06] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality16130554049554453105.gal : 149 ms
[2021-05-12 13:20:06] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality1576620233774431443.prop : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality16130554049554453105.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality1576620233774431443.prop, --nowitness], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality16130554049554453105.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality1576620233774431443.prop --nowitness
Loading property file /tmp/ReachabilityCardinality1576620233774431443.prop.
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin11305697886947256562
[2021-05-12 13:20:22] [INFO ] Built C files in 330ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin11305697886947256562
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin11305697886947256562]
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin11305697886947256562] killed by timeout after 1 SECONDS
java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin11305697886947256562] killed by timeout after 1 SECONDS
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:79)
at java.base/java.lang.Thread.run(Thread.java:834)
Interrupted random walk after 34111 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=1 ) properties seen :{1=1, 2=1, 5=1}
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 71797 steps, including 0 resets, run timeout after 5037 ms. (steps per millisecond=14 ) properties seen :{}
Interrupted Best-First random walk after 73916 steps, including 0 resets, run timeout after 5040 ms. (steps per millisecond=14 ) properties seen :{}
Interrupted Best-First random walk after 67279 steps, including 0 resets, run timeout after 5049 ms. (steps per millisecond=13 ) properties seen :{}
Interrupted Best-First random walk after 69641 steps, including 0 resets, run timeout after 5051 ms. (steps per millisecond=13 ) properties seen :{3=1}
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-15 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Running SMT prover for 3 properties.
// Phase 1: matrix 25110 rows 9153 cols
[2021-05-12 13:21:15] [INFO ] Computed 3484 place invariants in 1579 ms
[2021-05-12 13:21:17] [INFO ] [Real]Absence check using 3483 positive place invariants in 1049 ms returned sat
[2021-05-12 13:21:18] [INFO ] [Real]Absence check using 3483 positive and 1 generalized place invariants in 1445 ms returned sat
[2021-05-12 13:21:19] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:3
[2021-05-12 13:21:21] [INFO ] [Nat]Absence check using 3483 positive place invariants in 1017 ms returned sat
[2021-05-12 13:21:23] [INFO ] [Nat]Absence check using 3483 positive and 1 generalized place invariants in 1375 ms returned sat
[2021-05-12 13:21:23] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-12 13:21:47] [INFO ] [Nat]Absence check using state equation in 23402 ms returned unsat :0 sat :3
Attempting to minimize the solution found.
Minimization took 2371 ms.
[2021-05-12 13:21:49] [INFO ] SMT Verify possible in nat domain returned unsat :0 sat :3
Fused 3 Parikh solutions to 1 different solutions.
Finished Parikh walk after 17766 steps, including 0 resets, run visited all 3 properties in 14137 ms. (steps per millisecond=1 )
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.

BK_STOP 1620825724595

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityFireability -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="HypercubeGrid-PT-C5K3P3B15"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

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

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool itstools"
echo " Input is HypercubeGrid-PT-C5K3P3B15, 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 r121-tall-162075406700271"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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