fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r096-oct2-158940145400635
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for LamportFastMutEx-COL-8

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15753.860 3600000.00 3443381.00 283872.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/fko/mcc2020-input.r096-oct2-158940145400635.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2020-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
........................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is LamportFastMutEx-COL-8, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r096-oct2-158940145400635
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 220K
-rw-r--r-- 1 mcc users 3.4K Apr 30 13:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 18K Apr 30 13:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 30 13:04 CTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 30 13:04 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Apr 30 13:04 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K Apr 30 13:04 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.2K Apr 30 13:04 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Apr 30 13:04 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Apr 30 13:04 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 30 13:04 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Apr 30 13:04 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Apr 30 13:04 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Apr 30 13:04 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 30 13:04 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Apr 30 13:04 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Apr 30 13:04 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Apr 30 13:04 equiv_pt
-rw-r--r-- 1 mcc users 2 Apr 30 13:04 instance
-rw-r--r-- 1 mcc users 5 Apr 30 13:04 iscolored
-rw-r--r-- 1 mcc users 44K Apr 30 13:04 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 LamportFastMutEx-COL-8-CTLCardinality-00
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-01
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-02
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-03
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-04
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-05
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-06
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-07
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-08
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-09
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-10
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-11
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-12
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-13
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-14
FORMULA_NAME LamportFastMutEx-COL-8-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1589591733496

[2020-05-16 01:15:35] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-16 01:15:35] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-16 01:15:35] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[2020-05-16 01:15:36] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 629 ms
[2020-05-16 01:15:36] [INFO ] sort/places :
pid * pid->wait,done,
pid * bool->b,
pid->P-start_1,x,y,P-setx_3,P-setbi_5,P-ify0_4,P-sety_9,P-ifxi_10,P-setbi_11,P-fordo_12,P-await_13,P-ifyi_15,P-awaity,P-CS_21,P-setbi_24,

