fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r168-tall-165277016600396
Last Updated
Jun 22, 2022

About the Execution of ITS-Tools for PhilosophersDyn-COL-50

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
9818.500 3045068.00 9835185.00 4223.40 ??T???????F??F?? normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r168-tall-165277016600396.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
....................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is PhilosophersDyn-COL-50, examination is LTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r168-tall-165277016600396
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 284K
-rw-r--r-- 1 mcc users 8.2K Apr 30 07:18 CTLCardinality.txt
-rw-r--r-- 1 mcc users 85K Apr 30 07:18 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.9K Apr 30 07:18 CTLFireability.txt
-rw-r--r-- 1 mcc users 50K Apr 30 07:18 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K May 9 08:27 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 9 08:27 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K May 9 08:27 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 08:27 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.8K May 9 08:27 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 9 08:27 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 10 09:34 equiv_pt
-rw-r--r-- 1 mcc users 3 May 10 09:34 instance
-rw-r--r-- 1 mcc users 5 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 34K May 10 09:34 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 PhilosophersDyn-COL-50-LTLFireability-00
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-01
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-02
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-03
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-04
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-05
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-06
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-07
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-08
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-09
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-10
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-11
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-12
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-13
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-14
FORMULA_NAME PhilosophersDyn-COL-50-LTLFireability-15

=== Now, execution of the tool begins

BK_START 1652840369140

