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

About the Execution of ITS-Tools for SemanticWebServices-PT-S256P18

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16244.508 3600000.00 3515650.00 61655.00 [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.r311-tall-162132107800113.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 SemanticWebServices-PT-S256P18, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r311-tall-162132107800113
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 9.6M
-rw-r--r-- 1 mcc users 16K May 15 08:57 CTLCardinality.txt
-rw-r--r-- 1 mcc users 148K May 15 08:57 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.9K May 15 08:57 CTLFireability.txt
-rw-r--r-- 1 mcc users 71K May 15 08:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.3K May 12 08:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 12 08:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 12 08:02 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 12 08:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 08:13 NewModel
-rw-r--r-- 1 mcc users 2.9K May 11 20:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 14K May 11 20:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.8K May 11 17:19 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K May 11 17:19 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.5K May 12 04:43 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 12 04:43 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 08:13 equiv_col
-rw-r--r-- 1 mcc users 8 May 12 08:13 instance
-rw-r--r-- 1 mcc users 6 May 12 08:13 iscolored
-rw-r--r-- 1 mcc users 9.2M May 12 08:13 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 SemanticWebServices-PT-S256P18-CTLCardinality-00
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-01
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-02
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-03
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-04
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-05
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-06
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-07
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-08
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-09
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-10
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-11
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-12
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-13
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-14
FORMULA_NAME SemanticWebServices-PT-S256P18-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1621433486229

Running Version 0
[2021-05-19 14:11:27] [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-19 14:11:27] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-19 14:11:28] [INFO ] Load time of PNML (sax parser for PT used): 594 ms
[2021-05-19 14:11:28] [INFO ] Transformed 198 places.
[2021-05-19 14:11:28] [INFO ] Transformed 9732 transitions.
[2021-05-19 14:11:28] [INFO ] Parsed PT model containing 198 places and 9732 transitions in 700 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 18 ms.
Deduced a syphon composed of 2 places in 18 ms
Reduce places removed 2 places and 2 transitions.
Ensure Unique test removed 4246 transitions
Reduce redundant transitions removed 4246 transitions.
Support contains 195 out of 196 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 196/196 places, 5484/5484 transitions.
Drop transitions removed 2472 transitions
Redundant transition composition rules discarded 2472 transitions
Iterating global reduction 0 with 2472 rules applied. Total rules applied 2472 place count 196 transition count 3012
Applied a total of 2472 rules in 113 ms. Remains 196 /196 variables (removed 0) and now considering 3012/5484 (removed 2472) transitions.
[2021-05-19 14:11:28] [INFO ] Flow matrix only has 995 transitions (discarded 2017 similar events)
// Phase 1: matrix 995 rows 196 cols
[2021-05-19 14:11:28] [INFO ] Computed 51 place invariants in 38 ms
[2021-05-19 14:11:29] [INFO ] Dead Transitions using invariants and state equation in 1039 ms returned []
[2021-05-19 14:11:29] [INFO ] Flow matrix only has 995 transitions (discarded 2017 similar events)
// Phase 1: matrix 995 rows 196 cols
[2021-05-19 14:11:29] [INFO ] Computed 51 place invariants in 11 ms
[2021-05-19 14:11:30] [INFO ] Implicit Places using invariants in 71 ms returned []
[2021-05-19 14:11:30] [INFO ] Flow matrix only has 995 transitions (discarded 2017 similar events)
// Phase 1: matrix 995 rows 196 cols
[2021-05-19 14:11:30] [INFO ] Computed 51 place invariants in 10 ms
[2021-05-19 14:11:30] [INFO ] State equation strengthened by 305 read => feed constraints.
[2021-05-19 14:11:30] [INFO ] Implicit Places using invariants and state equation in 730 ms returned []
Implicit Place search using SMT with State Equation took 804 ms to find 0 implicit places.
[2021-05-19 14:11:30] [INFO ] Flow matrix only has 995 transitions (discarded 2017 similar events)
// Phase 1: matrix 995 rows 196 cols
[2021-05-19 14:11:30] [INFO ] Computed 51 place invariants in 7 ms
[2021-05-19 14:11:31] [INFO ] Dead Transitions using invariants and state equation in 820 ms returned []
Finished structural reductions, in 1 iterations. Remains : 196/196 places, 3012/5484 transitions.
[2021-05-19 14:11:32] [INFO ] Flatten gal took : 239 ms
[2021-05-19 14:11:32] [INFO ] Flatten gal took : 148 ms
[2021-05-19 14:11:32] [INFO ] Input system was already deterministic with 3012 transitions.
Incomplete random walk after 100022 steps, including 2 resets, run finished after 2257 ms. (steps per millisecond=44 ) properties (out of 103) seen :83
Running SMT prover for 20 properties.
[2021-05-19 14:11:34] [INFO ] Flow matrix only has 995 transitions (discarded 2017 similar events)
// Phase 1: matrix 995 rows 196 cols
[2021-05-19 14:11:34] [INFO ] Computed 51 place invariants in 5 ms
[2021-05-19 14:11:35] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:20
[2021-05-19 14:11:35] [INFO ] [Nat]Absence check using 2 positive place invariants in 1 ms returned sat
[2021-05-19 14:11:35] [INFO ] [Nat]Absence check using 2 positive and 49 generalized place invariants in 6 ms returned sat
[2021-05-19 14:11:35] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-19 14:11:35] [INFO ] [Nat]Absence check using state equation in 540 ms returned unsat :1 sat :19
[2021-05-19 14:11:35] [INFO ] State equation strengthened by 305 read => feed constraints.
[2021-05-19 14:11:36] [INFO ] [Nat]Added 305 Read/Feed constraints in 325 ms returned sat
Attempting to minimize the solution found.
Minimization took 558 ms.
[2021-05-19 14:11:37] [INFO ] SMT Verify possible in nat domain returned unsat :1 sat :19
Successfully simplified 1 atomic propositions for a total of 16 simplifications.
Graph (complete) has 1459 edges and 196 vertex of which 192 are kept as prefixes of interest. Removing 4 places using SCC suffix rule.15 ms
Discarding 4 places :
Also discarding 0 output transitions
Ensure Unique test removed 47 places
Reduce places removed 48 places and 1 transitions.
Ensure Unique test removed 67 transitions
Reduce isomorphic transitions removed 67 transitions.
Iterating post reduction 0 with 67 rules applied. Total rules applied 68 place count 144 transition count 2944
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 1 with 2 Pre rules applied. Total rules applied 68 place count 144 transition count 2942
Deduced a syphon composed of 2 places in 2 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 1 with 4 rules applied. Total rules applied 72 place count 142 transition count 2942
Discarding 11 places :
Symmetric choice reduction at 1 with 11 rule applications. Total rules 83 place count 131 transition count 2910
Iterating global reduction 1 with 11 rules applied. Total rules applied 94 place count 131 transition count 2910
Ensure Unique test removed 653 transitions
Reduce isomorphic transitions removed 653 transitions.
Iterating post reduction 1 with 653 rules applied. Total rules applied 747 place count 131 transition count 2257
Discarding 3 places :
Symmetric choice reduction at 2 with 3 rule applications. Total rules 750 place count 128 transition count 2254
Iterating global reduction 2 with 3 rules applied. Total rules applied 753 place count 128 transition count 2254
Applied a total of 753 rules in 291 ms. Remains 128 /196 variables (removed 68) and now considering 2254/3012 (removed 758) transitions.
[2021-05-19 14:11:37] [INFO ] Flatten gal took : 89 ms
[2021-05-19 14:11:38] [INFO ] Flatten gal took : 72 ms
[2021-05-19 14:11:38] [INFO ] Input system was already deterministic with 2254 transitions.
[2021-05-19 14:11:38] [INFO ] Flatten gal took : 68 ms
[2021-05-19 14:11:38] [INFO ] Flatten gal took : 63 ms
[2021-05-19 14:11:38] [INFO ] Time to serialize gal into /tmp/CTLCardinality8447563329356675599.gal : 32 ms
[2021-05-19 14:11:38] [INFO ] Time to serialize properties into /tmp/CTLCardinality10484000377384777515.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLCardinality8447563329356675599.gal, -t, CGAL, -ctl, /tmp/CTLCardinality10484000377384777515.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/CTLCardinality8447563329356675599.gal -t CGAL -ctl /tmp/CTLCardinality10484000377384777515.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-19 14:12:08] [INFO ] Flatten gal took : 60 ms
[2021-05-19 14:12:08] [INFO ] Applying decomposition
[2021-05-19 14:12:08] [INFO ] Flatten gal took : 59 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/graph12094547421070516486.txt, -o, /tmp/graph12094547421070516486.bin, -w, /tmp/graph12094547421070516486.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/graph12094547421070516486.bin, -l, -1, -v, -w, /tmp/graph12094547421070516486.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-19 14:12:08] [INFO ] Decomposing Gal with order
[2021-05-19 14:12:08] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-19 14:12:09] [INFO ] Removed a total of 3462 redundant transitions.
[2021-05-19 14:12:09] [INFO ] Flatten gal took : 655 ms
[2021-05-19 14:12:09] [INFO ] Fuse similar labels procedure discarded/fused a total of 1117 labels/synchronizations in 105 ms.
[2021-05-19 14:12:09] [INFO ] Time to serialize gal into /tmp/CTLCardinality4660444497492567654.gal : 8 ms
[2021-05-19 14:12:09] [INFO ] Time to serialize properties into /tmp/CTLCardinality9671233701206758135.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLCardinality4660444497492567654.gal, -t, CGAL, -ctl, /tmp/CTLCardinality9671233701206758135.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/CTLCardinality4660444497492567654.gal -t CGAL -ctl /tmp/CTLCardinality9671233701206758135.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-19 14:12:39] [INFO ] Flatten gal took : 100 ms
[2021-05-19 14:12:40] [INFO ] Flatten gal took : 92 ms
[2021-05-19 14:12:40] [INFO ] Applying decomposition
[2021-05-19 14:12:40] [INFO ] Flatten gal took : 85 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/graph9907940930731527749.txt, -o, /tmp/graph9907940930731527749.bin, -w, /tmp/graph9907940930731527749.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/graph9907940930731527749.bin, -l, -1, -v, -w, /tmp/graph9907940930731527749.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-19 14:12:40] [INFO ] Decomposing Gal with order
[2021-05-19 14:12:40] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-19 14:12:41] [INFO ] Removed a total of 13685 redundant transitions.
[2021-05-19 14:12:41] [INFO ] Flatten gal took : 585 ms
[2021-05-19 14:12:41] [INFO ] Fuse similar labels procedure discarded/fused a total of 214 labels/synchronizations in 159 ms.
[2021-05-19 14:12:41] [INFO ] Time to serialize gal into /tmp/CTLCardinality17629783763300629019.gal : 12 ms
[2021-05-19 14:12:41] [INFO ] Time to serialize properties into /tmp/CTLCardinality8484251505143468802.ctl : 3 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/CTLCardinality17629783763300629019.gal, -t, CGAL, -ctl, /tmp/CTLCardinality8484251505143468802.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/CTLCardinality17629783763300629019.gal -t CGAL -ctl /tmp/CTLCardinality8484251505143468802.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
Detected timeout of ITS tools.
[2021-05-19 14:33:09] [INFO ] Flatten gal took : 799 ms
[2021-05-19 14:33:09] [INFO ] Time to serialize gal into /tmp/CTLCardinality309903664943041311.gal : 56 ms
[2021-05-19 14:33:09] [INFO ] Time to serialize properties into /tmp/CTLCardinality1694620274099712579.ctl : 27 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/CTLCardinality309903664943041311.gal, -t, CGAL, -ctl, /tmp/CTLCardinality1694620274099712579.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/CTLCardinality309903664943041311.gal -t CGAL -ctl /tmp/CTLCardinality1694620274099712579.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
Detected timeout of ITS tools.
[2021-05-19 14:53:34] [INFO ] Flatten gal took : 427 ms
[2021-05-19 14:53:34] [INFO ] Input system was already deterministic with 3012 transitions.
[2021-05-19 14:53:35] [INFO ] Transformed 196 places.
[2021-05-19 14:53:35] [INFO ] Transformed 3012 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-19 14:53:35] [INFO ] Time to serialize gal into /tmp/CTLCardinality5631794963144583245.gal : 10 ms
[2021-05-19 14:53:35] [INFO ] Time to serialize properties into /tmp/CTLCardinality1535508988017358539.ctl : 2 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/CTLCardinality5631794963144583245.gal, -t, CGAL, -ctl, /tmp/CTLCardinality1535508988017358539.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/CTLCardinality5631794963144583245.gal -t CGAL -ctl /tmp/CTLCardinality1535508988017358539.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.

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="SemanticWebServices-PT-S256P18"
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 SemanticWebServices-PT-S256P18, 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 r311-tall-162132107800113"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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