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

About the Execution of ITS-Tools for ShieldPPPt-PT-003B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
345.331 8024.00 16417.00 256.20 ?FT???T??TTFF?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.r216-tall-162098205500732.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 ShieldPPPt-PT-003B, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r216-tall-162098205500732
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 432K
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 109K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 101K May 10 09:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.3K Mar 28 16:39 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 28 16:39 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Mar 28 16:39 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 28 16:39 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K Mar 27 12:30 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 27 12:30 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Mar 25 18:33 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 25 18:33 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 08:16 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 22 08:16 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:52 equiv_col
-rw-r--r-- 1 mcc users 5 May 5 16:52 instance
-rw-r--r-- 1 mcc users 6 May 5 16:52 iscolored
-rw-r--r-- 1 mcc users 56K May 5 16:52 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 ShieldPPPt-PT-003B-00
FORMULA_NAME ShieldPPPt-PT-003B-01
FORMULA_NAME ShieldPPPt-PT-003B-02
FORMULA_NAME ShieldPPPt-PT-003B-03
FORMULA_NAME ShieldPPPt-PT-003B-04
FORMULA_NAME ShieldPPPt-PT-003B-05
FORMULA_NAME ShieldPPPt-PT-003B-06
FORMULA_NAME ShieldPPPt-PT-003B-07
FORMULA_NAME ShieldPPPt-PT-003B-08
FORMULA_NAME ShieldPPPt-PT-003B-09
FORMULA_NAME ShieldPPPt-PT-003B-10
FORMULA_NAME ShieldPPPt-PT-003B-11
FORMULA_NAME ShieldPPPt-PT-003B-12
FORMULA_NAME ShieldPPPt-PT-003B-13
FORMULA_NAME ShieldPPPt-PT-003B-14
FORMULA_NAME ShieldPPPt-PT-003B-15

=== Now, execution of the tool begins

BK_START 1621169365083

