fond
Model Checking Contest @ Petri Nets 2016
6th edition, Toruń, Poland, June 21, 2016
Execution of r073kn-smll-146363809200281
Last Updated
June 30, 2016

About the Execution of ITS-Tools for PermAdmissibility-COL-20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
384.820 8672.00 19406.00 289.20 [undef] Cannot compute

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-2979
Executing tool itstools
Input is PermAdmissibility-COL-20, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r073kn-smll-146363809200281
=====================================================================


--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of positive values
NUM_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-0
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-1
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-10
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-11
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-12
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-13
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-14
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-15
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-2
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-3
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-4
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-5
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-6
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-7
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-8
FORMULA_NAME PermAdmissibility-COL-20-UpperBounds-9

=== Now, execution of the tool begins

BK_START 1464007748940

!SESSION 2016-05-23 12:49:09.501 -----------------------------------------------
eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_77
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application fr.lip6.move.gal.application.pnmcc -pnfolder /home/mcc/execution -examination UpperBounds -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its
Command-line arguments: -application fr.lip6.move.gal.application.pnmcc -data /home/mcc/BenchKit//workspace -os linux -ws gtk -arch x86_64 -consoleLog -pnfolder /home/mcc/execution -examination UpperBounds -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its

!ENTRY org.eclipse.osgi 4 0 2016-05-23 12:49:16.738
!MESSAGE Application error
!STACK 1
java.lang.ArrayIndexOutOfBoundsException: -1
at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:348)
at fr.lip6.move.gal.instantiate.CompositeBuilder.galToCompositeWithPartition(CompositeBuilder.java:399)
at fr.lip6.move.gal.instantiate.CompositeBuilder.decomposeWithOrder(CompositeBuilder.java:112)
at fr.lip6.move.gal.application.Application.applyOrder(Application.java:745)
at fr.lip6.move.gal.application.Application.start(Application.java:307)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
An error has occurred. See the log file
/home/mcc/BenchKit/workspace/.metadata/.log.

BK_STOP 1464007757612

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution UpperBounds -its
+ ulimit -s 65536
+ java -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=512m -Xss8m -Xms40m -Xmx8192m -Declipse.pde.launch=true -Dfile.encoding=UTF-8 -classpath /home/mcc/BenchKit//eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.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 UpperBounds -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
May 23, 2016 12:49:12 PM fr.lip6.move.gal.application.Application transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
May 23, 2016 12:49:12 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
May 23, 2016 12:49:14 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Load time of PNML (colored model parsed with PNMLFW) : 1739 ms
May 23, 2016 12:49:14 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: Transformed 40 places.
May 23, 2016 12:49:14 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: read order :VarOrder [vars=[c16[0], c15[0], c14[0], c13[0], aux9[0], aux9[1], aux9[2], aux9[3], aux9[4], aux9[5], aux9[6], aux9[7], aux10[0], aux10[1], aux10[2], aux10[3], aux10[4], aux10[5], aux10[6], aux10[7], aux11[0], aux11[1], aux11[2], aux11[3], aux11[4], aux11[5], aux11[6], aux11[7], aux12[0], aux12[1], aux12[2], aux12[3], aux12[4], aux12[5], aux12[6], aux12[7], in1[0], in1[1], in1[2], in1[3], in1[4], in1[5], in1[6], in1[7], c6[0], c5[0], c8[0], c7[0], in3[0], in3[1], in3[2], in3[3], in3[4], in3[5], in3[6], in3[7], in2[0], in2[1], in2[2], in2[3], in2[4], in2[5], in2[6], in2[7], in4[0], in4[1], in4[2], in4[3], in4[4], in4[5], in4[6], in4[7], aux8[0], aux8[1], aux8[2], aux8[3], aux8[4], aux8[5], aux8[6], aux8[7], aux6[0], aux6[1], aux6[2], aux6[3], aux6[4], aux6[5], aux6[6], aux6[7], aux7[0], aux7[1], aux7[2], aux7[3], aux7[4], aux7[5], aux7[6], aux7[7], c9[0], aux5[0], aux5[1], aux5[2], aux5[3], aux5[4], aux5[5], aux5[6], aux5[7], c12[0], c110[0], c11[0], aux16[0], aux16[1], aux16[2], aux16[3], aux16[4], aux16[5], aux16[6], aux16[7], aux13[0], aux13[1], aux13[2], aux13[3], aux13[4], aux13[5], aux13[6], aux13[7], c17[0], aux15[0], aux15[1], aux15[2], aux15[3], aux15[4], aux15[5], aux15[6], aux15[7], aux14[0], aux14[1], aux14[2], aux14[3], aux14[4], aux14[5], aux14[6], aux14[7], c20[0], c18[0], c19[0], out1[0], out1[1], out1[2], out1[3], out1[4], out1[5], out1[6], out1[7], out5[0], out5[1], out5[2], out5[3], out5[4], out5[5], out5[6], out5[7], out4[0], out4[1], out4[2], out4[3], out4[4], out4[5], out4[6], out4[7], out3[0], out3[1], out3[2], out3[3], out3[4], out3[5], out3[6], out3[7], out2[0], out2[1], out2[2], out2[3], out2[4], out2[5], out2[6], out2[7], out8[0], out8[1], out8[2], out8[3], out8[4], out8[5], out8[6], out8[7], out7[0], out7[1], out7[2], out7[3], out7[4], out7[5], out7[6], out7[7], out6[0], out6[1], out6[2], out6[3], out6[4], out6[5], out6[6], out6[7]]]
May 23, 2016 12:49:14 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: sort/places :input->aux9,aux10,aux11,aux12,in1,in3,in2,in4,aux8,aux6,aux7,aux5,aux16,aux13,aux15,aux14,out1,out5,out4,out3,out2,out8,out7,out6,
Dot->c16,c15,c14,c13,c6,c5,c8,c7,c9,c12,c110,c11,c17,c20,c18,c19,