[2020-05-16 01:15:36] [INFO ] Imported 18 HL places and 17 HL transitions for a total of 315 PT places and 837.0 transition bindings in 49 ms.
[2020-05-16 01:15:36] [INFO ] Computed order based on color domains.
[2020-05-16 01:15:36] [INFO ] Unfolded HLPN to a Petri net with 315 places and 666 transitions in 27 ms.
[2020-05-16 01:15:36] [INFO ] Unfolded HLPN properties in 0 ms.
Deduced a syphon composed of 49 places in 11 ms
Reduce places removed 49 places and 82 transitions.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 70 ms.
Incomplete random walk after 100000 steps, including 0 resets, run finished after 370 ms. (steps per millisecond=270 ) properties seen :[1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
[2020-05-16 01:15:36] [INFO ] Flow matrix only has 416 transitions (discarded 168 similar events)
// Phase 1: matrix 416 rows 266 cols
[2020-05-16 01:15:36] [INFO ] Computed 82 place invariants in 16 ms
[2020-05-16 01:15:37] [INFO ] [Real]Absence check using 82 positive place invariants in 64 ms returned sat
[2020-05-16 01:15:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-16 01:15:37] [INFO ] [Real]Absence check using state equation in 231 ms returned sat
[2020-05-16 01:15:37] [INFO ] State equation strengthened by 128 read => feed constraints.
[2020-05-16 01:15:37] [INFO ] [Real]Added 128 Read/Feed constraints in 20 ms returned sat
[2020-05-16 01:15:37] [INFO ] Solution in real domain found non-integer solution.
[2020-05-16 01:15:37] [INFO ] [Nat]Absence check using 82 positive place invariants in 44 ms returned sat
[2020-05-16 01:15:37] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-16 01:15:37] [INFO ] [Nat]Absence check using state equation in 275 ms returned sat
[2020-05-16 01:15:37] [INFO ] [Nat]Added 128 Read/Feed constraints in 31 ms returned sat
[2020-05-16 01:15:38] [INFO ] Deduced a trap composed of 28 places in 149 ms
[2020-05-16 01:15:38] [INFO ] Deduced a trap composed of 38 places in 188 ms
[2020-05-16 01:15:38] [INFO ] Deduced a trap composed of 37 places in 105 ms
[2020-05-16 01:15:38] [INFO ] Deduced a trap composed of 35 places in 159 ms
[2020-05-16 01:15:38] [INFO ] Deduced a trap composed of 9 places in 94 ms
[2020-05-16 01:15:38] [INFO ] Deduced a trap composed of 32 places in 133 ms
[2020-05-16 01:15:39] [INFO ] Deduced a trap composed of 28 places in 157 ms
[2020-05-16 01:15:39] [INFO ] Deduced a trap composed of 9 places in 123 ms
[2020-05-16 01:15:39] [INFO ] Deduced a trap composed of 35 places in 274 ms
[2020-05-16 01:15:39] [INFO ] Deduced a trap composed of 35 places in 84 ms
[2020-05-16 01:15:40] [INFO ] Deduced a trap composed of 38 places in 863 ms
[2020-05-16 01:15:42] [INFO ] Deduced a trap composed of 50 places in 1724 ms
[2020-05-16 01:15:42] [INFO ] Deduced a trap composed of 35 places in 84 ms
[2020-05-16 01:15:44] [INFO ] Deduced a trap composed of 37 places in 1653 ms
[2020-05-16 01:15:45] [INFO ] Deduced a trap composed of 36 places in 944 ms
[2020-05-16 01:15:45] [INFO ] Deduced a trap composed of 23 places in 232 ms
[2020-05-16 01:15:45] [INFO ] Deduced a trap composed of 8 places in 206 ms
[2020-05-16 01:15:45] [INFO ] Deduced a trap composed of 16 places in 251 ms
[2020-05-16 01:15:46] [INFO ] Deduced a trap composed of 35 places in 163 ms
[2020-05-16 01:15:46] [INFO ] Deduced a trap composed of 9 places in 71 ms
[2020-05-16 01:15:46] [INFO ] Deduced a trap composed of 30 places in 80 ms
[2020-05-16 01:15:46] [INFO ] Deduced a trap composed of 9 places in 101 ms
[2020-05-16 01:15:46] [INFO ] Deduced a trap composed of 30 places in 105 ms
[2020-05-16 01:15:46] [INFO ] Deduced a trap composed of 37 places in 130 ms
[2020-05-16 01:15:46] [INFO ] Deduced a trap composed of 32 places in 123 ms
[2020-05-16 01:15:46] [INFO ] Deduced a trap composed of 9 places in 128 ms
[2020-05-16 01:15:47] [INFO ] Deduced a trap composed of 17 places in 111 ms
[2020-05-16 01:15:47] [INFO ] Deduced a trap composed of 32 places in 180 ms
[2020-05-16 01:15:47] [INFO ] Deduced a trap composed of 31 places in 156 ms
[2020-05-16 01:15:47] [INFO ] Deduced a trap composed of 28 places in 112 ms
[2020-05-16 01:15:47] [INFO ] Deduced a trap composed of 25 places in 76 ms
[2020-05-16 01:15:47] [INFO ] Deduced a trap composed of 33 places in 115 ms
[2020-05-16 01:15:47] [INFO ] Deduced a trap composed of 31 places in 102 ms
[2020-05-16 01:15:47] [INFO ] Deduced a trap composed of 25 places in 88 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 33 places in 87 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 9 places in 85 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 26 places in 111 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 29 places in 92 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 35 places in 93 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 32 places in 95 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 35 places in 86 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 38 places in 105 ms
[2020-05-16 01:15:48] [INFO ] Deduced a trap composed of 39 places in 81 ms
[2020-05-16 01:15:49] [INFO ] Deduced a trap composed of 34 places in 76 ms
[2020-05-16 01:15:49] [INFO ] Deduced a trap composed of 33 places in 82 ms
[2020-05-16 01:15:49] [INFO ] Trap strengthening (SAT) tested/added 46/45 trap constraints in 11235 ms
[2020-05-16 01:15:49] [INFO ] Computed and/alt/rep : 576/5248/408 causal constraints in 83 ms.
[2020-05-16 01:15:53] [INFO ] Added : 342 causal constraints over 69 iterations in 4512 ms. Result :sat
[2020-05-16 01:15:53] [INFO ] Deduced a trap composed of 9 places in 18 ms
[2020-05-16 01:15:53] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 120 ms
[2020-05-16 01:15:53] [INFO ] [Real]Absence check using 82 positive place invariants in 18 ms returned unsat
[2020-05-16 01:15:53] [INFO ] [Real]Absence check using 82 positive place invariants in 37 ms returned sat
[2020-05-16 01:15:53] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-16 01:15:54] [INFO ] [Real]Absence check using state equation in 373 ms returned sat
[2020-05-16 01:15:54] [INFO ] [Real]Added 128 Read/Feed constraints in 38 ms returned sat
[2020-05-16 01:15:54] [INFO ] Solution in real domain found non-integer solution.
[2020-05-16 01:15:54] [INFO ] [Nat]Absence check using 82 positive place invariants in 85 ms returned sat
[2020-05-16 01:15:54] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-16 01:15:54] [INFO ] [Nat]Absence check using state equation in 372 ms returned sat
[2020-05-16 01:15:54] [INFO ] [Nat]Added 128 Read/Feed constraints in 16 ms returned sat
[2020-05-16 01:15:55] [INFO ] Deduced a trap composed of 10 places in 207 ms
[2020-05-16 01:15:55] [INFO ] Deduced a trap composed of 9 places in 134 ms
[2020-05-16 01:15:55] [INFO ] Deduced a trap composed of 48 places in 113 ms
[2020-05-16 01:15:55] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 519 ms
[2020-05-16 01:15:55] [INFO ] Computed and/alt/rep : 576/5248/408 causal constraints in 37 ms.
[2020-05-16 01:15:58] [INFO ] Added : 249 causal constraints over 51 iterations in 3166 ms. Result :sat
[2020-05-16 01:15:58] [INFO ] Deduced a trap composed of 9 places in 39 ms
[2020-05-16 01:15:58] [INFO ] Deduced a trap composed of 9 places in 16 ms
[2020-05-16 01:15:58] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 179 ms
Successfully simplified 1 atomic propositions for a total of 1 simplifications.
[2020-05-16 01:15:59] [INFO ] Flatten gal took : 88 ms
[2020-05-16 01:15:59] [INFO ] Flatten gal took : 39 ms
[2020-05-16 01:15:59] [INFO ] Applying decomposition
[2020-05-16 01:15:59] [INFO ] Flatten gal took : 37 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/convert-linux64, -i, /tmp/graph17489135662544855787.txt, -o, /tmp/graph17489135662544855787.bin, -w, /tmp/graph17489135662544855787.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/louvain-linux64, /tmp/graph17489135662544855787.bin, -l, -1, -v, -w, /tmp/graph17489135662544855787.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-16 01:15:59] [INFO ] Decomposing Gal with order
[2020-05-16 01:15:59] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-16 01:15:59] [INFO ] Removed a total of 1143 redundant transitions.
[2020-05-16 01:15:59] [INFO ] Flatten gal took : 356 ms
[2020-05-16 01:15:59] [INFO ] Fuse similar labels procedure discarded/fused a total of 401 labels/synchronizations in 40 ms.
[2020-05-16 01:16:00] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 24 ms
[2020-05-16 01:16:00] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 2 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.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.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
Detected timeout of ITS tools.
[2020-05-16 01:36:08] [INFO ] Applying decomposition
[2020-05-16 01:36:09] [INFO ] Flatten gal took : 736 ms
[2020-05-16 01:36:10] [INFO ] Decomposing Gal with order
[2020-05-16 01:36:10] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-16 01:36:10] [INFO ] Removed a total of 947 redundant transitions.
[2020-05-16 01:36:10] [INFO ] Flatten gal took : 332 ms
[2020-05-16 01:36:11] [INFO ] Fuse similar labels procedure discarded/fused a total of 40 labels/synchronizations in 414 ms.
[2020-05-16 01:36:11] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 52 ms
[2020-05-16 01:36:11] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 14 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.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.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
Detected timeout of ITS tools.
[2020-05-16 01:56:20] [INFO ] Flatten gal took : 302 ms
[2020-05-16 01:56:21] [INFO ] Input system was already deterministic with 584 transitions.
[2020-05-16 01:56:21] [INFO ] Transformed 266 places.
[2020-05-16 01:56:21] [INFO ] Transformed 584 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit//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//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
[2020-05-16 01:56:21] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 3 ms
[2020-05-16 01:56:21] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.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.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.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/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution CTLCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination CTLCardinality -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="LamportFastMutEx-COL-8"
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"

# 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 LamportFastMutEx-COL-8, 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 r096-oct2-158940145400635"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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