Running Version 0
[2021-05-16 12:49:26] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLCardinality, -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-16 12:49:26] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-16 12:49:26] [INFO ] Load time of PNML (sax parser for PT used): 51 ms
[2021-05-16 12:49:26] [INFO ] Transformed 237 places.
[2021-05-16 12:49:26] [INFO ] Transformed 216 transitions.
[2021-05-16 12:49:26] [INFO ] Found NUPN structural information;
[2021-05-16 12:49:26] [INFO ] Parsed PT model containing 237 places and 216 transitions in 92 ms.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 9 ms.
Working with output stream class java.io.PrintStream
[2021-05-16 12:49:26] [INFO ] Initial state test concluded for 2 properties.
FORMULA ShieldPPPt-PT-003B-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPt-PT-003B-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPt-PT-003B-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPt-PT-003B-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPt-PT-003B-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPt-PT-003B-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 29 out of 237 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 237/237 places, 216/216 transitions.
Discarding 30 places :
Symmetric choice reduction at 0 with 30 rule applications. Total rules 30 place count 207 transition count 186
Iterating global reduction 0 with 30 rules applied. Total rules applied 60 place count 207 transition count 186
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 61 place count 206 transition count 185
Iterating global reduction 0 with 1 rules applied. Total rules applied 62 place count 206 transition count 185
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 63 place count 205 transition count 184
Iterating global reduction 0 with 1 rules applied. Total rules applied 64 place count 205 transition count 184
Applied a total of 64 rules in 59 ms. Remains 205 /237 variables (removed 32) and now considering 184/216 (removed 32) transitions.
// Phase 1: matrix 184 rows 205 cols
[2021-05-16 12:49:26] [INFO ] Computed 34 place invariants in 11 ms
[2021-05-16 12:49:27] [INFO ] Implicit Places using invariants in 160 ms returned []
// Phase 1: matrix 184 rows 205 cols
[2021-05-16 12:49:27] [INFO ] Computed 34 place invariants in 3 ms
[2021-05-16 12:49:27] [INFO ] Implicit Places using invariants and state equation in 166 ms returned []
Implicit Place search using SMT with State Equation took 352 ms to find 0 implicit places.
// Phase 1: matrix 184 rows 205 cols
[2021-05-16 12:49:27] [INFO ] Computed 34 place invariants in 2 ms
[2021-05-16 12:49:27] [INFO ] Dead Transitions using invariants and state equation in 125 ms returned []
Finished structural reductions, in 1 iterations. Remains : 205/237 places, 184/216 transitions.
[2021-05-16 12:49:27] [INFO ] Flatten gal took : 40 ms
FORMULA ShieldPPPt-PT-003B-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-16 12:49:27] [INFO ] Flatten gal took : 17 ms
[2021-05-16 12:49:27] [INFO ] Input system was already deterministic with 184 transitions.
Incomplete random walk after 100000 steps, including 2 resets, run finished after 344 ms. (steps per millisecond=290 ) properties (out of 15) seen :14
Running SMT prover for 1 properties.
// Phase 1: matrix 184 rows 205 cols
[2021-05-16 12:49:28] [INFO ] Computed 34 place invariants in 1 ms
[2021-05-16 12:49:28] [INFO ] [Real]Absence check using 34 positive place invariants in 7 ms returned sat
[2021-05-16 12:49:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-16 12:49:28] [INFO ] [Real]Absence check using state equation in 46 ms returned sat
[2021-05-16 12:49:28] [INFO ] Solution in real domain found non-integer solution.
[2021-05-16 12:49:28] [INFO ] [Nat]Absence check using 34 positive place invariants in 7 ms returned unsat
Successfully simplified 1 atomic propositions for a total of 9 simplifications.
[2021-05-16 12:49:28] [INFO ] Initial state test concluded for 1 properties.
FORMULA ShieldPPPt-PT-003B-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Running Spot : CommandLine [args=[/home/mcc/BenchKit/bin//..//ltl2tgba, --hoaf=tv, -f, !((((G(p1)||X(p2))&&p0) U X(X(!p2))))], workingDir=/home/mcc/execution]
Support contains 4 out of 205 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 205/205 places, 184/184 transitions.
Discarding 3 places :
Symmetric choice reduction at 0 with 3 rule applications. Total rules 3 place count 202 transition count 181
Iterating global reduction 0 with 3 rules applied. Total rules applied 6 place count 202 transition count 181
Applied a total of 6 rules in 12 ms. Remains 202 /205 variables (removed 3) and now considering 181/184 (removed 3) transitions.
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:28] [INFO ] Computed 34 place invariants in 2 ms
[2021-05-16 12:49:28] [INFO ] Implicit Places using invariants in 71 ms returned []
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:28] [INFO ] Computed 34 place invariants in 1 ms
[2021-05-16 12:49:28] [INFO ] Implicit Places using invariants and state equation in 129 ms returned []
Implicit Place search using SMT with State Equation took 202 ms to find 0 implicit places.
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:28] [INFO ] Computed 34 place invariants in 3 ms
[2021-05-16 12:49:28] [INFO ] Dead Transitions using invariants and state equation in 98 ms returned []
Finished structural reductions, in 1 iterations. Remains : 202/205 places, 181/184 transitions.
Stuttering acceptance computed with spot in 374 ms :[p2, p2, false, p2, false, p2, true, (AND (NOT p1) p2), p2, p2, (NOT p1)]
Running random walk in product with property : ShieldPPPt-PT-003B-00 automaton TGBA [mat=[[{ cond=(NOT p0), acceptance={} source=0 dest: 1}, { cond=(AND p0 p1), acceptance={} source=0 dest: 2}, { cond=p0, acceptance={} source=0 dest: 3}, { cond=(AND p0 (NOT p1)), acceptance={} source=0 dest: 4}], [{ cond=true, acceptance={} source=1 dest: 5}], [{ cond=(AND (NOT p1) (NOT p2)), acceptance={} source=2 dest: 5}, { cond=(AND p1 (NOT p2)), acceptance={} source=2 dest: 7}], [{ cond=p0, acceptance={} source=3 dest: 8}, { cond=(NOT p0), acceptance={} source=3 dest: 9}], [{ cond=(NOT p2), acceptance={} source=4 dest: 5}], [{ cond=p2, acceptance={} source=5 dest: 6}], [{ cond=true, acceptance={0} source=6 dest: 6}], [{ cond=(AND (NOT p1) p2), acceptance={} source=7 dest: 6}, { cond=(AND p1 p2), acceptance={} source=7 dest: 10}], [{ cond=(AND p0 p2), acceptance={0} source=8 dest: 8}, { cond=(AND (NOT p0) p2), acceptance={0} source=8 dest: 9}], [{ cond=p2, acceptance={} source=9 dest: 5}], [{ cond=(NOT p1), acceptance={} source=10 dest: 6}, { cond=p1, acceptance={} source=10 dest: 10}]], initial=0, aps=[p0:(AND (EQ s63 0) (EQ s197 1)), p1:(OR (EQ s19 0) (EQ s126 1)), p2:(AND (NEQ s197 0) (NEQ s63 1))], nbAcceptance=1, properties=[trans-labels, explicit-labels, trans-acc, no-univ-branch, very-weak, weak, inherently-weak], stateDesc=[null, null, null, null, null, null, null, null, null, null, null][false, false, false, false, false, false, false, false, false, false, false]]
Product exploration explored 100000 steps with 33333 reset in 295 ms.
Product exploration explored 100000 steps with 33333 reset in 189 ms.
Knowledge obtained : [(NOT p0), p1, (NOT p2)]
Adopting property with smaller alphabet thanks to knowledge :(NOT p0)
Stuttering acceptance computed with spot in 70 ms :[(AND (NOT p0) p2), p2, p2, true]
Support contains 2 out of 202 places. Attempting structural reductions.
Property had overlarge support with respect to TGBA, discarding it for now.
Starting structural reductions, iteration 0 : 202/202 places, 181/181 transitions.
Applied a total of 0 rules in 3 ms. Remains 202 /202 variables (removed 0) and now considering 181/181 (removed 0) transitions.
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:29] [INFO ] Computed 34 place invariants in 1 ms
[2021-05-16 12:49:29] [INFO ] Implicit Places using invariants in 66 ms returned []
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:29] [INFO ] Computed 34 place invariants in 1 ms
[2021-05-16 12:49:29] [INFO ] Implicit Places using invariants and state equation in 120 ms returned []
Implicit Place search using SMT with State Equation took 187 ms to find 0 implicit places.
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:29] [INFO ] Computed 34 place invariants in 1 ms
[2021-05-16 12:49:29] [INFO ] Dead Transitions using invariants and state equation in 110 ms returned []
Finished structural reductions, in 1 iterations. Remains : 202/202 places, 181/181 transitions.
Stuttering acceptance computed with spot in 85 ms :[(AND (NOT p0) p2), p2, p2, true]
Product exploration explored 100000 steps with 33333 reset in 140 ms.
Product exploration explored 100000 steps with 33333 reset in 172 ms.
Applying partial POR strategy [false, true, false, true]
Stuttering acceptance computed with spot in 99 ms :[(AND (NOT p0) p2), p2, p2, true]
Support contains 2 out of 202 places. Attempting structural reductions.
Property had overlarge support with respect to TGBA, discarding it for now.
Starting structural reductions, iteration 0 : 202/202 places, 181/181 transitions.
Performed 40 Post agglomeration using F-continuation condition.Transition count delta: 0
Iterating post reduction 0 with 40 rules applied. Total rules applied 40 place count 202 transition count 181
Performed 15 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 1 with 15 Pre rules applied. Total rules applied 40 place count 202 transition count 193
Deduced a syphon composed of 55 places in 0 ms
Iterating global reduction 1 with 15 rules applied. Total rules applied 55 place count 202 transition count 193
Performed 56 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 111 places in 1 ms
Iterating global reduction 1 with 56 rules applied. Total rules applied 111 place count 202 transition count 193
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 112 place count 202 transition count 192
Discarding 22 places :
Symmetric choice reduction at 2 with 22 rule applications. Total rules 134 place count 180 transition count 170
Deduced a syphon composed of 89 places in 1 ms
Iterating global reduction 2 with 22 rules applied. Total rules applied 156 place count 180 transition count 170
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 90 places in 0 ms
Iterating global reduction 2 with 1 rules applied. Total rules applied 157 place count 180 transition count 170
Discarding 2 places :
Symmetric choice reduction at 2 with 2 rule applications. Total rules 159 place count 178 transition count 168
Deduced a syphon composed of 88 places in 0 ms
Iterating global reduction 2 with 2 rules applied. Total rules applied 161 place count 178 transition count 168
Performed 11 Post agglomeration using F-continuation condition.Transition count delta: -46
Deduced a syphon composed of 99 places in 0 ms
Iterating global reduction 2 with 11 rules applied. Total rules applied 172 place count 178 transition count 214
Discarding 11 places :
Symmetric choice reduction at 2 with 11 rule applications. Total rules 183 place count 167 transition count 192
Deduced a syphon composed of 88 places in 0 ms
Iterating global reduction 2 with 11 rules applied. Total rules applied 194 place count 167 transition count 192
Deduced a syphon composed of 88 places in 0 ms
Applied a total of 194 rules in 54 ms. Remains 167 /202 variables (removed 35) and now considering 192/181 (removed -11) transitions.
[2021-05-16 12:49:30] [INFO ] Redundant transitions in 6 ms returned []
// Phase 1: matrix 192 rows 167 cols
[2021-05-16 12:49:30] [INFO ] Computed 34 place invariants in 1 ms
[2021-05-16 12:49:30] [INFO ] Dead Transitions using invariants and state equation in 78 ms returned []
Finished structural reductions, in 1 iterations. Remains : 167/202 places, 192/181 transitions.
Product exploration explored 100000 steps with 33333 reset in 620 ms.
Product exploration explored 100000 steps with 33333 reset in 514 ms.
Starting structural reductions, iteration 0 : 202/202 places, 181/181 transitions.
Applied a total of 0 rules in 3 ms. Remains 202 /202 variables (removed 0) and now considering 181/181 (removed 0) transitions.
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:31] [INFO ] Computed 34 place invariants in 6 ms
[2021-05-16 12:49:31] [INFO ] Implicit Places using invariants in 60 ms returned []
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:31] [INFO ] Computed 34 place invariants in 0 ms
[2021-05-16 12:49:31] [INFO ] Implicit Places using invariants and state equation in 124 ms returned []
Implicit Place search using SMT with State Equation took 186 ms to find 0 implicit places.
// Phase 1: matrix 181 rows 202 cols
[2021-05-16 12:49:32] [INFO ] Computed 34 place invariants in 1 ms
[2021-05-16 12:49:32] [INFO ] Dead Transitions using invariants and state equation in 96 ms returned []
Finished structural reductions, in 1 iterations. Remains : 202/202 places, 181/181 transitions.
Application raised an uncaught exception null
java.lang.UnsupportedOperationException
at fr.lip6.move.gal.application.MccTranslator.toGal(MccTranslator.java:879)
at fr.lip6.move.gal.application.MccTranslator.toGal(MccTranslator.java:789)
at fr.lip6.move.gal.application.MccTranslator.lambda$3(MccTranslator.java:862)
at fr.lip6.move.gal.structural.expr.NaryOp.forEachChild(NaryOp.java:153)
at fr.lip6.move.gal.application.MccTranslator.toGal(MccTranslator.java:862)
at fr.lip6.move.gal.application.MccTranslator.toGal(MccTranslator.java:760)
at fr.lip6.move.gal.application.MccTranslator.rebuildSpecification(MccTranslator.java:729)
at fr.lip6.move.gal.application.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:585)
at fr.lip6.move.gal.application.LTLPropertySolver.runStutteringLTLTest(LTLPropertySolver.java:269)
at fr.lip6.move.gal.application.LTLPropertySolver.runStructuralLTLCheck(LTLPropertySolver.java:60)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:470)
at fr.lip6.move.gal.application.Application.start(Application.java:140)
at fr.lip6.move.gal.itscl.application.Application.start(Application.java:43)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
at org.eclipse.equinox.launcher.Main.main(Main.java:1434)

BK_STOP 1621169373107

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

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

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