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

About the Execution of ITS-Tools for Philosophers-COL-005000

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16246.943 3600000.00 3904430.00 88987.40 [undef] Time out reached

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2021-input.r140-tall-162298995900066.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2021-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 Philosophers-COL-005000, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r140-tall-162298995900066
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 560K
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 100K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.1K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 76K 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.8K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.4K Mar 28 16:26 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 28 16:26 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Mar 28 16:26 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 16:26 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 27 08:11 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K Mar 27 08:08 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Mar 25 10:04 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 25 09:59 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 22 09:16 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 22 09:16 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_pt
-rw-r--r-- 1 mcc users 7 May 5 16:51 instance
-rw-r--r-- 1 mcc users 5 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 227K 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 Philosophers-COL-005000-CTLFireability-00
FORMULA_NAME Philosophers-COL-005000-CTLFireability-01
FORMULA_NAME Philosophers-COL-005000-CTLFireability-02
FORMULA_NAME Philosophers-COL-005000-CTLFireability-03
FORMULA_NAME Philosophers-COL-005000-CTLFireability-04
FORMULA_NAME Philosophers-COL-005000-CTLFireability-05
FORMULA_NAME Philosophers-COL-005000-CTLFireability-06
FORMULA_NAME Philosophers-COL-005000-CTLFireability-07
FORMULA_NAME Philosophers-COL-005000-CTLFireability-08
FORMULA_NAME Philosophers-COL-005000-CTLFireability-09
FORMULA_NAME Philosophers-COL-005000-CTLFireability-10
FORMULA_NAME Philosophers-COL-005000-CTLFireability-11
FORMULA_NAME Philosophers-COL-005000-CTLFireability-12
FORMULA_NAME Philosophers-COL-005000-CTLFireability-13
FORMULA_NAME Philosophers-COL-005000-CTLFireability-14
FORMULA_NAME Philosophers-COL-005000-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1622990110311

