fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r178-tajo-162089415400207
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for RERS17pb114-PT-2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16246.123 411293.00 770432.00 15973.40 T?T????F?T???FF? 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/mcc2021-input.r178-tajo-162089415400207.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/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 RERS17pb114-PT-2, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r178-tajo-162089415400207
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 73M
-rw-r--r-- 1 mcc users 14K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 126K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 14K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 66K 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.5K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.4K Mar 28 16:29 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Mar 28 16:29 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Mar 28 16:29 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 28 16:29 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Mar 27 10:08 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 27 10:08 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.4K Mar 25 13:16 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 25 13:16 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 08:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Mar 22 08:13 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 2 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 73M 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 RERS17pb114-PT-2-ReachabilityFireability-00
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-01
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-02
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-03
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-04
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-05
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-06
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-07
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-08
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-09
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-10
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-11
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-12
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-13
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-14
FORMULA_NAME RERS17pb114-PT-2-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1621247255444

Running Version 0
[2021-05-17 10:27:36] [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-17 10:27:36] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-17 10:27:39] [INFO ] Load time of PNML (sax parser for PT used): 2031 ms
[2021-05-17 10:27:39] [INFO ] Transformed 1446 places.
[2021-05-17 10:27:39] [INFO ] Transformed 151085 transitions.
[2021-05-17 10:27:39] [INFO ] Parsed PT model containing 1446 places and 151085 transitions in 2711 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 38 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1936 ms. (steps per millisecond=5 ) properties (out of 16) seen :2
FORMULA RERS17pb114-PT-2-ReachabilityFireability-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb114-PT-2-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 126 ms. (steps per millisecond=79 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 129 ms. (steps per millisecond=77 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 125 ms. (steps per millisecond=80 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 151 ms. (steps per millisecond=66 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 169 ms. (steps per millisecond=59 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 161 ms. (steps per millisecond=62 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 152 ms. (steps per millisecond=65 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 169 ms. (steps per millisecond=59 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 154 ms. (steps per millisecond=64 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 161 ms. (steps per millisecond=62 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 141 ms. (steps per millisecond=70 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 150 ms. (steps per millisecond=66 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 151 ms. (steps per millisecond=66 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 141 ms. (steps per millisecond=70 ) properties (out of 14) seen :0
Running SMT prover for 14 properties.
[2021-05-17 10:27:45] [INFO ] Flow matrix only has 84691 transitions (discarded 66394 similar events)
// Phase 1: matrix 84691 rows 1446 cols
[2021-05-17 10:27:46] [INFO ] Computed 35 place invariants in 692 ms
[2021-05-17 10:27:46] [INFO ] [Real]Absence check using 18 positive place invariants in 21 ms returned sat
[2021-05-17 10:27:46] [INFO ] [Real]Absence check using 18 positive and 17 generalized place invariants in 25 ms returned sat
[2021-05-17 10:27:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 10:28:11] [INFO ] [Real]Absence check using state equation in 24304 ms returned unsat :0 sat :4 real:10
[2021-05-17 10:28:16] [INFO ] State equation strengthened by 2342 read => feed constraints.
[2021-05-17 10:28:16] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
Fused 14 Parikh solutions to 1 different solutions.
Support contains 99 out of 1446 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1446/1446 places, 151085/151085 transitions.
Ensure Unique test removed 17 places
Drop transitions removed 512 transitions
Reduce isomorphic transitions removed 512 transitions.
Iterating post reduction 0 with 529 rules applied. Total rules applied 529 place count 1429 transition count 150573
Applied a total of 529 rules in 4187 ms. Remains 1429 /1446 variables (removed 17) and now considering 150573/151085 (removed 512) transitions.
Finished structural reductions, in 1 iterations. Remains : 1429/1446 places, 150573/151085 transitions.
[2021-05-17 10:28:27] [INFO ] Flatten gal took : 5656 ms
[2021-05-17 10:28:30] [INFO ] Flatten gal took : 3724 ms
[2021-05-17 10:28:31] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality1329944564000282545.gal : 577 ms
[2021-05-17 10:28:31] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality21381288336820699.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/ReachabilityCardinality1329944564000282545.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality21381288336820699.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/ReachabilityCardinality1329944564000282545.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality21381288336820699.prop --nowitness --gen-order FOLLOW
Detected timeout of ITS tools.
[2021-05-17 10:28:51] [INFO ] Flatten gal took : 4062 ms
[2021-05-17 10:28:51] [INFO ] Applying decomposition
[2021-05-17 10:28:55] [INFO ] Flatten gal took : 4192 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/graph7553850101055399172.txt, -o, /tmp/graph7553850101055399172.bin, -w, /tmp/graph7553850101055399172.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/graph7553850101055399172.bin, -l, -1, -v, -w, /tmp/graph7553850101055399172.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-17 10:29:06] [INFO ] Decomposing Gal with order
[2021-05-17 10:29:06] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 10:29:20] [INFO ] Removed a total of 456616 redundant transitions.
[2021-05-17 10:29:21] [INFO ] Flatten gal took : 9057 ms
[2021-05-17 10:29:40] [INFO ] Fuse similar labels procedure discarded/fused a total of 3629 labels/synchronizations in 12781 ms.
[2021-05-17 10:29:41] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality10580289427246867983.gal : 550 ms
[2021-05-17 10:29:41] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality1005350374846339928.prop : 4 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/ReachabilityCardinality10580289427246867983.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality1005350374846339928.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/ReachabilityCardinality10580289427246867983.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality1005350374846339928.prop --nowitness
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin6752410367009577253
[2021-05-17 10:29:57] [INFO ] Built C files in 1596ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin6752410367009577253
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/ltsmin6752410367009577253]
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/ltsmin6752410367009577253] 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/ltsmin6752410367009577253] 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 204703 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=6 ) properties seen :{1=1, 7=1, 11=1}
FORMULA RERS17pb114-PT-2-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb114-PT-2-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb114-PT-2-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 453535 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=90 ) properties seen :{}
Interrupted Best-First random walk after 687104 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=137 ) properties seen :{}
Interrupted Best-First random walk after 589912 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=117 ) properties seen :{}
Interrupted Best-First random walk after 109081 steps, including 0 resets, run timeout after 6048 ms. (steps per millisecond=18 ) properties seen :{}
Interrupted Best-First random walk after 444129 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=88 ) properties seen :{}
Interrupted Best-First random walk after 192244 steps, including 0 resets, run timeout after 5100 ms. (steps per millisecond=37 ) properties seen :{}
Interrupted Best-First random walk after 281825 steps, including 0 resets, run timeout after 5001 ms. (steps per millisecond=56 ) properties seen :{}
Interrupted Best-First random walk after 407633 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=81 ) properties seen :{}
Interrupted Best-First random walk after 533077 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=106 ) properties seen :{}
Interrupted Best-First random walk after 676312 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=135 ) properties seen :{9=1}
FORMULA RERS17pb114-PT-2-ReachabilityFireability-14 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 265026 steps, including 0 resets, run timeout after 5001 ms. (steps per millisecond=52 ) properties seen :{}
Running SMT prover for 10 properties.
[2021-05-17 10:31:26] [INFO ] Flow matrix only has 84690 transitions (discarded 65883 similar events)
// Phase 1: matrix 84690 rows 1429 cols
[2021-05-17 10:31:27] [INFO ] Computed 18 place invariants in 533 ms
[2021-05-17 10:31:27] [INFO ] [Real]Absence check using 18 positive place invariants in 24 ms returned sat
[2021-05-17 10:31:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 10:31:52] [INFO ] [Real]Absence check using state equation in 24040 ms returned unsat :0 sat :2 real:8
[2021-05-17 10:31:54] [INFO ] State equation strengthened by 2341 read => feed constraints.
[2021-05-17 10:32:35] [INFO ] [Real]Added 2341 Read/Feed constraints in 41070 ms returned sat
Attempting to minimize the solution found.
Minimization took 9218 ms.
[2021-05-17 10:32:54] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :2 real:8
[2021-05-17 10:32:55] [INFO ] [Nat]Absence check using 18 positive place invariants in 35 ms returned sat
[2021-05-17 10:32:55] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-17 10:33:37] [INFO ] [Nat]Absence check using state equation in 41509 ms returned unsat :0 sat :10

BK_STOP 1621247666737

--------------------
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="RERS17pb114-PT-2"
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 RERS17pb114-PT-2, 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 r178-tajo-162089415400207"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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