fond
Model Checking Contest 2019
9th edition, Prague, Czech Republic, April 7, 2019 (TOOLympics)
Execution of r151-ebro-155286406500269
Last Updated
Apr 15, 2019

About the Execution of ITS-Tools for RwMutex-PT-r0010w0010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
297.670 4607.00 8446.00 129.00 FFTTFTFFFFTFTTFT normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2019-input.r151-ebro-155286406500269.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2019-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
.....................
=====================================================================
Generated by BenchKit 2-3954
Executing tool itstools
Input is RwMutex-PT-r0010w0010, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r151-ebro-155286406500269
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 188K
-rw-r--r-- 1 mcc users 3.4K Feb 12 14:36 CTLCardinality.txt
-rw-r--r-- 1 mcc users 18K Feb 12 14:36 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 8 16:32 CTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 8 16:32 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.1K Mar 10 17:31 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 108 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 346 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.4K Feb 5 01:17 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K Feb 5 01:17 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K Feb 4 22:47 LTLFireability.txt
-rw-r--r-- 1 mcc users 8.5K Feb 4 22:47 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Feb 4 16:41 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 19K Feb 4 16:41 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 1 13:05 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K Feb 1 13:05 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 4 22:30 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 4 22:30 UpperBounds.xml

-rw-r--r-- 1 mcc users 6 Jan 29 09:35 equiv_col
-rw-r--r-- 1 mcc users 11 Jan 29 09:35 instance
-rw-r--r-- 1 mcc users 6 Jan 29 09:35 iscolored
-rw-r--r-- 1 mcc users 24K Mar 10 17:31 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 RwMutex-PT-r0010w0010-ReachabilityCardinality-00
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-01
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-02
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-03
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-04
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-05
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-06
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-07
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-08
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-09
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-10
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-11
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-12
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-13
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-14
FORMULA_NAME RwMutex-PT-r0010w0010-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1553134224293

Working with output stream class java.io.PrintStream
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903111103/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/ReachabilityCardinality.pnml.gal, -t, CGAL, -reachable-file, ReachabilityCardinality.prop, --nowitness], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903111103/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/ReachabilityCardinality.pnml.gal -t CGAL -reachable-file ReachabilityCardinality.prop --nowitness
Loading property file ReachabilityCardinality.prop.
Read [reachable] property : RwMutex-PT-r0010w0010-ReachabilityCardinality-01 with value :(p5>=3)
Read [invariant] property : RwMutex-PT-r0010w0010-ReachabilityCardinality-03 with value :(!(p11>=2))
Read [reachable] property : RwMutex-PT-r0010w0010-ReachabilityCardinality-04 with value :(!((p35<=p14)||((p40<=p11)&&(p46<=p2))))
Read [reachable] property : RwMutex-PT-r0010w0010-ReachabilityCardinality-05 with value :((p20<=p45)||(!((p23>=2)||(p21<=p6))))
Read [invariant] property : RwMutex-PT-r0010w0010-ReachabilityCardinality-07 with value :((p12>=3)||(p12<=p16))
Read [invariant] property : RwMutex-PT-r0010w0010-ReachabilityCardinality-08 with value :((p21>=3)||(((p45<=p22)||(p20>=2))||((p39>=1)&&(p23>=1))))
Read [reachable] property : RwMutex-PT-r0010w0010-ReachabilityCardinality-11 with value :((p39<=p19)&&(((p50>=2)&&(p50>=3))&&((p13<=p15)&&(p16<=p11))))
Read [invariant] property : RwMutex-PT-r0010w0010-ReachabilityCardinality-13 with value :(!((!(p41>=3))&&((p45>=1)&&(p30>=1))))
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RwMutex\_PT\_r0010w0010\_flat\_flat,1034,0.224701,8464,2,7218,5,13579,6,0,243,7331,0
Total reachable state count : 1034