Running Version 0
[2021-06-06 14:35:11] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLFireability, -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-06-06 14:35:11] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-06-06 14:35:11] [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.
[2021-06-06 14:35:12] [WARNING] Using fallBack plugin, rng conformance not checked
[2021-06-06 14:35:12] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 783 ms
[2021-06-06 14:35:12] [INFO ] Imported 5 HL places and 5 HL transitions for a total of 25000 PT places and 25000.0 transition bindings in 19 ms.
Parsed 16 properties from file /home/mcc/execution/CTLFireability.xml in 13 ms.
[2021-06-06 14:35:12] [INFO ] Built PT skeleton of HLPN with 5 places and 5 transitions in 4 ms.
[2021-06-06 14:35:12] [INFO ] Skeletonized HLPN properties in 6 ms.
Successfully produced net in file /tmp/petri1000_17185249477646091983.dot
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
[2021-06-06 14:35:12] [INFO ] Flatten gal took : 16 ms
[2021-06-06 14:35:12] [INFO ] Flatten gal took : 2 ms
[2021-06-06 14:35:13] [INFO ] Unfolded HLPN to a Petri net with 25000 places and 25000 transitions in 131 ms.
[2021-06-06 14:35:13] [INFO ] Unfolded HLPN properties in 175 ms.
Successfully produced net in file /tmp/petri1001_10067642639796439066.dot
Support contains 25000 out of 25000 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 25000/25000 places, 25000/25000 transitions.
Applied a total of 0 rules in 103 ms. Remains 25000 /25000 variables (removed 0) and now considering 25000/25000 (removed 0) transitions.
// Phase 1: matrix 25000 rows 25000 cols
[2021-06-06 14:36:25] [INFO ] Computed 10000 place invariants in 149 ms
[2021-06-06 14:36:28] [INFO ] Implicit Places using invariants in 2519 ms returned []
Implicit Place search using SMT only with invariants took 2543 ms to find 0 implicit places.
// Phase 1: matrix 25000 rows 25000 cols
[2021-06-06 14:36:28] [INFO ] Computed 10000 place invariants in 62 ms
[2021-06-06 14:36:30] [INFO ] Dead Transitions using invariants and state equation in 2331 ms returned []
Finished structural reductions, in 1 iterations. Remains : 25000/25000 places, 25000/25000 transitions.
[2021-06-06 14:36:48] [INFO ] Flatten gal took : 8255 ms
[2021-06-06 14:38:51] [INFO ] Flatten gal took : 13054 ms
[2021-06-06 14:40:57] [INFO ] Input system was already deterministic with 25000 transitions.
Interrupted random walk after 36594 steps, including 1 resets, run timeout after 30001 ms. (steps per millisecond=1 ) properties seen :{11=1, 13=1, 14=1, 17=1, 22=1, 29=1, 36=1, 39=1, 40=1, 43=1, 57=1, 59=1, 64=1}
Running SMT prover for 64 properties.
// Phase 1: matrix 25000 rows 25000 cols
[2021-06-06 14:41:32] [INFO ] Computed 10000 place invariants in 72 ms
[2021-06-06 14:43:21] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
Applied a total of 0 rules in 468 ms. Remains 25000 /25000 variables (removed 0) and now considering 25000/25000 (removed 0) transitions.
[2021-06-06 14:45:50] [INFO ] Flatten gal took : 1345 ms
[2021-06-06 14:45:53] [INFO ] Flatten gal took : 1819 ms
[2021-06-06 14:45:56] [INFO ] Input system was already deterministic with 25000 transitions.
[2021-06-06 14:46:00] [INFO ] Flatten gal took : 1944 ms
[2021-06-06 14:46:02] [INFO ] Flatten gal took : 1808 ms
[2021-06-06 14:46:02] [INFO ] Time to serialize gal into /tmp/CTLFireability16476633144387644638.gal : 181 ms
[2021-06-06 14:46:23] [INFO ] Time to serialize properties into /tmp/CTLFireability6031901571883485208.ctl : 21051 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability16476633144387644638.gal, -t, CGAL, -ctl, /tmp/CTLFireability6031901571883485208.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability16476633144387644638.gal -t CGAL -ctl /tmp/CTLFireability6031901571883485208.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
memory exhausted in line 3 with token "("
ITS-tools command line returned an error code 1
[2021-06-06 14:46:41] [INFO ] Flatten gal took : 2011 ms
[2021-06-06 14:46:41] [INFO ] Applying decomposition
[2021-06-06 14:46:42] [INFO ] Flatten gal took : 1706 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/graph14145962427802057448.txt, -o, /tmp/graph14145962427802057448.bin, -w, /tmp/graph14145962427802057448.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/graph14145962427802057448.bin, -l, -1, -v, -w, /tmp/graph14145962427802057448.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-06-06 14:46:47] [INFO ] Decomposing Gal with order
[2021-06-06 14:46:51] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-06-06 14:52:03] [INFO ] Removed a total of 4955 redundant transitions.
[2021-06-06 14:52:05] [INFO ] Flatten gal took : 3191 ms
[2021-06-06 15:16:17] [INFO ] Fuse similar labels procedure discarded/fused a total of 13040 labels/synchronizations in 500 ms.
[2021-06-06 15:16:18] [INFO ] Time to serialize gal into /tmp/CTLFireability8082421221363501961.gal : 159 ms
[2021-06-06 15:16:38] [INFO ] Time to serialize properties into /tmp/CTLFireability6903980156809193608.ctl : 20867 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability8082421221363501961.gal, -t, CGAL, -ctl, /tmp/CTLFireability6903980156809193608.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability8082421221363501961.gal -t CGAL -ctl /tmp/CTLFireability6903980156809193608.ctl
No direction supplied, using forward translation only.
memory exhausted in line 3 with token "("
ITS-tools command line returned an error code 1
Applied a total of 0 rules in 177 ms. Remains 25000 /25000 variables (removed 0) and now considering 25000/25000 (removed 0) transitions.
[2021-06-06 15:17:33] [INFO ] Flatten gal took : 1383 ms
[2021-06-06 15:17:36] [INFO ] Flatten gal took : 1763 ms
[2021-06-06 15:17:39] [INFO ] Input system was already deterministic with 25000 transitions.
[2021-06-06 15:17:43] [INFO ] Flatten gal took : 1784 ms
[2021-06-06 15:17:44] [INFO ] Flatten gal took : 1758 ms
[2021-06-06 15:17:45] [INFO ] Time to serialize gal into /tmp/CTLFireability18222383249183059580.gal : 75 ms
[2021-06-06 15:17:45] [INFO ] Time to serialize properties into /tmp/CTLFireability16959107727037445871.ctl : 317 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability18222383249183059580.gal, -t, CGAL, -ctl, /tmp/CTLFireability16959107727037445871.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability18222383249183059580.gal -t CGAL -ctl /tmp/CTLFireability16959107727037445871.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-06-06 15:18:17] [INFO ] Flatten gal took : 1800 ms
[2021-06-06 15:18:17] [INFO ] Applying decomposition
[2021-06-06 15:18:19] [INFO ] Flatten gal took : 1596 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/graph17181699172797221116.txt, -o, /tmp/graph17181699172797221116.bin, -w, /tmp/graph17181699172797221116.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/graph17181699172797221116.bin, -l, -1, -v, -w, /tmp/graph17181699172797221116.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-06-06 15:18:23] [INFO ] Decomposing Gal with order
[2021-06-06 15:18:29] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-06-06 15:22:47] [INFO ] Removed a total of 4960 redundant transitions.
[2021-06-06 15:22:49] [INFO ] Flatten gal took : 2701 ms
[2021-06-06 15:25:48] [INFO ] Fuse similar labels procedure discarded/fused a total of 10218 labels/synchronizations in 247 ms.
[2021-06-06 15:25:48] [INFO ] Time to serialize gal into /tmp/CTLFireability11258583283749565017.gal : 111 ms
[2021-06-06 15:25:50] [INFO ] Time to serialize properties into /tmp/CTLFireability9495637027619622845.ctl : 1141 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability11258583283749565017.gal, -t, CGAL, -ctl, /tmp/CTLFireability9495637027619622845.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability11258583283749565017.gal -t CGAL -ctl /tmp/CTLFireability9495637027619622845.ctl
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
Applied a total of 0 rules in 525 ms. Remains 25000 /25000 variables (removed 0) and now considering 25000/25000 (removed 0) transitions.
[2021-06-06 15:26:40] [INFO ] Flatten gal took : 1249 ms
[2021-06-06 15:26:42] [INFO ] Flatten gal took : 1363 ms
[2021-06-06 15:26:44] [INFO ] Input system was already deterministic with 25000 transitions.
[2021-06-06 15:26:46] [INFO ] Flatten gal took : 1435 ms
[2021-06-06 15:26:48] [INFO ] Flatten gal took : 1301 ms
[2021-06-06 15:26:48] [INFO ] Time to serialize gal into /tmp/CTLFireability9083531429150719008.gal : 82 ms
[2021-06-06 15:26:48] [INFO ] Time to serialize properties into /tmp/CTLFireability10221595154375303345.ctl : 201 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability9083531429150719008.gal, -t, CGAL, -ctl, /tmp/CTLFireability10221595154375303345.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability9083531429150719008.gal -t CGAL -ctl /tmp/CTLFireability10221595154375303345.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-06-06 15:27:20] [INFO ] Flatten gal took : 1285 ms
[2021-06-06 15:27:20] [INFO ] Applying decomposition
[2021-06-06 15:27:21] [INFO ] Flatten gal took : 1163 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/graph15685641438299494358.txt, -o, /tmp/graph15685641438299494358.bin, -w, /tmp/graph15685641438299494358.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/graph15685641438299494358.bin, -l, -1, -v, -w, /tmp/graph15685641438299494358.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-06-06 15:27:23] [INFO ] Decomposing Gal with order
[2021-06-06 15:27:29] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-06-06 15:30:14] [INFO ] Removed a total of 4950 redundant transitions.
[2021-06-06 15:30:16] [INFO ] Flatten gal took : 1835 ms
[2021-06-06 15:31:41] [INFO ] Fuse similar labels procedure discarded/fused a total of 10200 labels/synchronizations in 153 ms.
[2021-06-06 15:31:42] [INFO ] Time to serialize gal into /tmp/CTLFireability194649187607458028.gal : 204 ms
[2021-06-06 15:31:42] [INFO ] Time to serialize properties into /tmp/CTLFireability7359594415651865821.ctl : 234 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLFireability194649187607458028.gal, -t, CGAL, -ctl, /tmp/CTLFireability7359594415651865821.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLFireability194649187607458028.gal -t CGAL -ctl /tmp/CTLFireability7359594415651865821.ctl
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-06-06 15:32:33] [INFO ] Flatten gal took : 11526 ms
[2021-06-06 15:34:34] [INFO ] Flatten gal took : 11096 ms

BK_TIME_CONFINEMENT_REACHED

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution CTLFireability -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 CTLFireability -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="Philosophers-COL-005000"
export BK_EXAMINATION="CTLFireability"
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 Philosophers-COL-005000, examination is CTLFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r140-tall-162298995900066"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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