fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r285-csrt-152749176500628
Last Updated
June 26, 2018

About the Execution of ITS-Tools.L for RefineWMG-PT-002002

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15755.120 10707.00 24448.00 420.60 TFTFFTFFFFTFTTTF normal

Execution Chart

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

Trace from the execution

Waiting for the VM to be ready (probing ssh)
.......................................................................
/home/mcc/execution
total 180K
-rw-r--r-- 1 mcc users 3.4K May 30 22:39 CTLCardinality.txt
-rw-r--r-- 1 mcc users 19K May 30 22:39 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 29 16:47 CTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 29 16:47 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 24 11:17 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.2K May 24 11:17 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 2.4K May 28 10:46 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K May 28 10:46 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.8K May 28 08:55 LTLFireability.txt
-rw-r--r-- 1 mcc users 8.5K May 28 08:55 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 24 11:17 NewModel
-rw-r--r-- 1 mcc users 3.7K May 28 07:29 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K May 28 07:29 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 111 May 26 06:33 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 349 May 26 06:33 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 2.7K May 27 05:04 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K May 27 05:04 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 28 07:35 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 28 07:35 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 24 11:17 equiv_col
-rw-r--r-- 1 mcc users 7 May 24 11:17 instance
-rw-r--r-- 1 mcc users 6 May 24 11:17 iscolored
-rw-r--r-- 1 mcc users 6.9K May 24 11:17 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool itstoolsl
Input is RefineWMG-PT-002002, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r285-csrt-152749176500628

=====================================================================

--------------------
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 RefineWMG-PT-002-002-ReachabilityCardinality-00
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-01
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-02
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-03
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-04
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-05
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-06
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-07
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-08
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-09
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-10
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-11
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-12
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-13
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-14
FORMULA_NAME RefineWMG-PT-002-002-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1528036662349

FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-03 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.201805241334/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.201805241334/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 : RefineWMG-PT-002-002-ReachabilityCardinality-00 with value :((p9<=p1)&&((!(pprime>=1))&&((p10>=2)||(p<=p8))))
Read [reachable] property : RefineWMG-PT-002-002-ReachabilityCardinality-01 with value :((!((p>=2)||(psecond<=p)))&&(((p8<=p3)||(p9<=pprime))&&(p4>=3)))
Read [invariant] property : RefineWMG-PT-002-002-ReachabilityCardinality-02 with value :((((p9>=2)||(p6>=1))||((p>=1)||(p10>=2)))||(!((p7>=3)&&(p1>=3))))
Read [reachable] property : RefineWMG-PT-002-002-ReachabilityCardinality-04 with value :((p8>=3)&&(((p2>=1)||(p5>=1))||(psecond<=p5)))
Read [invariant] property : RefineWMG-PT-002-002-ReachabilityCardinality-05 with value :(!((p3>=3)&&((p10>=3)||(p5<=p4))))
Read [reachable] property : RefineWMG-PT-002-002-ReachabilityCardinality-06 with value :(!(((pprime>=1)&&(p9>=2))||(!(p10>=3))))
Read [invariant] property : RefineWMG-PT-002-002-ReachabilityCardinality-07 with value :(((p1<=p)||((p3<=p8)||(psecond>=1)))||((pprime>=3)&&((p7<=p5)||(p5>=3))))
Read [reachable] property : RefineWMG-PT-002-002-ReachabilityCardinality-09 with value :(((!(p9>=3))&&(!(p3<=p8)))&&(((p9>=3)&&(p3<=pprime))&&(!(pprime>=1))))
Read [reachable] property : RefineWMG-PT-002-002-ReachabilityCardinality-11 with value :(!((p3>=2)||(!(p5>=3))))
Read [invariant] property : RefineWMG-PT-002-002-ReachabilityCardinality-12 with value :(!(p3>=3))
Read [invariant] property : RefineWMG-PT-002-002-ReachabilityCardinality-13 with value :(!(p3>=3))
Read [reachable] property : RefineWMG-PT-002-002-ReachabilityCardinality-15 with value :(!((!(p7>=3))||(!(p<=p7))))
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG\_PT\_002\_002\_flat\_flat,58320,0.050924,3960,2,105,5,1823,6,0,70,1800,0
Total reachable state count : 58320

