fond
Model Checking Contest @ Petri Nets 2015
Bruxelles, Belgium, June 23, 2015
Execution of r215st-ebro-143344922901195
Last Updated
August 19, 2015

About the Execution of ITS-Tools for S_ResAllocation-PT-R100C002

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
444.950 7884.00 20140.00 199.80 FFTFTTTFTTTTTTTF 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-2265
Executing tool itstools
Input is S_ResAllocation-PT-R100C002, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r215st-ebro-143344922901195
=====================================================================


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

=== Now, execution of the tool begins

BK_START 1433641636891

FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-15 FALSE TECHNIQUES TOPOLOGICAL
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-9 FALSE TECHNIQUES TOPOLOGICAL
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-1 FALSE TECHNIQUES TOPOLOGICAL
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-0 FALSE TECHNIQUES TOPOLOGICAL
work folder: /home/mcc/execution
unsat
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-2 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-2 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-3 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-3 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-4 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-4 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-5 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-5 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-6 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-6 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-7 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-7 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-8 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-8 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-10 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : ResAllocation-PT-R100C002-ReachabilityFireability-11
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-12 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-13 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-13 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property ResAllocation-PT-R100C002-ReachabilityFireability-14 is true.
FORMULA ResAllocation-PT-R100C002-ReachabilityFireability-14 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
work folder: /home/mcc/execution

