fond
Model Checking Contest @ Petri Nets 2017
7th edition, Zaragoza, Spain, June 27, 2017
Execution of r020-ebro-149436312300356
Last Updated
June 27, 2017

About the Execution of ITS-Tools for Diffusion2D-PT-D05N010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
390.280 14282.00 32048.00 201.10 FFTFFFFFFFFFFFTF 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)
................
=====================================================================
Generated by BenchKit 2-3253
Executing tool itstools
Input is Diffusion2D-PT-D05N010, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r020-ebro-149436312300356
=====================================================================


--------------------
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 Diffusion2D-PT-D05N010-LTLCardinality-0
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-1
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-10
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-11
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-12
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-13
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-14
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-15
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-2
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-3
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-4
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-5
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-6
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-7
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-8
FORMULA_NAME Diffusion2D-PT-D05N010-LTLCardinality-9

=== Now, execution of the tool begins

BK_START 1496336335174


Using solver YICES2 to compute partial order matrices.
Built C files in :
/home/mcc/execution
its-ltl command run as :

/home/mcc/BenchKit/eclipse/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201705302212/bin/its-ltl-linux64 --gc-threshold 2000000 -i /home/mcc/execution/LTLCardinality.pnml.gal -t CGAL -LTL /home/mcc/execution/LTLCardinality.ltl -c -stutter-deadlock
Read 16 LTL properties
Checking formula 0 : !((X(G("cAMP__4_1_>=2"))))
Formula 0 simplified : !XG"cAMP__4_1_>=2"
4 unique states visited
4 strongly connected components in search stack
4 transitions explored
4 items max in DFS search stack
29 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,0.33125,26000,1,0,7,16277,23,0,1156,12571,23
an accepting run exists (use option '-e' to print it)
Formula 0 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-0 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 1 : !((F((F("cAMP__4_1_>=1"))U("cAMP__4_2_>=3"))))
Formula 1 simplified : !F(F"cAMP__4_1_>=1" U "cAMP__4_2_>=3")
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 144 rows 25 cols
invariant : 1'cAMP__1_1_ + 1'cAMP__1_2_ + 1'cAMP__1_3_ + 1'cAMP__1_4_ + 1'cAMP__1_5_ + 1'cAMP__2_1_ + 1'cAMP__2_2_ + 1'cAMP__2_3_ + 1'cAMP__2_4_ + 1'cAMP__2_5_ + 1'cAMP__3_1_ + 1'cAMP__3_2_ + 1'cAMP__3_3_ + 1'cAMP__3_4_ + 1'cAMP__3_5_ + 1'cAMP__4_1_ + 1'cAMP__4_2_ + 1'cAMP__4_3_ + 1'cAMP__4_4_ + 1'cAMP__4_5_ + 1'cAMP__5_1_ + 1'cAMP__5_2_ + 1'cAMP__5_3_ + 1'cAMP__5_4_ + 1'cAMP__5_5_= 10
2 unique states visited
2 strongly connected components in search stack
2 transitions explored
2 items max in DFS search stack
77 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,1.10128,34668,1,0,44,60140,32,20,1158,73634,130
an accepting run exists (use option '-e' to print it)
Formula 1 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-1 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 2 : !((F((G("cAMP__4_1_>=3"))U(G("cAMP__2_2_<=cAMP__3_1_")))))
Formula 2 simplified : !F(G"cAMP__4_1_>=3" U G"cAMP__2_2_<=cAMP__3_1_")
2 unique states visited
2 strongly connected components in search stack
2 transitions explored
2 items max in DFS search stack
178 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,2.88165,54012,1,0,112,153679,45,60,1180,209268,315
an accepting run exists (use option '-e' to print it)
Formula 2 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-2 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 3 : !((F("cAMP__4_4_>=2")))
Formula 3 simplified : !F"cAMP__4_4_>=2"
2 unique states visited
2 strongly connected components in search stack
2 transitions explored
2 items max in DFS search stack
63 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,3.50901,60156,1,0,149,183956,54,78,1182,250244,419
an accepting run exists (use option '-e' to print it)
Formula 3 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-3 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 4 : !(((X(G("cAMP__5_4_<=cAMP__4_2_")))U(G(F("cAMP__5_3_>=3")))))
Formula 4 simplified : !(XG"cAMP__5_4_<=cAMP__4_2_" U GF"cAMP__5_3_>=3")
3 unique states visited
3 strongly connected components in search stack
3 transitions explored
3 items max in DFS search stack
3 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,3.54242,61128,1,0,151,186280,63,78,1184,252682,432
an accepting run exists (use option '-e' to print it)
Formula 4 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-4 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 5 : !(((F(G("cAMP__2_5_<=cAMP__3_2_")))U(F(F("cAMP__5_1_>=2")))))
Formula 5 simplified : !(FG"cAMP__2_5_<=cAMP__3_2_" U F"cAMP__5_1_>=2")
2 unique states visited
2 strongly connected components in search stack
2 transitions explored
2 items max in DFS search stack
74 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,4.27482,68012,1,0,185,217037,72,95,1186,297698,533
an accepting run exists (use option '-e' to print it)
Formula 5 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-5 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 6 : !((G(F(F(G("cAMP__5_5_>=3"))))))
Formula 6 simplified : !GFG"cAMP__5_5_>=3"
2 unique states visited
2 strongly connected components in search stack
2 transitions explored
2 items max in DFS search stack
12 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,4.39884,69928,1,0,290,226791,85,140,1188,310476,769
an accepting run exists (use option '-e' to print it)
Formula 6 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-6 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 7 : !((F(F("cAMP__1_1_>=2"))))
Formula 7 simplified : !F"cAMP__1_1_>=2"
2 unique states visited
2 strongly connected components in search stack
2 transitions explored
2 items max in DFS search stack
53 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,4.93371,76172,1,0,322,255940,94,155,1190,353919,867
an accepting run exists (use option '-e' to print it)
Formula 7 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-7 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 8 : !(("cAMP__4_4_<=cAMP__5_5_"))
Formula 8 simplified : !"cAMP__4_4_<=cAMP__5_5_"
1 unique states visited
0 strongly connected components in search stack
0 transitions explored
1 items max in DFS search stack
0 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,4.9345,76192,1,0,322,255940,97,155,1194,353919,869
no accepting run found
Formula 8 is TRUE no accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-8 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 9 : !((F(X("cAMP__2_1_>=3"))))
Formula 9 simplified : !FX"cAMP__2_1_>=3"
3 unique states visited
3 strongly connected components in search stack
3 transitions explored
3 items max in DFS search stack
57 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,5.50358,81116,1,0,350,278020,106,170,1196,386959,959
an accepting run exists (use option '-e' to print it)
Formula 9 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-9 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 10 : !(("cAMP__3_3_>=3"))
Formula 10 simplified : !"cAMP__3_3_>=3"
1 unique states visited
0 strongly connected components in search stack
0 transitions explored
1 items max in DFS search stack
0 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,5.50435,81124,1,0,350,278020,109,170,1198,386959,961
no accepting run found
Formula 10 is TRUE no accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 11 : !((F(X(G(X("cAMP__1_3_<=cAMP__1_5_"))))))
Formula 11 simplified : !FXGX"cAMP__1_3_<=cAMP__1_5_"
3 unique states visited
2 strongly connected components in search stack
4 transitions explored
3 items max in DFS search stack
18 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,5.68269,83444,1,0,352,288195,114,171,1221,400388,974
an accepting run exists (use option '-e' to print it)
Formula 11 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 12 : !((G("cAMP__1_2_<=cAMP__1_3_")))
Formula 12 simplified : !G"cAMP__1_2_<=cAMP__1_3_"
3 unique states visited
3 strongly connected components in search stack
3 transitions explored
3 items max in DFS search stack
136 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,7.03442,95164,1,0,391,341087,120,189,1244,479838,1084
an accepting run exists (use option '-e' to print it)
Formula 12 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-12 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 13 : !((F("cAMP__1_4_>=2")))
Formula 13 simplified : !F"cAMP__1_4_>=2"
2 unique states visited
2 strongly connected components in search stack
2 transitions explored
2 items max in DFS search stack
25 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,7.29897,98600,1,0,423,359334,129,204,1246,503374,1182
an accepting run exists (use option '-e' to print it)
Formula 13 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 14 : !((G("cAMP__4_1_<=cAMP__2_5_")))
Formula 14 simplified : !G"cAMP__4_1_<=cAMP__2_5_"
3 unique states visited
3 strongly connected components in search stack
3 transitions explored
3 items max in DFS search stack
176 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,9.05513,116820,1,0,461,437468,135,221,1269,631778,1290
an accepting run exists (use option '-e' to print it)
Formula 14 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Checking formula 15 : !((G(G(G(G("cAMP__2_4_>=1"))))))
Formula 15 simplified : !G"cAMP__2_4_>=1"
3 unique states visited
3 strongly connected components in search stack
3 transitions explored
3 items max in DFS search stack
0 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,9.05666,116884,1,0,461,437468,141,221,1270,631778,1295
an accepting run exists (use option '-e' to print it)
Formula 15 is FALSE accepting run found.
FORMULA Diffusion2D-PT-D05N010-LTLCardinality-15 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Exit code :0

