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

About the Execution of ITS-Tools for BridgeAndVehicles-COL-V80P20N20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16249.243 3387809.00 3527676.00 11491.30 [undef] Cannot compute

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.r026-tajo-162038143400122.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 BridgeAndVehicles-COL-V80P20N20, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r026-tajo-162038143400122
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 444K
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 85K May 10 09:42 CTLCardinality.xml
-rw-r--r-- 1 mcc users 22K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 135K May 10 09:42 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.8K Mar 28 15:47 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 28 15:47 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Mar 28 15:47 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 28 15:47 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Mar 23 02:55 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K Mar 23 02:55 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Mar 22 11:41 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 14K Mar 22 11:40 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Mar 22 09:10 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Mar 22 09:10 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_pt
-rw-r--r-- 1 mcc users 10 May 5 16:51 instance
-rw-r--r-- 1 mcc users 5 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 45K 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 BridgeAndVehicles-COL-V80P20N20-CTLFireability-00
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-01
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-02
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-03
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-04
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-05
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-06
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-07
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-08
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-09
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-10
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-11
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-12
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-13
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-14
FORMULA_NAME BridgeAndVehicles-COL-V80P20N20-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1620754858019

Running Version 0
[2021-05-11 17:40:59] [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-05-11 17:40:59] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-11 17:40:59] [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-05-11 17:40:59] [WARNING] Using fallBack plugin, rng conformance not checked
[2021-05-11 17:41:00] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 557 ms
[2021-05-11 17:41:00] [INFO ] Imported 15 HL places and 11 HL transitions for a total of 198 PT places and 551698.0 transition bindings in 18 ms.
Parsed 16 properties from file /home/mcc/execution/CTLFireability.xml in 18 ms.
[2021-05-11 17:41:00] [INFO ] Built PT skeleton of HLPN with 15 places and 11 transitions in 4 ms.
[2021-05-11 17:41:00] [INFO ] Skeletonized HLPN properties in 1 ms.
Successfully produced net in file /tmp/petri1000_15376102564644075950.dot
Reduce places removed 3 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce redundant transitions removed 1 transitions.
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
[2021-05-11 17:41:00] [INFO ] Flatten gal took : 15 ms
[2021-05-11 17:41:00] [INFO ] Flatten gal took : 2 ms
[2021-05-11 17:41:00] [INFO ] Unfolded HLPN to a Petri net with 198 places and 3728 transitions in 68 ms.
[2021-05-11 17:41:00] [INFO ] Unfolded HLPN properties in 42 ms.
Successfully produced net in file /tmp/petri1001_14688615573538849205.dot
Support contains 196 out of 198 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 198/198 places, 3728/3728 transitions.
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 196 transition count 3728
Applied a total of 2 rules in 57 ms. Remains 196 /198 variables (removed 2) and now considering 3728/3728 (removed 0) transitions.
[2021-05-11 17:41:21] [INFO ] Flow matrix only has 410 transitions (discarded 3318 similar events)
// Phase 1: matrix 410 rows 196 cols
[2021-05-11 17:41:21] [INFO ] Computed 5 place invariants in 43 ms
[2021-05-11 17:41:22] [INFO ] Dead Transitions using invariants and state equation in 1539 ms returned []
[2021-05-11 17:41:22] [INFO ] Flow matrix only has 410 transitions (discarded 3318 similar events)
// Phase 1: matrix 410 rows 196 cols
[2021-05-11 17:41:22] [INFO ] Computed 5 place invariants in 3 ms
[2021-05-11 17:41:22] [INFO ] Implicit Places using invariants in 38 ms returned []
[2021-05-11 17:41:22] [INFO ] Flow matrix only has 410 transitions (discarded 3318 similar events)
// Phase 1: matrix 410 rows 196 cols
[2021-05-11 17:41:22] [INFO ] Computed 5 place invariants in 6 ms
[2021-05-11 17:41:23] [INFO ] State equation strengthened by 42 read => feed constraints.
[2021-05-11 17:41:23] [INFO ] Implicit Places using invariants and state equation in 167 ms returned []
Implicit Place search using SMT with State Equation took 205 ms to find 0 implicit places.
[2021-05-11 17:41:23] [INFO ] Flow matrix only has 410 transitions (discarded 3318 similar events)
// Phase 1: matrix 410 rows 196 cols
[2021-05-11 17:41:23] [INFO ] Computed 5 place invariants in 3 ms
[2021-05-11 17:41:24] [INFO ] Dead Transitions using invariants and state equation in 1244 ms returned []
Finished structural reductions, in 1 iterations. Remains : 196/198 places, 3728/3728 transitions.
[2021-05-11 17:41:29] [INFO ] Flatten gal took : 2385 ms
[2021-05-11 17:42:01] [INFO ] Flatten gal took : 3388 ms
[2021-05-11 17:42:36] [INFO ] Input system was already deterministic with 3728 transitions.
Incomplete random walk after 100000 steps, including 145 resets, run finished after 5856 ms. (steps per millisecond=17 ) properties (out of 120) seen :119
Running SMT prover for 1 properties.
[2021-05-11 17:42:43] [INFO ] Flow matrix only has 410 transitions (discarded 3318 similar events)
// Phase 1: matrix 410 rows 196 cols
[2021-05-11 17:42:43] [INFO ] Computed 5 place invariants in 6 ms
[2021-05-11 17:42:43] [INFO ] [Real]Absence check using 5 positive place invariants in 79 ms returned sat
[2021-05-11 17:42:43] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 17:42:43] [INFO ] [Real]Absence check using state equation in 378 ms returned sat
[2021-05-11 17:42:44] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 17:42:44] [INFO ] [Nat]Absence check using 5 positive place invariants in 45 ms returned sat
[2021-05-11 17:42:44] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 17:42:44] [INFO ] [Nat]Absence check using state equation in 360 ms returned sat
[2021-05-11 17:42:44] [INFO ] State equation strengthened by 42 read => feed constraints.
[2021-05-11 17:42:44] [INFO ] [Nat]Added 42 Read/Feed constraints in 49 ms returned sat
[2021-05-11 17:42:45] [INFO ] Computed and/alt/rep : 180/358/180 causal constraints (skipped 227 transitions) in 206 ms.
[2021-05-11 17:42:46] [INFO ] Added : 172 causal constraints over 35 iterations in 1411 ms. Result :sat
Applied a total of 0 rules in 141 ms. Remains 196 /196 variables (removed 0) and now considering 3728/3728 (removed 0) transitions.
[2021-05-11 17:43:11] [INFO ] Flatten gal took : 230 ms
[2021-05-11 17:43:12] [INFO ] Flatten gal took : 172 ms
[2021-05-11 17:43:12] [INFO ] Input system was already deterministic with 3728 transitions.
[2021-05-11 17:43:12] [INFO ] Flatten gal took : 160 ms
[2021-05-11 17:43:12] [INFO ] Flatten gal took : 144 ms
[2021-05-11 17:43:13] [INFO ] Time to serialize gal into /tmp/CTLFireability489808148281479707.gal : 48 ms
[2021-05-11 17:43:13] [INFO ] Time to serialize properties into /tmp/CTLFireability2155313456398869954.ctl : 43 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/CTLFireability489808148281479707.gal, -t, CGAL, -ctl, /tmp/CTLFireability2155313456398869954.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/CTLFireability489808148281479707.gal -t CGAL -ctl /tmp/CTLFireability2155313456398869954.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-11 17:43:43] [INFO ] Flatten gal took : 223 ms
[2021-05-11 17:43:43] [INFO ] Applying decomposition
[2021-05-11 17:43:43] [INFO ] Flatten gal took : 209 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/graph8682532944678567570.txt, -o, /tmp/graph8682532944678567570.bin, -w, /tmp/graph8682532944678567570.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/graph8682532944678567570.bin, -l, -1, -v, -w, /tmp/graph8682532944678567570.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-11 17:43:44] [INFO ] Decomposing Gal with order
[2021-05-11 17:43:44] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-11 17:43:47] [INFO ] Removed a total of 7271 redundant transitions.
[2021-05-11 17:43:47] [INFO ] Flatten gal took : 1970 ms
[2021-05-11 17:43:49] [INFO ] Fuse similar labels procedure discarded/fused a total of 873 labels/synchronizations in 55 ms.
[2021-05-11 17:43:49] [INFO ] Time to serialize gal into /tmp/CTLFireability3011371928426406226.gal : 4 ms
[2021-05-11 17:43:49] [INFO ] Time to serialize properties into /tmp/CTLFireability11970376483917230429.ctl : 48 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/CTLFireability3011371928426406226.gal, -t, CGAL, -ctl, /tmp/CTLFireability11970376483917230429.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/CTLFireability3011371928426406226.gal -t CGAL -ctl /tmp/CTLFireability11970376483917230429.ctl
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-11 17:44:24] [INFO ] Flatten gal took : 2841 ms
[2021-05-11 17:44:57] [INFO ] Flatten gal took : 2478 ms
[2021-05-11 17:45:32] [INFO ] Applying decomposition
[2021-05-11 17:45:35] [INFO ] Flatten gal took : 2795 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/graph8682779660463067337.txt, -o, /tmp/graph8682779660463067337.bin, -w, /tmp/graph8682779660463067337.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/graph8682779660463067337.bin, -l, -1, -v, -w, /tmp/graph8682779660463067337.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-11 17:45:42] [INFO ] Decomposing Gal with order
[2021-05-11 17:45:42] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-11 17:47:18] [INFO ] Removed a total of 7271 redundant transitions.
[2021-05-11 17:47:23] [INFO ] Flatten gal took : 6294 ms
[2021-05-11 17:49:10] [INFO ] Fuse similar labels procedure discarded/fused a total of 873 labels/synchronizations in 36 ms.
[2021-05-11 17:49:11] [INFO ] Time to serialize gal into /tmp/CTLFireability1364304599626566939.gal : 2 ms
[2021-05-11 17:49:21] [INFO ] Time to serialize properties into /tmp/CTLFireability16162400022379804467.ctl : 10197 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/CTLFireability1364304599626566939.gal, -t, CGAL, -ctl, /tmp/CTLFireability16162400022379804467.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/CTLFireability1364304599626566939.gal -t CGAL -ctl /tmp/CTLFireability16162400022379804467.ctl
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
Detected timeout of ITS tools.
[2021-05-11 18:10:55] [INFO ] Applying decomposition
[2021-05-11 18:10:58] [INFO ] Flatten gal took : 3200 ms
[2021-05-11 18:11:02] [INFO ] Decomposing Gal with order
[2021-05-11 18:11:02] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-11 18:12:36] [INFO ] Removed a total of 21190 redundant transitions.
[2021-05-11 18:12:40] [INFO ] Flatten gal took : 4470 ms
[2021-05-11 18:12:41] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 44 ms.
[2021-05-11 18:12:42] [INFO ] Time to serialize gal into /tmp/CTLFireability7917889663822029099.gal : 25 ms
[2021-05-11 18:12:52] [INFO ] Time to serialize properties into /tmp/CTLFireability3389171097750932497.ctl : 10179 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/CTLFireability7917889663822029099.gal, -t, CGAL, -ctl, /tmp/CTLFireability3389171097750932497.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/CTLFireability7917889663822029099.gal -t CGAL -ctl /tmp/CTLFireability3389171097750932497.ctl
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
ITS-tools command line returned an error code 137
[2021-05-11 18:25:49] [INFO ] Flatten gal took : 5278 ms
[2021-05-11 18:25:51] [INFO ] Input system was already deterministic with 3728 transitions.
[2021-05-11 18:25:51] [INFO ] Transformed 196 places.
[2021-05-11 18:25:51] [INFO ] Transformed 3728 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar, /home/mcc/execution/gspn], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/RGMEDD2, /home/mcc/execution/gspn, -META, -varord-only], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
[2021-05-11 18:25:52] [INFO ] Time to serialize gal into /tmp/CTLFireability15509762332902974862.gal : 22 ms
[2021-05-11 18:26:04] [INFO ] Time to serialize properties into /tmp/CTLFireability7588147541229823286.ctl : 11935 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/CTLFireability15509762332902974862.gal, -t, CGAL, -ctl, /tmp/CTLFireability7588147541229823286.ctl, --load-order, /home/mcc/execution/model.ord, --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/CTLFireability15509762332902974862.gal -t CGAL -ctl /tmp/CTLFireability7588147541229823286.ctl --load-order /home/mcc/execution/model.ord --gen-order FOLLOW
Successfully loaded order from file /home/mcc/execution/model.ord
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
ITS-tools command line returned an error code 137

BK_STOP 1620758245828

--------------------
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="BridgeAndVehicles-COL-V80P20N20"
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 BridgeAndVehicles-COL-V80P20N20, 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 r026-tajo-162038143400122"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/BridgeAndVehicles-COL-V80P20N20.tgz
mv BridgeAndVehicles-COL-V80P20N20 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 ;