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

About the Execution of ITS-Tools for PermAdmissibility-COL-10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16244.783 3600000.00 2694896.00 421513.80 ???????????T???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/mcc2021-input.r140-tall-162089127900481.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/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 PermAdmissibility-COL-10, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r140-tall-162089127900481
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 400K
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 115K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 87K 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.3K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.2K Mar 28 16:24 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 28 16:24 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Mar 28 16:24 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 16:24 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.4K Mar 27 06:59 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 24K Mar 27 06:59 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Mar 25 08:17 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 12K Mar 25 08:17 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 22 09:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 22 09:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_pt
-rw-r--r-- 1 mcc users 3 May 5 16:51 instance
-rw-r--r-- 1 mcc users 5 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 37K 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 PermAdmissibility-COL-10-CTLCardinality-00
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-01
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-02
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-03
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-04
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-05
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-06
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-07
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-08
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-09
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-10
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-11
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-12
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-13
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-14
FORMULA_NAME PermAdmissibility-COL-10-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1620989008337

Running Version 0
[2021-05-14 10:43:40] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -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-14 10:43:40] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-14 10:43:40] [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-14 10:43:40] [WARNING] Using fallBack plugin, rng conformance not checked
[2021-05-14 10:43:40] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 557 ms
[2021-05-14 10:43:40] [INFO ] Imported 40 HL places and 16 HL transitions for a total of 208 PT places and 1024.0 transition bindings in 15 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 22 ms.
[2021-05-14 10:43:40] [INFO ] Built PT skeleton of HLPN with 40 places and 16 transitions in 4 ms.
[2021-05-14 10:43:40] [INFO ] Skeletonized HLPN properties in 2 ms.
Successfully produced net in file /tmp/petri1000_2013488050358942441.dot
Incomplete random walk after 100009 steps, including 564 resets, run finished after 183 ms. (steps per millisecond=546 ) properties (out of 86) seen :64
Running SMT prover for 22 properties.
// Phase 1: matrix 16 rows 40 cols
[2021-05-14 10:43:40] [INFO ] Computed 24 place invariants in 6 ms
[2021-05-14 10:43:41] [INFO ] [Real]Absence check using 0 positive and 24 generalized place invariants in 7 ms returned sat
[2021-05-14 10:43:41] [INFO ] SMT Verify possible in real domain returnedunsat :16 sat :0 real:6
[2021-05-14 10:43:41] [INFO ] [Nat]Absence check using 0 positive and 24 generalized place invariants in 5 ms returned sat
[2021-05-14 10:43:41] [INFO ] SMT Verify possible in nat domain returned unsat :6 sat :16
Successfully simplified 22 atomic propositions for a total of 16 simplifications.
FORMULA PermAdmissibility-COL-10-CTLCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-14 10:43:41] [INFO ] Flatten gal took : 21 ms
[2021-05-14 10:43:41] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA PermAdmissibility-COL-10-CTLCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-14 10:43:41] [INFO ] Flatten gal took : 7 ms
[2021-05-14 10:43:41] [INFO ] Unfolded HLPN to a Petri net with 208 places and 1024 transitions in 11 ms.
[2021-05-14 10:43:41] [INFO ] Unfolded HLPN properties in 1 ms.
Successfully produced net in file /tmp/petri1001_8559069914289944659.dot
Deduced a syphon composed of 40 places in 6 ms
Reduce places removed 40 places and 432 transitions.
Support contains 168 out of 168 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 168/168 places, 592/592 transitions.
Applied a total of 0 rules in 14 ms. Remains 168 /168 variables (removed 0) and now considering 592/592 (removed 0) transitions.
// Phase 1: matrix 592 rows 168 cols
[2021-05-14 10:43:41] [INFO ] Computed 32 place invariants in 25 ms
[2021-05-14 10:43:41] [INFO ] Implicit Places using invariants in 68 ms returned []
// Phase 1: matrix 592 rows 168 cols
[2021-05-14 10:43:41] [INFO ] Computed 32 place invariants in 21 ms
[2021-05-14 10:43:41] [INFO ] Implicit Places using invariants and state equation in 205 ms returned []
Implicit Place search using SMT with State Equation took 274 ms to find 0 implicit places.
// Phase 1: matrix 592 rows 168 cols
[2021-05-14 10:43:41] [INFO ] Computed 32 place invariants in 15 ms
[2021-05-14 10:43:41] [INFO ] Dead Transitions using invariants and state equation in 295 ms returned []
Finished structural reductions, in 1 iterations. Remains : 168/168 places, 592/592 transitions.
[2021-05-14 10:43:42] [INFO ] Flatten gal took : 78 ms
[2021-05-14 10:43:42] [INFO ] Flatten gal took : 69 ms
[2021-05-14 10:43:42] [INFO ] Input system was already deterministic with 592 transitions.
Incomplete random walk after 100003 steps, including 563 resets, run finished after 359 ms. (steps per millisecond=278 ) properties (out of 79) seen :59
Running SMT prover for 20 properties.
// Phase 1: matrix 592 rows 168 cols
[2021-05-14 10:43:42] [INFO ] Computed 32 place invariants in 10 ms
[2021-05-14 10:43:42] [INFO ] [Real]Absence check using 4 positive place invariants in 1 ms returned sat
[2021-05-14 10:43:42] [INFO ] [Real]Absence check using 4 positive and 28 generalized place invariants in 15 ms returned sat
[2021-05-14 10:43:42] [INFO ] SMT Verify possible in real domain returnedunsat :6 sat :0 real:14
[2021-05-14 10:43:42] [INFO ] [Nat]Absence check using 4 positive place invariants in 1 ms returned sat
[2021-05-14 10:43:42] [INFO ] [Nat]Absence check using 4 positive and 28 generalized place invariants in 14 ms returned sat
[2021-05-14 10:43:42] [INFO ] SMT Verify possible in nat domain returned unsat :14 sat :6
Successfully simplified 20 atomic propositions for a total of 14 simplifications.
Graph (complete) has 1615 edges and 168 vertex of which 112 are kept as prefixes of interest. Removing 56 places using SCC suffix rule.9 ms
Discarding 56 places :
Also discarding 0 output transitions
Discarding 14 places :
Symmetric choice reduction at 0 with 14 rule applications. Total rules 15 place count 98 transition count 466
Iterating global reduction 0 with 14 rules applied. Total rules applied 29 place count 98 transition count 466
Applied a total of 29 rules in 34 ms. Remains 98 /168 variables (removed 70) and now considering 466/592 (removed 126) transitions.
[2021-05-14 10:43:43] [INFO ] Flatten gal took : 37 ms
[2021-05-14 10:43:43] [INFO ] Flatten gal took : 32 ms
[2021-05-14 10:43:43] [INFO ] Input system was already deterministic with 466 transitions.
[2021-05-14 10:43:43] [INFO ] Flatten gal took : 31 ms
[2021-05-14 10:43:43] [INFO ] Flatten gal took : 27 ms
[2021-05-14 10:43:43] [INFO ] Time to serialize gal into /tmp/CTLCardinality2433813120589640708.gal : 8 ms
[2021-05-14 10:43:43] [INFO ] Time to serialize properties into /tmp/CTLCardinality1739429229102323098.ctl : 0 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/CTLCardinality2433813120589640708.gal, -t, CGAL, -ctl, /tmp/CTLCardinality1739429229102323098.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/CTLCardinality2433813120589640708.gal -t CGAL -ctl /tmp/CTLCardinality1739429229102323098.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-14 10:44:13] [INFO ] Flatten gal took : 26 ms
[2021-05-14 10:44:13] [INFO ] Applying decomposition
[2021-05-14 10:44:13] [INFO ] Flatten gal took : 31 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/graph4891606147852149181.txt, -o, /tmp/graph4891606147852149181.bin, -w, /tmp/graph4891606147852149181.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/graph4891606147852149181.bin, -l, -1, -v, -w, /tmp/graph4891606147852149181.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-14 10:44:13] [INFO ] Decomposing Gal with order
[2021-05-14 10:44:13] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-14 10:44:13] [INFO ] Removed a total of 584 redundant transitions.
[2021-05-14 10:44:13] [INFO ] Flatten gal took : 278 ms
[2021-05-14 10:44:13] [INFO ] Fuse similar labels procedure discarded/fused a total of 680 labels/synchronizations in 37 ms.
[2021-05-14 10:44:13] [INFO ] Time to serialize gal into /tmp/CTLCardinality2091567461447111661.gal : 6 ms
[2021-05-14 10:44:13] [INFO ] Time to serialize properties into /tmp/CTLCardinality8883808888512063003.ctl : 0 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/CTLCardinality2091567461447111661.gal, -t, CGAL, -ctl, /tmp/CTLCardinality8883808888512063003.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/CTLCardinality2091567461447111661.gal -t CGAL -ctl /tmp/CTLCardinality8883808888512063003.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-14 10:44:44] [INFO ] Flatten gal took : 40 ms
[2021-05-14 10:44:44] [INFO ] Flatten gal took : 41 ms
[2021-05-14 10:44:44] [INFO ] Applying decomposition
[2021-05-14 10:44:44] [INFO ] Flatten gal took : 36 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/graph5731354666765142246.txt, -o, /tmp/graph5731354666765142246.bin, -w, /tmp/graph5731354666765142246.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/graph5731354666765142246.bin, -l, -1, -v, -w, /tmp/graph5731354666765142246.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-14 10:44:44] [INFO ] Decomposing Gal with order
[2021-05-14 10:44:44] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-14 10:44:45] [INFO ] Removed a total of 2262 redundant transitions.
[2021-05-14 10:44:45] [INFO ] Flatten gal took : 119 ms
[2021-05-14 10:44:45] [INFO ] Fuse similar labels procedure discarded/fused a total of 8 labels/synchronizations in 23 ms.
[2021-05-14 10:44:45] [INFO ] Time to serialize gal into /tmp/CTLCardinality3880615764760013387.gal : 4 ms
[2021-05-14 10:44:45] [INFO ] Time to serialize properties into /tmp/CTLCardinality7841896636251041455.ctl : 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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLCardinality3880615764760013387.gal, -t, CGAL, -ctl, /tmp/CTLCardinality7841896636251041455.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/CTLCardinality3880615764760013387.gal -t CGAL -ctl /tmp/CTLCardinality7841896636251041455.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 14 CTL formulae.
Detected timeout of ITS tools.
[2021-05-14 11:05:12] [INFO ] Applying decomposition
[2021-05-14 11:05:13] [INFO ] Flatten gal took : 309 ms
[2021-05-14 11:05:13] [INFO ] Decomposing Gal with order
[2021-05-14 11:05:13] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-14 11:05:13] [INFO ] Removed a total of 1969 redundant transitions.
[2021-05-14 11:05:13] [INFO ] Flatten gal took : 218 ms
[2021-05-14 11:05:13] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 12 ms.
[2021-05-14 11:05:13] [INFO ] Time to serialize gal into /tmp/CTLCardinality1340059107653213898.gal : 11 ms
[2021-05-14 11:05:13] [INFO ] Time to serialize properties into /tmp/CTLCardinality12635210713453372603.ctl : 7 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/CTLCardinality1340059107653213898.gal, -t, CGAL, -ctl, /tmp/CTLCardinality12635210713453372603.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/CTLCardinality1340059107653213898.gal -t CGAL -ctl /tmp/CTLCardinality12635210713453372603.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 14 CTL formulae.
Detected timeout of ITS tools.
[2021-05-14 11:25:44] [INFO ] Flatten gal took : 377 ms
[2021-05-14 11:25:44] [INFO ] Input system was already deterministic with 592 transitions.
[2021-05-14 11:25:44] [INFO ] Transformed 168 places.
[2021-05-14 11:25:44] [INFO ] Transformed 592 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar, /home/mcc/execution/gspn], workingDir=/home/mcc/execution]
P-invariant computation with GreatSPN timed out. Skipping.
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-14 11:26:14] [INFO ] Time to serialize gal into /tmp/CTLCardinality5756359999675518285.gal : 4 ms
[2021-05-14 11:26:14] [INFO ] Time to serialize properties into /tmp/CTLCardinality9500488188447080189.ctl : 11 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/CTLCardinality5756359999675518285.gal, -t, CGAL, -ctl, /tmp/CTLCardinality9500488188447080189.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/CTLCardinality5756359999675518285.gal -t CGAL -ctl /tmp/CTLCardinality9500488188447080189.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 14 CTL formulae.

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
+ [[ CTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution CTLCardinality -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 CTLCardinality -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="PermAdmissibility-COL-10"
export BK_EXAMINATION="CTLCardinality"
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 PermAdmissibility-COL-10, examination is CTLCardinality"
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-162089127900481"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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