BK_STOP 1496336349456

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ LTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution LTLCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -smt
+ ulimit -s 65536
+ java -Dosgi.requiredJavaVersion=1.6 -Xss8m -Xms40m -Xmx8192m -Declipse.pde.launch=true -Dfile.encoding=UTF-8 -classpath /home/mcc/BenchKit//eclipse/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar org.eclipse.equinox.launcher.Main -application fr.lip6.move.gal.application.pnmcc -data /home/mcc/BenchKit//workspace -os linux -ws gtk -arch x86_64 -nl en_US -consoleLog -pnfolder /home/mcc/execution -examination LTLCardinality -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -smt
Jun 01, 2017 4:58:58 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Jun 01, 2017 4:58:58 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 140 ms
Jun 01, 2017 4:58:58 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 25 places.
Jun 01, 2017 4:58:58 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 144 transitions.
Jun 01, 2017 4:58:58 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 138 ms
Jun 01, 2017 4:58:59 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/LTLCardinality.pnml.gal : 43 ms
Jun 01, 2017 4:58:59 PM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSLTLTools
INFO: Time to serialize properties into /home/mcc/execution/LTLCardinality.ltl : 4 ms
Jun 01, 2017 4:58:59 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver computeAndDeclareInvariants
INFO: Computed 1 place invariants in 27 ms
Jun 01, 2017 4:58:59 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver init
INFO: Proved 25 variables to be positive in 107 ms
Jun 01, 2017 4:58:59 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may disable matrix : 144 transitions.
Jun 01, 2017 4:58:59 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Completed :0/144 took 5 ms. Total solver calls (SAT/UNSAT): 6(3/3)
Jun 01, 2017 4:59:00 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete disable matrix. took 970 ms. Total solver calls (SAT/UNSAT): 1824(912/912)
Jun 01, 2017 4:59:00 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may enable matrix : 144 transitions.
Jun 01, 2017 4:59:01 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete enable matrix. took 800 ms. Total solver calls (SAT/UNSAT): 1824(912/912)
Jun 01, 2017 4:59:01 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeCoEnablingMatrix
INFO: Computing symmetric co enabling matrix : 144 transitions.
Jun 01, 2017 4:59:02 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of enabling matrix(13/144) took 1015 ms. Total solver calls (SAT/UNSAT): 1925(1925/0)
Jun 01, 2017 4:59:03 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of enabling matrix(30/144) took 2043 ms. Total solver calls (SAT/UNSAT): 3999(3999/0)
Jun 01, 2017 4:59:04 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of enabling matrix(53/144) took 3058 ms. Total solver calls (SAT/UNSAT): 6345(6345/0)
Jun 01, 2017 4:59:05 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of enabling matrix(88/144) took 4059 ms. Total solver calls (SAT/UNSAT): 8900(8900/0)
Jun 01, 2017 4:59:06 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Finished enabling matrix. took 4763 ms. Total solver calls (SAT/UNSAT): 10440(10440/0)
Jun 01, 2017 4:59:06 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeDoNotAccord
INFO: Computing Do-Not-Accords matrix : 144 transitions.
Jun 01, 2017 4:59:09 PM fr.lip6.move.gal.itstools.Runner runTool
INFO: Standard error output from running tool CommandLine [args=[/home/mcc/BenchKit/eclipse/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201705302212/bin/its-ltl-linux64, --gc-threshold, 2000000, -i, /home/mcc/execution/LTLCardinality.pnml.gal, -t, CGAL, -LTL, /home/mcc/execution/LTLCardinality.ltl, -c, -stutter-deadlock], workingDir=/home/mcc/execution]
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.

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="Diffusion2D-PT-D05N010"
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"

# 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/Diffusion2D-PT-D05N010.tgz
mv Diffusion2D-PT-D05N010 execution

# this is for BenchKit: explicit launching of the test

cd execution
echo "====================================================================="
echo " Generated by BenchKit 2-3253"
echo " Executing tool itstools"
echo " Input is Diffusion2D-PT-D05N010, 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 r020-ebro-149436312300356"
echo "====================================================================="
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
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 ;