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

About the Execution of ITS-Tools for Philosophers-PT-002000

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15741.970 3600000.00 9765023.00 4301.90 TTTFTF?TFTFTFTTF 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.r126-tajo-158961389900174.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 Philosophers-PT-002000, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r126-tajo-158961389900174
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 31M
-rw-r--r-- 1 mcc users 714K Apr 27 15:14 CTLCardinality.txt
-rw-r--r-- 1 mcc users 2.4M Apr 27 15:14 CTLCardinality.xml
-rw-r--r-- 1 mcc users 615K Apr 27 15:14 CTLFireability.txt
-rw-r--r-- 1 mcc users 2.7M Apr 27 15:14 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Apr 27 15:14 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.2K Apr 27 15:14 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 1.2M Apr 27 15:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 4.3M Apr 28 14:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 606K Apr 27 15:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 2.7M Apr 28 14:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 989K Apr 27 15:14 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 3.2M Apr 27 15:14 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 546K Apr 27 15:14 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 2.3M Apr 27 15:14 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 210K Apr 27 15:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 525K Apr 27 15:14 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Apr 27 15:14 equiv_col
-rw-r--r-- 1 mcc users 7 Apr 27 15:14 instance
-rw-r--r-- 1 mcc users 6 Apr 27 15:14 iscolored
-rw-r--r-- 1 mcc users 8.2M Apr 27 15:14 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 Philosophers-PT-002000-ReachabilityCardinality-00
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-01
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-02
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-03
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-04
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-05
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-06
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-07
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-08
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-09
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-10
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-11
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-12
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-13
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-14
FORMULA_NAME Philosophers-PT-002000-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1589789178912