May 23, 2016 12:49:14 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: Transformed 16 transitions.
May 23, 2016 12:49:14 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Computed order based on color domains : CompositeGalOrder [children=[VarOrder [vars=[aux9[0], aux10[0], aux11[0], aux12[0], in1[0], in3[0], in2[0], in4[0], aux8[0], aux6[0], aux7[0], aux5[0], aux16[0], aux13[0], aux15[0], aux14[0], out1[0], out5[0], out4[0], out3[0], out2[0], out8[0], out7[0], out6[0]]], VarOrder [vars=[aux9[1], aux10[1], aux11[1], aux12[1], in1[1], in3[1], in2[1], in4[1], aux8[1], aux6[1], aux7[1], aux5[1], aux16[1], aux13[1], aux15[1], aux14[1], out1[1], out5[1], out4[1], out3[1], out2[1], out8[1], out7[1], out6[1]]], VarOrder [vars=[aux9[2], aux10[2], aux11[2], aux12[2], in1[2], in3[2], in2[2], in4[2], aux8[2], aux6[2], aux7[2], aux5[2], aux16[2], aux13[2], aux15[2], aux14[2], out1[2], out5[2], out4[2], out3[2], out2[2], out8[2], out7[2], out6[2]]], VarOrder [vars=[aux9[3], aux10[3], aux11[3], aux12[3], in1[3], in3[3], in2[3], in4[3], aux8[3], aux6[3], aux7[3], aux5[3], aux16[3], aux13[3], aux15[3], aux14[3], out1[3], out5[3], out4[3], out3[3], out2[3], out8[3], out7[3], out6[3]]], VarOrder [vars=[aux9[4], aux10[4], aux11[4], aux12[4], in1[4], in3[4], in2[4], in4[4], aux8[4], aux6[4], aux7[4], aux5[4], aux16[4], aux13[4], aux15[4], aux14[4], out1[4], out5[4], out4[4], out3[4], out2[4], out8[4], out7[4], out6[4]]], VarOrder [vars=[aux9[5], aux10[5], aux11[5], aux12[5], in1[5], in3[5], in2[5], in4[5], aux8[5], aux6[5], aux7[5], aux5[5], aux16[5], aux13[5], aux15[5], aux14[5], out1[5], out5[5], out4[5], out3[5], out2[5], out8[5], out7[5], out6[5]]], VarOrder [vars=[aux9[6], aux10[6], aux11[6], aux12[6], in1[6], in3[6], in2[6], in4[6], aux8[6], aux6[6], aux7[6], aux5[6], aux16[6], aux13[6], aux15[6], aux14[6], out1[6], out5[6], out4[6], out3[6], out2[6], out8[6], out7[6], out6[6]]], VarOrder [vars=[aux9[7], aux10[7], aux11[7], aux12[7], in1[7], in3[7], in2[7], in4[7], aux8[7], aux6[7], aux7[7], aux5[7], aux16[7], aux13[7], aux15[7], aux14[7], out1[7], out5[7], out4[7], out3[7], out2[7], out8[7], out7[7], out6[7]]], VarOrder [vars=[c16[0]]], VarOrder [vars=[c15[0]]], VarOrder [vars=[c14[0]]], VarOrder [vars=[c13[0]]], VarOrder [vars=[c6[0]]], VarOrder [vars=[c5[0]]], VarOrder [vars=[c8[0]]], VarOrder [vars=[c7[0]]], VarOrder [vars=[c9[0]]], VarOrder [vars=[c12[0]]], VarOrder [vars=[c110[0]]], VarOrder [vars=[c11[0]]], VarOrder [vars=[c17[0]]], VarOrder [vars=[c20[0]]], VarOrder [vars=[c18[0]]], VarOrder [vars=[c19[0]]]]]
May 23, 2016 12:49:14 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 348 ms
May 23, 2016 12:49:14 PM fr.lip6.move.gal.application.Application applyOrder
INFO: Applying decomposition
May 23, 2016 12:49:14 PM fr.lip6.move.gal.instantiate.CompositeBuilder decomposeWithOrder
INFO: Decomposing Gal with order
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 367 ms
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder decomposeWithOrder
INFO: Partition obtained :[aux9[0], aux10[0], aux11[0], aux12[0], in1[0], in3[0], in2[0], in4[0], aux8[0], aux6[0], aux7[0], aux5[0], aux16[0], aux13[0], aux15[0], aux14[0], out1[0], out5[0], out4[0], out3[0], out2[0], out8[0], out7[0], out6[0], ],[aux9[1], aux10[1], aux11[1], aux12[1], in1[1], in3[1], in2[1], in4[1], aux8[1], aux6[1], aux7[1], aux5[1], aux16[1], aux13[1], aux15[1], aux14[1], out1[1], out5[1], out4[1], out3[1], out2[1], out8[1], out7[1], out6[1], ],[aux9[2], aux10[2], aux11[2], aux12[2], in1[2], in3[2], in2[2], in4[2], aux8[2], aux6[2], aux7[2], aux5[2], aux16[2], aux13[2], aux15[2], aux14[2], out1[2], out5[2], out4[2], out3[2], out2[2], out8[2], out7[2], out6[2], ],[aux9[3], aux10[3], aux11[3], aux12[3], in1[3], in3[3], in2[3], in4[3], aux8[3], aux6[3], aux7[3], aux5[3], aux16[3], aux13[3], aux15[3], aux14[3], out1[3], out5[3], out4[3], out3[3], out2[3], out8[3], out7[3], out6[3], ],[aux9[4], aux10[4], aux11[4], aux12[4], in1[4], in3[4], in2[4], in4[4], aux8[4], aux6[4], aux7[4], aux5[4], aux16[4], aux13[4], aux15[4], aux14[4], out1[4], out5[4], out4[4], out3[4], out2[4], out8[4], out7[4], out6[4], ],[aux9[5], aux10[5], aux11[5], aux12[5], in1[5], in3[5], in2[5], in4[5], aux8[5], aux6[5], aux7[5], aux5[5], aux16[5], aux13[5], aux15[5], aux14[5], out1[5], out5[5], out4[5], out3[5], out2[5], out8[5], out7[5], out6[5], ],[aux9[6], aux10[6], aux11[6], aux12[6], in1[6], in3[6], in2[6], in4[6], aux8[6], aux6[6], aux7[6], aux5[6], aux16[6], aux13[6], aux15[6], aux14[6], out1[6], out5[6], out4[6], out3[6], out2[6], out8[6], out7[6], out6[6], ],[aux9[7], aux10[7], aux11[7], aux12[7], in1[7], in3[7], in2[7], in4[7], aux8[7], aux6[7], aux7[7], aux5[7], aux16[7], aux13[7], aux15[7], aux14[7], out1[7], out5[7], out4[7], out3[7], out2[7], out8[7], out7[7], out6[7], ],[c16[0], ],[c15[0], ],[c14[0], ],[c13[0], ],[c6[0], ],[c5[0], ],[c8[0], ],[c7[0], ],[c9[0], ],[c12[0], ],[c110[0], ],[c11[0], ],[c17[0], ],[c20[0], ],[c18[0], ],[c19[0], ],

May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux9 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux10 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux11 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : aux11
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux12 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : aux12
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array in1 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array in3 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : in3
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array in2 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array in4 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : in4
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux8 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux6 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux7 to variables to allow decomposition.
May 23, 2016 12:49:15 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux5 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux16 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : aux16
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux13 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : aux13
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux15 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array aux14 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array out1 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : out1
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array out5 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array out4 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : out4
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array out3 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array out2 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array out8 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArrayAsVariables
WARNING: could not rewrite array : out8
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array out7 to variables to allow decomposition.
May 23, 2016 12:49:16 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting array out6 to variables to allow decomposition.

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="PermAdmissibility-COL-20"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/root/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/PermAdmissibility-COL-20.tgz
mv PermAdmissibility-COL-20 execution

# this is for BenchKit: explicit launching of the test

cd execution
echo "====================================================================="
echo " Generated by BenchKit 2-2979"
echo " Executing tool itstools"
echo " Input is PermAdmissibility-COL-20, examination is UpperBounds"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r073kn-smll-146363809200281"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "UpperBounds" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "UpperBounds" != "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 "UpperBounds.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property UpperBounds.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "UpperBounds.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 '' UpperBounds.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 ;