fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r229-tall-167856413100351
Last Updated
May 14, 2023

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
305.176 5978.00 13935.00 451.60 TFFFTFTFFFFFTFTF normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r229-tall-167856413100351.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool itstools
Input is LamportFastMutEx-COL-3, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r229-tall-167856413100351
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 548K
-rw-r--r-- 1 mcc users 8.9K Feb 25 13:47 CTLCardinality.txt
-rw-r--r-- 1 mcc users 98K Feb 25 13:47 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.8K Feb 25 13:45 CTLFireability.txt
-rw-r--r-- 1 mcc users 48K Feb 25 13:45 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.1K Feb 25 16:20 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Feb 25 16:20 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 16:20 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:20 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Feb 25 13:50 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 111K Feb 25 13:50 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 14K Feb 25 13:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 107K Feb 25 13:49 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 16:20 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:20 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:22 equiv_pt
-rw-r--r-- 1 mcc users 2 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 39K Mar 5 18:22 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-3-ReachabilityFireability-00
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-01
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-02
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-03
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-04
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-05
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-06
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-07
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-08
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-09
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-10
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-11
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-12
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-13
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-14
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1679473346956

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=LamportFastMutEx-COL-3
Not applying reductions.
Model is COL
ReachabilityFireability COL
Running Version 202303021504
[2023-03-22 08:22:28] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2023-03-22 08:22:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-22 08:22:28] [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.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2023-03-22 08:22:29] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-22 08:22:29] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 827 ms
[2023-03-22 08:22:29] [INFO ] Imported 18 HL places and 17 HL transitions for a total of 100 PT places and 192.0 transition bindings in 15 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 19 ms.
Working with output stream class java.io.PrintStream
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-22 08:22:29] [INFO ] Built PT skeleton of HLPN with 18 places and 17 transitions 68 arcs in 4 ms.
[2023-03-22 08:22:29] [INFO ] Skeletonized 11 HLPN properties in 0 ms.
Remains 2 properties that can be checked using skeleton over-approximation.
Reduce places removed 3 places and 0 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Finished random walk after 40 steps, including 0 resets, run visited all 2 properties in 10 ms. (steps per millisecond=4 )
[2023-03-22 08:22:29] [INFO ] Flatten gal took : 15 ms
[2023-03-22 08:22:29] [INFO ] Flatten gal took : 2 ms
Domain [pid(4), pid(4)] of place P_wait breaks symmetries in sort pid
Symmetric sort wr.t. initial and guards and successors and join/free detected :P_bool
Arc [3:1*[$i, 1]] contains constants of sort P_bool
Transition T_setbi_2 : constants on arcs in [[3:1*[$i, 1]]] introduces in P_bool(2) partition with 1 elements that refines current partition to 2 subsets.
[2023-03-22 08:22:29] [INFO ] Unfolded HLPN to a Petri net with 100 places and 156 transitions 664 arcs in 14 ms.
[2023-03-22 08:22:29] [INFO ] Unfolded 11 HLPN properties in 1 ms.
Deduced a syphon composed of 29 places in 1 ms
Reduce places removed 29 places and 42 transitions.
[2023-03-22 08:22:29] [INFO ] Flatten gal took : 58 ms
[2023-03-22 08:22:29] [INFO ] Flatten gal took : 19 ms
[2023-03-22 08:22:29] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality15911651275491876887.gal : 8 ms
[2023-03-22 08:22:29] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality3366673652604581945.prop : 12 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality15911651275491876887.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality3366673652604581945.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Loading property file /tmp/ReachabilityCardinality3366673652604581945.prop.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 417 ms. (steps per millisecond=23 ) properties (out of 11) seen :7
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
SDD proceeding with computation,11 properties remain. new max is 4
SDD size :1 after 2
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-14 is true.
SDD proceeding with computation,10 properties remain. new max is 4
SDD size :2 after 7
SDD proceeding with computation,10 properties remain. new max is 8
SDD size :7 after 9
Invariant property LamportFastMutEx-COL-3-ReachabilityFireability-15 does not hold.
SDD proceeding with computation,9 properties remain. new max is 8
SDD size :9 after 38
SDD proceeding with computation,9 properties remain. new max is 16
SDD size :38 after 60
SDD proceeding with computation,9 properties remain. new max is 32
SDD size :60 after 78
SDD proceeding with computation,9 properties remain. new max is 64
SDD size :78 after 107
SDD proceeding with computation,9 properties remain. new max is 128
SDD size :107 after 200
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-12 is true.
Invariant property LamportFastMutEx-COL-3-ReachabilityFireability-11 does not hold.
Invariant property LamportFastMutEx-COL-3-ReachabilityFireability-03 does not hold.
SDD proceeding with computation,6 properties remain. new max is 128
SDD size :200 after 912
SDD proceeding with computation,6 properties remain. new max is 256
SDD size :912 after 1153
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 230 ms. (steps per millisecond=43 ) properties (out of 4) seen :0
SDD proceeding with computation,6 properties remain. new max is 512
SDD size :1153 after 1759
SDD proceeding with computation,6 properties remain. new max is 1024
SDD size :1759 after 3828
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 341 ms. (steps per millisecond=29 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 146 ms. (steps per millisecond=68 ) properties (out of 4) seen :0
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-04 is true.
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-00 is true.
SDD proceeding with computation,4 properties remain. new max is 1024
SDD size :3828 after 8426
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 239 ms. (steps per millisecond=41 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
[2023-03-22 08:22:31] [INFO ] Flow matrix only has 96 transitions (discarded 18 similar events)
// Phase 1: matrix 96 rows 71 cols
[2023-03-22 08:22:31] [INFO ] Computed 17 place invariants in 5 ms
SDD proceeding with computation,4 properties remain. new max is 2048
SDD size :13380 after 14053
[2023-03-22 08:22:31] [INFO ] [Real]Absence check using 17 positive place invariants in 77 ms returned sat
[2023-03-22 08:22:31] [INFO ] After 431ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:3
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst,19742,1.71633,18680,2,3788,25,65801,10,0,696,52690,0
Total reachable state count : 19742

Verifying 11 reachability properties.
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-00 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-00,1,1.71799,18680,2,72,25,65801,11,0,705,52690,0
Invariant property LamportFastMutEx-COL-3-ReachabilityFireability-03 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-03,526,1.71904,18940,2,778,25,65801,12,0,710,52690,0
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-04 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-04,96,1.72272,18940,2,629,25,65801,13,0,737,52690,0
Invariant property LamportFastMutEx-COL-3-ReachabilityFireability-06 is true.
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-06 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-06,0,1.76043,19204,1,0,25,65801,13,0,826,52690,0
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-08 does not hold.
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : LamportFastMutEx-COL-3-ReachabilityFireability-08

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-08,0,1.78152,19204,1,0,25,65801,13,0,850,52690,0
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-10 does not hold.
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : LamportFastMutEx-COL-3-ReachabilityFireability-10

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-10,0,1.80923,19204,1,0,25,65801,13,0,882,52690,0
Invariant property LamportFastMutEx-COL-3-ReachabilityFireability-11 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-11,526,1.81022,19204,2,778,25,65801,13,0,882,52690,0
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-12 is true.

[2023-03-22 08:22:31] [INFO ] [Nat]Absence check using 17 positive place invariants in 11 ms returned sat
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-12,526,1.81101,19204,2,778,25,65801,13,0,882,52690,0
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-13 does not hold.
FORMULA LamportFastMutEx-COL-3-ReachabilityFireability-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : LamportFastMutEx-COL-3-ReachabilityFireability-13

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-13,0,1.84186,19576,1,0,25,65801,13,0,947,52690,0
Reachability property LamportFastMutEx-COL-3-ReachabilityFireability-14 is true.

[2023-03-22 08:22:31] [INFO ] After 177ms SMT Verify possible using all constraints in natural domain returned unsat :4 sat :0
Fused 4 Parikh solutions to 0 different solutions.
Parikh walk visited 0 properties in 0 ms.
ITS runner failed with exception null
java.lang.InterruptedException
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Thread.join(Thread.java:1304)
at java.base/java.lang.Thread.join(Thread.java:1372)
at fr.lip6.move.gal.application.runner.AbstractRunner.join(AbstractRunner.java:27)
at fr.lip6.move.gal.application.runner.its.ITSRunner.join(ITSRunner.java:177)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:675)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.lambda$2(ReachabilitySolver.java:63)
at java.base/java.lang.Thread.run(Thread.java:833)
All properties solved without resorting to model-checking.
Total runtime 3397 ms.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-14,26,1.84623,19576,2,188,25,65801,14,0,978,52690,0
Invariant property LamportFastMutEx-COL-3-ReachabilityFireability-15 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LamportFastMutEx-COL-3-ReachabilityFireability-15,366,1.87086,19576,2,1303,25,65801,15,0,1026,52690,0

BK_STOP 1679473352934

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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-3"
export BK_EXAMINATION="ReachabilityFireability"
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-5348"
echo " Executing tool itstools"
echo " Input is LamportFastMutEx-COL-3, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r229-tall-167856413100351"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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