Running Version 202205111006
[2022-05-18 02:19:30] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLFireability, -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]
[2022-05-18 02:19:30] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-18 02:19:30] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2022-05-18 02:19:30] [WARNING] Using fallBack plugin, rng conformance not checked
[2022-05-18 02:19:30] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 568 ms
[2022-05-18 02:19:30] [INFO ] Imported 8 HL places and 7 HL transitions for a total of 2850 PT places and 257600.0 transition bindings in 22 ms.
Parsed 16 properties from file /home/mcc/execution/LTLFireability.xml in 10 ms.
Working with output stream class java.io.PrintStream
[2022-05-18 02:19:31] [INFO ] Built PT skeleton of HLPN with 8 places and 7 transitions 33 arcs in 5 ms.
[2022-05-18 02:19:31] [INFO ] Skeletonized 16 HLPN properties in 0 ms.
Initial state reduction rules removed 3 formulas.
FORMULA PhilosophersDyn-COL-50-LTLFireability-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA PhilosophersDyn-COL-50-LTLFireability-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA PhilosophersDyn-COL-50-LTLFireability-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Computed a total of 0 stabilizing places and 0 stable transitions
Remains 10 properties that can be checked using skeleton over-approximation.
Computed a total of 0 stabilizing places and 0 stable transitions
Finished random walk after 2 steps, including 0 resets, run visited all 9 properties in 15 ms. (steps per millisecond=0 )
[2022-05-18 02:19:31] [INFO ] Flatten gal took : 19 ms
[2022-05-18 02:19:31] [INFO ] Flatten gal took : 3 ms
Domain [Philosopher(50), Philosopher(50)] of place Neighbourhood breaks symmetries in sort Philosopher
[2022-05-18 02:19:32] [INFO ] Unfolded HLPN to a Petri net with 2850 places and 257550 transitions 2154950 arcs in 1745 ms.
[2022-05-18 02:19:33] [INFO ] Unfolded 13 HLPN properties in 178 ms.
[2022-05-18 02:19:33] [INFO ] Reduced 2449 identical enabling conditions.
[2022-05-18 02:19:33] [INFO ] Reduced 2449 identical enabling conditions.
[2022-05-18 02:19:34] [INFO ] Reduced 2449 identical enabling conditions.
[2022-05-18 02:19:35] [INFO ] Reduced 2449 identical enabling conditions.
[2022-05-18 02:19:35] [INFO ] Reduced 2449 identical enabling conditions.
Ensure Unique test removed 1225 transitions
Reduce redundant transitions removed 1225 transitions.
Support contains 2850 out of 2850 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 2850/2850 places, 256325/256325 transitions.
Applied a total of 0 rules in 3367 ms. Remains 2850 /2850 variables (removed 0) and now considering 256325/256325 (removed 0) transitions.
[2022-05-18 02:21:34] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:23:34] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:24:04] [INFO ] Performed 22893/256325 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2022-05-18 02:24:34] [INFO ] Dead Transitions with SMT raised an exceptionSMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close... after 180279 ms
[2022-05-18 02:24:34] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:26:34] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:26:34] [INFO ] Implicit Places using invariants in 120539 ms returned []
Implicit Place search using SMT only with invariants took 120543 ms to find 0 implicit places.
[2022-05-18 02:26:34] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:28:34] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:29:05] [INFO ] Performed 63690/256325 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2022-05-18 02:29:34] [INFO ] Dead Transitions using invariants and state equation in 180177 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 2850/2850 places, 256325/256325 transitions.
Support contains 2850 out of 2850 places after structural reductions.
[2022-05-18 02:30:56] [INFO ] Flatten gal took : 39173 ms
[2022-05-18 02:33:07] [INFO ] Invariants computation overflowed in 693246 ms
[2022-05-18 02:35:44] [INFO ] Flatten gal took : 51178 ms
[2022-05-18 02:36:02] [INFO ] Invariants computation overflowed in 688226 ms
[2022-05-18 02:37:46] [INFO ] Invariants computation overflowed in 672075 ms
[2022-05-18 02:39:59] [INFO ] Input system was already deterministic with 256325 transitions.
Incomplete random walk after 10000 steps, including 1120 resets, run finished after 6450 ms. (steps per millisecond=1 ) properties (out of 12) seen :11
Incomplete Best-First random walk after 10001 steps, including 7 resets, run finished after 2174 ms. (steps per millisecond=4 ) properties (out of 1) seen :0
Running SMT prover for 1 properties.
[2022-05-18 02:40:23] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:42:23] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:42:24] [INFO ] After 613ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2022-05-18 02:42:49] [INFO ] After 25053ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0
Parikh walk visited 0 properties in 0 ms.
Support contains 2650 out of 2850 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 2850/2850 places, 256325/256325 transitions.
Applied a total of 0 rules in 5154 ms. Remains 2850 /2850 variables (removed 0) and now considering 256325/256325 (removed 0) transitions.
[2022-05-18 02:42:54] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:44:54] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:45:24] [INFO ] Performed 73621/256325 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2022-05-18 02:45:54] [INFO ] Dead Transitions using invariants and state equation in 180155 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 2850/2850 places, 256325/256325 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Running Spot : cd /home/mcc/execution;'/home/mcc/BenchKit/bin//..//ltl2tgba' '--check=stutter' '--hoaf=tv' '-f' '!(F((F(G(p0))||G(p1))))'
Support contains 2650 out of 2850 places. Attempting structural reductions.
Starting structural reductions in SI_LTL mode, iteration 0 : 2850/2850 places, 256325/256325 transitions.
Applied a total of 0 rules in 6245 ms. Remains 2850 /2850 variables (removed 0) and now considering 256325/256325 (removed 0) transitions.
[2022-05-18 02:46:15] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:48:15] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:48:45] [INFO ] Performed 58182/256325 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2022-05-18 02:49:15] [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 ... after 180171 ms
[2022-05-18 02:49:15] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:51:16] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:51:18] [INFO ] Implicit Places using invariants in 123548 ms returned []
Implicit Place search using SMT only with invariants took 123550 ms to find 0 implicit places.
[2022-05-18 02:51:18] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:52:51] [INFO ] Invariants computation overflowed in 748498 ms
[2022-05-18 02:53:18] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:53:49] [INFO ] Performed 38015/256325 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2022-05-18 02:54:18] [INFO ] Dead Transitions using invariants and state equation in 180343 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 2850/2850 places, 256325/256325 transitions.
Stuttering acceptance computed with spot in 441 ms :[(AND (NOT p0) (NOT p1))]
Running random walk in product with property : PhilosophersDyn-COL-50-LTLFireability-00 automaton TGBA Formula[mat=[[{ cond=(AND p0 p1), acceptance={} source=0 dest: 0}, { cond=(AND (NOT p0) p1), acceptance={0} source=0 dest: 0}, { cond=(AND p0 (NOT p1)), acceptance={1} source=0 dest: 0}, { cond=(AND (NOT p0) (NOT p1)), acceptance={0, 1} source=0 dest: 0}]], initial=0, aps=[p0:(OR (LT s2500 1) (LT s2501 1) (LT s2502 1) (LT s2503 1) (LT s2504 1) (LT s2505 1) (LT s2506 1) (LT s2507 1) (LT s2508 1) (LT s2509 1) (LT s2510 1) (LT ...], nbAcceptance=2, properties=[trans-labels, explicit-labels, trans-acc, complete, deterministic, no-univ-branch, unambiguous, semi-deterministic, stutter-invariant], stateDesc=[null][true]]
Product exploration timeout after 8070 steps with 897 reset in 10003 ms.
Product exploration timeout after 11280 steps with 1260 reset in 10039 ms.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Knowledge obtained : [(AND p0 p1), (X (AND p0 (NOT p1))), (X (NOT (AND (NOT p0) p1))), (X (NOT (AND (NOT p0) (NOT p1)))), (X (NOT (AND p0 p1))), (X (X (AND p0 (NOT p1)))), (X (X (NOT (AND (NOT p0) p1)))), (X (X (NOT (AND (NOT p0) (NOT p1))))), (X (X (NOT (AND p0 p1))))]
False Knowledge obtained : []
Knowledge based reduction with 9 factoid took 840 ms. Reduced automaton from 1 states, 4 edges and 2 AP to 1 states, 4 edges and 2 AP.
Stuttering acceptance computed with spot in 95 ms :[(AND (NOT p0) (NOT p1))]
Incomplete random walk after 10000 steps, including 1116 resets, run finished after 13075 ms. (steps per millisecond=0 ) properties (out of 4) seen :2
Incomplete Best-First random walk after 10001 steps, including 7 resets, run finished after 3342 ms. (steps per millisecond=2 ) properties (out of 2) seen :0
Interrupted Best-First random walk after 6729 steps, including 4 resets, run timeout after 5207 ms. (steps per millisecond=1 ) properties seen 0
Running SMT prover for 2 properties.
[2022-05-18 02:55:20] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 02:57:21] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 02:57:22] [INFO ] After 1058ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:1
[2022-05-18 02:57:48] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2022-05-18 02:57:48] [INFO ] After 26431ms SMT Verify possible using all constraints in natural domain returned unsat :1 sat :0 real:1
Fused 2 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 0 ms.
Support contains 2650 out of 2850 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 2850/2850 places, 256325/256325 transitions.
Applied a total of 0 rules in 23833 ms. Remains 2850 /2850 variables (removed 0) and now considering 256325/256325 (removed 0) transitions.
[2022-05-18 02:58:13] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 03:00:13] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 03:00:44] [INFO ] Performed 5141/256325 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2022-05-18 03:01:08] [INFO ] Invariants computation overflowed in 1094071 ms
[2022-05-18 03:01:13] [INFO ] Dead Transitions using invariants and state equation in 180944 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 2850/2850 places, 256325/256325 transitions.
Found 1 invariant AP formulas.
Knowledge obtained : [(AND p0 p1), (X (AND p0 (NOT p1))), (X (NOT (AND (NOT p0) p1))), (X (NOT (AND (NOT p0) (NOT p1)))), (X (NOT (AND p0 p1))), (X (X (AND p0 (NOT p1)))), (X (X (NOT (AND (NOT p0) p1)))), (X (X (NOT (AND (NOT p0) (NOT p1))))), (X (X (NOT (AND p0 p1)))), (G (NOT (AND (NOT p0) (NOT p1))))]
False Knowledge obtained : [(F (NOT (AND p0 p1))), (F (AND p0 (NOT p1)))]
Knowledge based reduction with 10 factoid took 701 ms. Reduced automaton from 1 states, 4 edges and 2 AP to 1 states, 4 edges and 2 AP.
Stuttering acceptance computed with spot in 79 ms :[(AND (NOT p0) (NOT p1))]
Stuttering acceptance computed with spot in 134 ms :[(AND (NOT p0) (NOT p1))]
Support contains 2650 out of 2850 places. Attempting structural reductions.
Starting structural reductions in SI_LTL mode, iteration 0 : 2850/2850 places, 256325/256325 transitions.
Applied a total of 0 rules in 16396 ms. Remains 2850 /2850 variables (removed 0) and now considering 256325/256325 (removed 0) transitions.
[2022-05-18 03:01:31] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 03:03:31] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 03:04:03] [INFO ] Performed 13569/256325 'is it Dead' test of which 0 returned DEAD in 31 seconds.
[2022-05-18 03:04:31] [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 ... after 180453 ms
[2022-05-18 03:04:35] [INFO ] Flow matrix only has 246525 transitions (discarded 9800 similar events)
// Phase 1: matrix 246525 rows 2850 cols
[2022-05-18 03:06:35] [WARNING] Invariant computation timed out after 120 seconds.
[2022-05-18 03:08:07] [INFO ] Performed 2650/2850 implicitness test of which 0 returned IMPLICIT in 85 seconds.
[2022-05-18 03:08:38] [INFO ] Performed 2831/2850 implicitness test of which 0 returned IMPLICIT in 116 seconds.
[2022-05-18 03:08:49] [INFO ] Implicit Places using invariants in 258004 ms returned []
Implicit Place search using SMT only with invariants took 258005 ms to find 0 implicit places.
Treatment of property PhilosophersDyn-COL-50-LTLFireability-00 finished in 1440286 ms.
Total runtime 3038506 ms.
Its-tools:
An error has occurred. See the log file
/home/mcc/BenchKit/itstools/configuration/1652840369704.log.

BK_STOP 1652843414208

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

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ LTLFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution LTLFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination LTLFireability -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=@none -Xss128m -Xms40m -Xmx8192m

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="PhilosophersDyn-COL-50"
export BK_EXAMINATION="LTLFireability"
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 PhilosophersDyn-COL-50, examination is LTLFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r168-tall-165277016600396"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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