Verifying 8 reachability properties.
Reachability property RwMutex-PT-r0010w0010-ReachabilityCardinality-01 does not hold.
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-01 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : RwMutex-PT-r0010w0010-ReachabilityCardinality-01

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RwMutex-PT-r0010w0010-ReachabilityCardinality-01,0,0.23218,8496,1,0,5,13579,7,0,245,7331,0
Invariant property RwMutex-PT-r0010w0010-ReachabilityCardinality-03 is true.
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-03 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
RwMutex-PT-r0010w0010-ReachabilityCardinality-03,0,0.236019,8712,1,0,5,13579,8,0,246,7331,0
Reachability property RwMutex-PT-r0010w0010-ReachabilityCardinality-04 does not hold.
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : RwMutex-PT-r0010w0010-ReachabilityCardinality-04

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RwMutex-PT-r0010w0010-ReachabilityCardinality-04,0,0.23679,8840,1,0,5,13579,9,0,255,7331,0
Reachability property RwMutex-PT-r0010w0010-ReachabilityCardinality-05 is true.
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-05 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
RwMutex-PT-r0010w0010-ReachabilityCardinality-05,1,0.237352,8840,2,51,6,13579,10,0,263,7331,0
Invariant property RwMutex-PT-r0010w0010-ReachabilityCardinality-07 does not hold.
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-07 FALSE 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
RwMutex-PT-r0010w0010-ReachabilityCardinality-07,1,0.237778,8840,2,51,7,13579,11,0,271,7331,0
Invariant property RwMutex-PT-r0010w0010-ReachabilityCardinality-08 does not hold.
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-08 FALSE 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
RwMutex-PT-r0010w0010-ReachabilityCardinality-08,1,0.241234,8840,2,51,8,13579,12,0,286,7331,0
Reachability property RwMutex-PT-r0010w0010-ReachabilityCardinality-11 does not hold.
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : RwMutex-PT-r0010w0010-ReachabilityCardinality-11

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RwMutex-PT-r0010w0010-ReachabilityCardinality-11,0,0.245079,8840,1,0,8,13579,13,0,301,7331,0
Invariant property RwMutex-PT-r0010w0010-ReachabilityCardinality-13 is true.
FORMULA RwMutex-PT-r0010w0010-ReachabilityCardinality-13 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
RwMutex-PT-r0010w0010-ReachabilityCardinality-13,0,0.249073,8840,1,0,8,13579,14,0,308,7331,0
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/home/mcc/execution]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1553134228900

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -smt
+ 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 ReachabilityCardinality -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -smt -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
Mar 21, 2019 2:10:27 AM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -smt]
Mar 21, 2019 2:10:27 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 21, 2019 2:10:27 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 71 ms
Mar 21, 2019 2:10:27 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 50 places.
Mar 21, 2019 2:10:27 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 40 transitions.
Mar 21, 2019 2:10:27 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 21 ms
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property RwMutex-PT-r0010w0010-ReachabilityCardinality-00 is trivially false : it is not verified in initial state.
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property RwMutex-PT-r0010w0010-ReachabilityCardinality-02 is trivially true : it is verified in initial state.
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property RwMutex-PT-r0010w0010-ReachabilityCardinality-06 is trivially false : it is not verified in initial state.
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property RwMutex-PT-r0010w0010-ReachabilityCardinality-09 is trivially false : it is not verified in initial state.
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property RwMutex-PT-r0010w0010-ReachabilityCardinality-12 is trivially true : it is verified in initial state.
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property RwMutex-PT-r0010w0010-ReachabilityCardinality-14 is trivially false : it is not verified in initial state.
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property RwMutex-PT-r0010w0010-ReachabilityCardinality-15 is trivially true : it is verified in initial state.
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 118 ms
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 40 ms
Mar 21, 2019 2:10:28 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/ReachabilityCardinality.pnml.gal : 6 ms
Mar 21, 2019 2:10:28 AM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /home/mcc/execution/ReachabilityCardinality.prop : 0 ms
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 39 ms
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 40 transitions.
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 40 transitions.
Mar 21, 2019 2:10:28 AM org.smtlib.impl.Script execute
WARNING: Script execution failed on command (define-fun tr2 ((step Int)) Bool (trsrc2 (select s step) (select s (+ step 1)))) with error (error "Error writing to Z3 solver: java.io.IOException: Broken pipe")
Skipping mayMatrices nes/nds Error when declaring system variables to SMT solver.(error "Error writing to Z3 solver: java.io.IOException: Broken pipe")
Mar 21, 2019 2:10:28 AM org.smtlib.impl.Script execute
WARNING: Script execution failed on command (define-fun _enabledsrc__6 ((src (Array Int Int))) Bool (and (and (and (and (and (and (and (and (and (and (>= (select src 7) 1) (>= (select src 25) 1)) (>= (select src 26) 1)) (>= (select src 27) 1)) (>= (select src 28) 1)) (>= (select src 29) 1)) (>= (select src 30) 1)) (>= (select src 31) 1)) (>= (select src 32) 1)) (>= (select src 34) 1)) (>= (select src 35) 1))) with error (error "Error writing to Z3 solver: java.io.IOException: Stream closed")
java.lang.RuntimeException: Error when declaring system variables to SMT solver.(error "Error writing to Z3 solver: java.io.IOException: Broken pipe")
at fr.lip6.move.gal.gal2smt.bmc.NextBMCSolver.init(NextBMCSolver.java:93)
at fr.lip6.move.gal.gal2smt.bmc.KInductionSolver.init(KInductionSolver.java:59)
at fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver.init(NecessaryEnablingsolver.java:71)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printLabels(Gal2PinsTransformerNext.java:471)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printDependencyMatrix(Gal2PinsTransformerNext.java:209)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.buildBodyFile(Gal2PinsTransformerNext.java:85)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.transform(Gal2PinsTransformerNext.java:830)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:71)
at java.lang.Thread.run(Thread.java:748)
java.lang.RuntimeException: Error when declaring system variables to SMT solver.(error "Error writing to Z3 solver: java.io.IOException: Stream closed")
at fr.lip6.move.gal.gal2smt.bmc.NextBMCSolver.init(NextBMCSolver.java:93)
at fr.lip6.move.gal.gal2smt.smt.ISMTSolver.init(ISMTSolver.java:17)
at fr.lip6.move.gal.gal2smt.Gal2SMTFrontEnd.checkProperties(Gal2SMTFrontEnd.java:94)
at fr.lip6.move.gal.application.SMTRunner$2.run(SMTRunner.java:110)
at java.lang.Thread.run(Thread.java:748)
Mar 21, 2019 2:10:28 AM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 236ms conformant to PINS in folder :/home/mcc/execution

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="RwMutex-PT-r0010w0010"
export BK_EXAMINATION="ReachabilityCardinality"
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-3954"
echo " Executing tool itstools"
echo " Input is RwMutex-PT-r0010w0010, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r151-ebro-155286406500269"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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