Verifying 12 reachability properties.
Reachability property RefineWMG-PT-002-002-ReachabilityCardinality-00 is true.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-00,162,0.05137,3992,2,26,6,1823,7,0,91,1800,0
Reachability property RefineWMG-PT-002-002-ReachabilityCardinality-01 does not hold.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-01 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN
No reachable states exhibit your property : RefineWMG-PT-002-002-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
RefineWMG-PT-002-002-ReachabilityCardinality-01,0,0.05191,4076,1,0,6,1823,8,0,113,1800,0
Invariant property RefineWMG-PT-002-002-ReachabilityCardinality-02 is true.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-02,0,0.05235,4280,1,0,6,1823,9,0,120,1800,0
Reachability property RefineWMG-PT-002-002-ReachabilityCardinality-04 does not hold.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN
No reachable states exhibit your property : RefineWMG-PT-002-002-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
RefineWMG-PT-002-002-ReachabilityCardinality-04,0,0.052629,4344,1,0,6,1823,10,0,125,1800,0
Invariant property RefineWMG-PT-002-002-ReachabilityCardinality-05 is true.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-05 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-05,0,0.053074,4344,1,0,6,1823,11,0,133,1800,0
Reachability property RefineWMG-PT-002-002-ReachabilityCardinality-06 does not hold.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-06 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN
No reachable states exhibit your property : RefineWMG-PT-002-002-ReachabilityCardinality-06

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-06,0,0.053396,4344,1,0,6,1823,12,0,135,1800,0
Invariant property RefineWMG-PT-002-002-ReachabilityCardinality-07 does not hold.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-07,42,0.053853,4344,2,24,7,1823,13,0,152,1800,0
Reachability property RefineWMG-PT-002-002-ReachabilityCardinality-09 does not hold.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-09 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN
No reachable states exhibit your property : RefineWMG-PT-002-002-ReachabilityCardinality-09

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-09,0,0.054278,4344,1,0,7,1823,14,0,157,1800,0
Reachability property RefineWMG-PT-002-002-ReachabilityCardinality-11 does not hold.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN
No reachable states exhibit your property : RefineWMG-PT-002-002-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
RefineWMG-PT-002-002-ReachabilityCardinality-11,0,0.054547,4344,1,0,7,1823,15,0,160,1800,0
Invariant property RefineWMG-PT-002-002-ReachabilityCardinality-12 is true.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-12,0,0.054681,4344,1,0,7,1823,16,0,160,1800,0
Invariant property RefineWMG-PT-002-002-ReachabilityCardinality-13 is true.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-13 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-13,0,0.054791,4344,1,0,7,1823,16,0,160,1800,0
Reachability property RefineWMG-PT-002-002-ReachabilityCardinality-15 does not hold.
FORMULA RefineWMG-PT-002-002-ReachabilityCardinality-15 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN
No reachable states exhibit your property : RefineWMG-PT-002-002-ReachabilityCardinality-15

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
RefineWMG-PT-002-002-ReachabilityCardinality-15,0,0.055039,4344,1,0,7,1823,17,0,167,1800,0
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O3, model.c], workingDir=/home/mcc/execution]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1528036673056

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -louvain -smt
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -consoleLog -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/ -louvain -smt -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
Jun 03, 2018 2:37:47 PM 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/, -louvain, -smt]
Jun 03, 2018 2:37:47 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Jun 03, 2018 2:37:48 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 232 ms
Jun 03, 2018 2:37:48 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 14 places.
Jun 03, 2018 2:37:49 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 11 transitions.
Jun 03, 2018 2:37:49 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 28 ms
Jun 03, 2018 2:37:49 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 106 ms
Jun 03, 2018 2:37:49 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 4 ms
Jun 03, 2018 2:37:49 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/ReachabilityCardinality.pnml.gal : 7 ms
Jun 03, 2018 2:37:49 PM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /home/mcc/execution/ReachabilityCardinality.prop : 2 ms
Jun 03, 2018 2:37:50 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 38 ms
Jun 03, 2018 2:37:50 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 11 transitions.
Jun 03, 2018 2:37:50 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 11 transitions.
Jun 03, 2018 2:37:51 PM org.smtlib.impl.Script execute
WARNING: Script execution failed on command (define-fun _enabled__0 ((step Int)) Bool (_enabledsrc__0 (select s step))) with error (error "Error writing to Z3 solver: java.io.IOException: Broken pipe")
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.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)
Jun 03, 2018 2:37:51 PM org.smtlib.impl.Script execute
WARNING: Script execution failed on command (define-fun _enabledsrc__1 ((src (Array Int Int))) Bool (>= (select src 3) 3)) 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")
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)
Jun 03, 2018 2:37:51 PM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 642ms 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="RefineWMG-PT-002002"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="itstoolsl"
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

tar xzf /home/mcc/BenchKit/INPUTS/RefineWMG-PT-002002.tgz
mv RefineWMG-PT-002002 execution
cd execution
pwd
ls -lh

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-3637"
echo " Executing tool itstoolsl"
echo " Input is RefineWMG-PT-002002, 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 r285-csrt-152749176500628"
echo "====================================================================="
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 ;