[2020-05-18 08:06:20] [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-18 08:06:20] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-18 08:06:21] [INFO ] Load time of PNML (sax parser for PT used): 338 ms
[2020-05-18 08:06:21] [INFO ] Transformed 10000 places.
[2020-05-18 08:06:21] [INFO ] Transformed 10000 transitions.
[2020-05-18 08:06:21] [INFO ] Parsed PT model containing 10000 places and 10000 transitions in 457 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 2337 ms.
Working with output stream class java.io.PrintStream
FORMULA Philosophers-PT-002000-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 0 resets, run finished after 11848 ms. (steps per millisecond=0 ) properties seen :[1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0]
FORMULA Philosophers-PT-002000-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-002000-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-002000-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-002000-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-002000-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-002000-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-002000-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-002000-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 4744 ms. (steps per millisecond=2 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Interrupted Best-First random walk after 8000 steps, including 0 resets, run timeout after 5841 ms. (steps per millisecond=1 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 563 ms. (steps per millisecond=17 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 893 ms. (steps per millisecond=11 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 555 ms. (steps per millisecond=18 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 505 ms. (steps per millisecond=19 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 483 ms. (steps per millisecond=20 ) properties seen :[0, 0, 0, 0, 0, 0, 1]
FORMULA Philosophers-PT-002000-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
// Phase 1: matrix 10000 rows 10000 cols
[2020-05-18 08:06:49] [INFO ] Computed 4000 place invariants in 179 ms
[2020-05-18 08:06:50] [INFO ] [Real]Absence check using 4000 positive place invariants in 49 ms returned unsat
[2020-05-18 08:06:55] [INFO ] [Real]Absence check using 4000 positive place invariants in 4084 ms returned (error "Solver has unexpectedly terminated")
[2020-05-18 08:06:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:06:55] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 1
[2020-05-18 08:07:00] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:07:00] [INFO ] [Real]Absence check using 4000 positive place invariants in 4068 ms returned unknown
[2020-05-18 08:07:05] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:07:05] [INFO ] [Real]Absence check using 4000 positive place invariants in 3995 ms returned (error "Failed to check-sat")
[2020-05-18 08:07:05] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:07:05] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 3
[2020-05-18 08:07:10] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:07:10] [INFO ] [Real]Absence check using 4000 positive place invariants in 4111 ms returned (error "Failed to check-sat")
[2020-05-18 08:07:10] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:07:10] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 4
[2020-05-18 08:07:15] [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 (= 1 (+ s822 s5022 s7146 s8234))") while checking expression at index 5
FORMULA Philosophers-PT-002000-ReachabilityCardinality-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Support contains 10000 out of 10000 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 10000/10000 places, 10000/10000 transitions.
Applied a total of 0 rules in 249 ms. Remains 10000 /10000 variables (removed 0) and now considering 10000/10000 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 10000/10000 places, 10000/10000 transitions.
Interrupted random walk after 55858 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=1 ) properties seen :[0, 0, 0, 0, 1]
FORMULA Philosophers-PT-002000-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 8000 steps, including 0 resets, run timeout after 5867 ms. (steps per millisecond=1 ) properties seen :[0, 0, 0, 0]
Interrupted Best-First random walk after 88561 steps, including 0 resets, run timeout after 5037 ms. (steps per millisecond=17 ) properties seen :[0, 0, 0, 0]
Interrupted Best-First random walk after 98473 steps, including 0 resets, run timeout after 5025 ms. (steps per millisecond=19 ) properties seen :[0, 0, 0, 0]
Interrupted Best-First random walk after 96473 steps, including 0 resets, run timeout after 5051 ms. (steps per millisecond=19 ) properties seen :[0, 0, 0, 0]
// Phase 1: matrix 10000 rows 10000 cols
[2020-05-18 08:08:07] [INFO ] Computed 4000 place invariants in 123 ms
[2020-05-18 08:08:52] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:08:52] [INFO ] [Real]Absence check using 4000 positive place invariants in 44144 ms returned (error "Failed to check-sat")
[2020-05-18 08:08:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:08:52] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 0
[2020-05-18 08:09:22] [INFO ] [Real]Absence check using 4000 positive place invariants in 28879 ms returned sat
[2020-05-18 08:09:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:09:37] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:09:37] [INFO ] [Real]Absence check using state equation in 15215 ms returned unknown
[2020-05-18 08:09:54] [INFO ] [Real]Absence check using 4000 positive place invariants in 16175 ms returned unsat
[2020-05-18 08:10:06] [INFO ] [Real]Absence check using 4000 positive place invariants in 10538 ms returned unsat
FORMULA Philosophers-PT-002000-ReachabilityCardinality-12 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA Philosophers-PT-002000-ReachabilityCardinality-10 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Support contains 10000 out of 10000 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 10000/10000 places, 10000/10000 transitions.
Applied a total of 0 rules in 112 ms. Remains 10000 /10000 variables (removed 0) and now considering 10000/10000 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 10000/10000 places, 10000/10000 transitions.
Interrupted random walk after 58163 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=1 ) properties seen :[0, 1]
FORMULA Philosophers-PT-002000-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 8000 steps, including 0 resets, run timeout after 5587 ms. (steps per millisecond=1 ) properties seen :[0]
// Phase 1: matrix 10000 rows 10000 cols
[2020-05-18 08:10:41] [INFO ] Computed 4000 place invariants in 143 ms
[2020-05-18 08:11:26] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:11:26] [INFO ] [Real]Absence check using 4000 positive place invariants in 44099 ms returned (error "Failed to check-sat")
[2020-05-18 08:11:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:11:26] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 0
Support contains 10000 out of 10000 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 10000/10000 places, 10000/10000 transitions.
Applied a total of 0 rules in 131 ms. Remains 10000 /10000 variables (removed 0) and now considering 10000/10000 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 10000/10000 places, 10000/10000 transitions.
Interrupted random walk after 55022 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=1 ) properties seen :[0]
Interrupted Best-First random walk after 8000 steps, including 0 resets, run timeout after 5606 ms. (steps per millisecond=1 ) properties seen :[0]
Probabilistic random walk after 191856 steps, saw 49 distinct states, run finished after 30063 ms. (steps per millisecond=6 ) properties seen :[0]
// Phase 1: matrix 10000 rows 10000 cols
[2020-05-18 08:12:33] [INFO ] Computed 4000 place invariants in 183 ms
[2020-05-18 08:13:18] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:13:18] [INFO ] [Real]Absence check using 4000 positive place invariants in 44036 ms returned (error "Failed to check-sat")
[2020-05-18 08:13:18] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:13:18] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 0
Support contains 10000 out of 10000 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 10000/10000 places, 10000/10000 transitions.
Applied a total of 0 rules in 86 ms. Remains 10000 /10000 variables (removed 0) and now considering 10000/10000 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 10000/10000 places, 10000/10000 transitions.
Starting structural reductions, iteration 0 : 10000/10000 places, 10000/10000 transitions.
Applied a total of 0 rules in 75 ms. Remains 10000 /10000 variables (removed 0) and now considering 10000/10000 (removed 0) transitions.
// Phase 1: matrix 10000 rows 10000 cols
[2020-05-18 08:13:18] [INFO ] Computed 4000 place invariants in 115 ms
[2020-05-18 08:13:19] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:13:19] [INFO ] Implicit Places using invariants in 1343 ms returned []
Implicit Place search using SMT only with invariants took 1345 ms to find 0 implicit places.
// Phase 1: matrix 10000 rows 10000 cols
[2020-05-18 08:13:19] [INFO ] Computed 4000 place invariants in 144 ms
[2020-05-18 08:13:20] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:13:51] [INFO ] Performed 2253/10000 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2020-05-18 08:14:19] [INFO ] Dead Transitions with SMT raised an exceptionSMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Broken pipe (>= s9715 1)") after 60212 ms
Finished structural reductions, in 1 iterations. Remains : 10000/10000 places, 10000/10000 transitions.
Interrupted random walk after 55243 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=1 ) properties seen :[0]
// Phase 1: matrix 10000 rows 10000 cols
[2020-05-18 08:14:50] [INFO ] Computed 4000 place invariants in 109 ms
[2020-05-18 08:15:10] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:15:10] [INFO ] [Real]Absence check using 4000 positive place invariants in 18970 ms returned (error "Failed to check-sat")
[2020-05-18 08:15:10] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:15:10] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 0
Applied a total of 0 rules in 140 ms. Remains 10000 /10000 variables (removed 0) and now considering 10000/10000 (removed 0) transitions.
// Phase 1: matrix 10000 rows 10000 cols
[2020-05-18 08:15:10] [INFO ] Computed 4000 place invariants in 172 ms
[2020-05-18 08:15:55] [INFO ] SMT solver returned unknown. Retrying;
[2020-05-18 08:15:55] [INFO ] [Real]Absence check using 4000 positive place invariants in 44208 ms returned (error "Failed to check-sat")
[2020-05-18 08:15:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-18 08:15:55] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 0
[2020-05-18 08:15:57] [INFO ] Flatten gal took : 1218 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
[2020-05-18 08:15:59] [INFO ] Flatten gal took : 1039 ms
[2020-05-18 08:15:59] [INFO ] Applying decomposition
[2020-05-18 08:15:59] [INFO ] Flatten gal took : 724 ms

BK_TIME_CONFINEMENT_REACHED

--------------------
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="Philosophers-PT-002000"
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 Philosophers-PT-002000, 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 r126-tajo-158961389900174"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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