BK_STOP 1433641644775

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

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Jun 07, 2015 1:47:20 AM fr.lip6.move.gal.application.Application transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Jun 07, 2015 1:47:20 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 118 ms
Jun 07, 2015 1:47:20 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 400 places.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 202 transitions.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property ResAllocation-PT-R100C002-ReachabilityFireability-0 is trivially false : it is not verified in initial state.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property ResAllocation-PT-R100C002-ReachabilityFireability-1 is trivially false : it is not verified in initial state.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property ResAllocation-PT-R100C002-ReachabilityFireability-9 is trivially false : it is not verified in initial state.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property ResAllocation-PT-R100C002-ReachabilityFireability-15 is trivially false : it is not verified in initial state.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property ResAllocation-PT-R100C002-ReachabilityFireability-0 is trivially false : it is not verified in initial state.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property ResAllocation-PT-R100C002-ReachabilityFireability-1 is trivially false : it is not verified in initial state.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property ResAllocation-PT-R100C002-ReachabilityFireability-9 is trivially false : it is not verified in initial state.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property ResAllocation-PT-R100C002-ReachabilityFireability-15 is trivially false : it is not verified in initial state.
Jun 07, 2015 1:47:21 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 295 ms
Jun 07, 2015 1:47:21 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/ReachabilityFireability.gal : 47 ms
Jun 07, 2015 1:47:22 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: No display to refresh.
Jun 07, 2015 1:47:22 AM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /home/mcc/execution/ReachabilityFireability.prop : 1 ms
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 409 ms
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 401 ms
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.support.SupportManager computeSupport
INFO: For property ResAllocation-PT-R100C002-ReachabilityFireability-2:[reachable] : ((((r_1_60>=1)&&(p_1_61>=1))&&(r_0_60>=1))&&(((r_1_35>=1)&&(p_1_36>=1))&&(r_0_35>=1))) found Support [r_1_60, p_1_61, r_0_60, r_1_35, p_1_36, r_0_35]
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.support.SupportManager computeSupport
INFO: Computing abstraction support, depth 0, found support 6
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.abstractor.BoundComputer compute
INFO: Bounding GAL to K = 1
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.abstractor.VariablesAbstractor abstractUsingSupport
INFO: Abstracting GAL, removed 394 / 400 variable(s)
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Checking abstraction for property ResAllocation-PT-R100C002-ReachabilityFireability-2(refined 0 times)...
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -reachable on the abstraction...
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 20 ms
Jun 07, 2015 1:47:22 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 5 ms
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.checkers.ITSLauncher run
INFO: Run of its-reach took 124 ms
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Found trace: [t_1_37, t_1_62]
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -trace [t_1_37, t_1_62] on the original GAL...
Jun 07, 2015 1:47:22 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 196 ms
Jun 07, 2015 1:47:22 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 20 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.ITSLauncher run
INFO: Run of its-reach took 459 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Transition t_1_37 couldn't be replayed on the original GAL
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.SupportBasedAbstractor refine
INFO: Using failed transition t_1_37 to refine the abstraction...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.BoundComputer compute
INFO: Bounding GAL to K = 1
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.VariablesAbstractor abstractUsingSupport
INFO: Abstracting GAL, removed 391 / 400 variable(s)
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Checking abstraction for property ResAllocation-PT-R100C002-ReachabilityFireability-2(refined 1 times)...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -reachable on the abstraction...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 7 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 1 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.ITSLauncher run
INFO: Run of its-reach took 60 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Found trace: [t_1_38, t_1_37, t_1_62]
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -trace [t_1_38, t_1_37, t_1_62] on the original GAL...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 118 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 15 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.ITSLauncher run
INFO: Run of its-reach took 258 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Transition t_1_38 couldn't be replayed on the original GAL
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.SupportBasedAbstractor refine
INFO: Using failed transition t_1_38 to refine the abstraction...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.BoundComputer compute
INFO: Bounding GAL to K = 1
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.VariablesAbstractor abstractUsingSupport
INFO: Abstracting GAL, removed 388 / 400 variable(s)
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Checking abstraction for property ResAllocation-PT-R100C002-ReachabilityFireability-2(refined 2 times)...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -reachable on the abstraction...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 9 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 8 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.gal2smt.Gal2SMTFrontEnd checkProperties
INFO: SMT solution for property ResAllocation-PT-R100C002-ReachabilityFireability-2(UNSAT) depth K=1 took 1407 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.ITSLauncher run
INFO: Run of its-reach took 69 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Found trace: [t_1_39, t_1_38, t_1_37, t_1_62]
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -trace [t_1_39, t_1_38, t_1_37, t_1_62] on the original GAL...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 75 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 3 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.ITSLauncher run
INFO: Run of its-reach took 190 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Transition t_1_39 couldn't be replayed on the original GAL
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.SupportBasedAbstractor refine
INFO: Using failed transition t_1_39 to refine the abstraction...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.BoundComputer compute
INFO: Bounding GAL to K = 1
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.abstractor.VariablesAbstractor abstractUsingSupport
INFO: Abstracting GAL, removed 385 / 400 variable(s)
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Checking abstraction for property ResAllocation-PT-R100C002-ReachabilityFireability-2(refined 3 times)...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -reachable on the abstraction...
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 25 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 1 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.ITSLauncher run
INFO: Run of its-reach took 108 ms
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Found trace: [t_1_40, t_1_39, t_1_38, t_1_37, t_1_62]
Jun 07, 2015 1:47:23 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -trace [t_1_40, t_1_39, t_1_38, t_1_37, t_1_62] on the original GAL...
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 129 ms
Jun 07, 2015 1:47:24 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 3 ms
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.cegar.checkers.ITSLauncher run
INFO: Run of its-reach took 316 ms
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Transition t_1_40 couldn't be replayed on the original GAL
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.cegar.abstractor.SupportBasedAbstractor refine
INFO: Using failed transition t_1_40 to refine the abstraction...
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.cegar.abstractor.BoundComputer compute
INFO: Bounding GAL to K = 1
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.cegar.abstractor.VariablesAbstractor abstractUsingSupport
INFO: Abstracting GAL, removed 382 / 400 variable(s)
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Checking abstraction for property ResAllocation-PT-R100C002-ReachabilityFireability-2(refined 4 times)...
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.cegar.checkers.CEGARChecker check
INFO: Running its-reach -reachable on the abstraction...
Jun 07, 2015 1:47:24 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 10 ms
Jun 07, 2015 1:47:24 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/work/abstract.gal : 2 ms
java.lang.IllegalThreadStateException: process hasn't exited
at java.lang.UNIXProcess.exitValue(UNIXProcess.java:421)
at fr.lip6.move.gal.itstools.ProcessController.execute(ProcessController.java:125)
at fr.lip6.move.gal.cegar.checkers.ITSLauncher.run(ITSLauncher.java:99)
at fr.lip6.move.gal.cegar.checkers.ITSLauncher.run(ITSLauncher.java:56)
at fr.lip6.move.gal.cegar.checkers.ITSPropertyCheckerAdapter.check(ITSPropertyCheckerAdapter.java:72)
at fr.lip6.move.gal.cegar.checkers.CEGARChecker.check(CEGARChecker.java:46)
at fr.lip6.move.gal.cegar.frontend.CegarFrontEnd.processGal(CegarFrontEnd.java:24)
at fr.lip6.move.gal.application.Application$3.run(Application.java:354)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "Equinox Shutdown Hook" java.lang.IllegalStateException: Shutdown in progress
at java.io.DeleteOnExitHook.add(DeleteOnExitHook.java:60)
at java.io.File.deleteOnExit(File.java:1079)
at org.eclipse.osgi.storagemanager.StorageManager.initializeInstanceFile(StorageManager.java:188)
at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:707)
at org.eclipse.osgi.storage.Storage.getChildStorageManager(Storage.java:1749)
at org.eclipse.osgi.storage.Storage.save0(Storage.java:1034)
at org.eclipse.osgi.storage.Storage.save(Storage.java:1009)
at org.eclipse.osgi.internal.framework.StorageSaver$StorageSaverTask.run(StorageSaver.java:28)
at java.lang.Thread.run(Thread.java:745)

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="S_ResAllocation-PT-R100C002"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/users/gast00/fkordon/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/S_ResAllocation-PT-R100C002.tgz
mv S_ResAllocation-PT-R100C002 execution

# this is for BenchKit: explicit launching of the test

cd execution
echo "====================================================================="
echo " Generated by BenchKit 2-2265"
echo " Executing tool itstools"
echo " Input is S_ResAllocation-PT-R100C002, 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 r215st-ebro-143344922901195"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "ReachabilityFireability" = "ReachabilityComputeBounds" ] ; 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
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 ;