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

About the Execution of M4M.struct for Peterson-PT-2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
679.120 8126.00 17183.00 299.60 3 3 3 1 3 3 3 2 1 1 1 1 1 1 1 1 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 372K
-rw-r--r-- 1 mcc users 8.5K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 33K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.5K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 24K May 15 18:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 15 18:50 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.0K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.2K May 15 18:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 14K May 15 18:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.6K May 15 18:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 13K May 15 18:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 10K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 35K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 104 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 342 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 12K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 42K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.7K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.9K May 15 18:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 15 18:50 equiv_col
-rw-r--r-- 1 mcc users 2 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 98K May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool mcc4mcc-structural
Input is Peterson-PT-2, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r119-csrt-152666480100555
=====================================================================


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

=== Now, execution of the tool begins

BK_START 1527331288424


BK_STOP 1527331296550

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

Prefix is 75f5f979.
Reading known information in /usr/share/mcc4mcc/75f5f979-known.json.
Reading learned information in /usr/share/mcc4mcc/75f5f979-learned.json.
Reading value translations in /usr/share/mcc4mcc/75f5f979-values.json.
Using directory /home/mcc/execution for input, as it contains a model.pnml file.
Using Peterson-PT-2 as instance name.
Using Peterson as model name.
Using algorithm or tool random-forest.
Model characteristics are: {'Examination': 'UpperBounds', 'Place/Transition': True, 'Colored': True, 'Relative-Time': 1, 'Relative-Memory': 1, 'Ordinary': True, 'Simple Free Choice': False, 'Extended Free Choice': False, 'State Machine': False, 'Marked Graph': False, 'Connected': True, 'Strongly Connected': True, 'Source Place': False, 'Sink Place': False, 'Source Transition': False, 'Sink Transition': False, 'Loop Free': False, 'Conservative': True, 'Sub-Conservative': True, 'Nested Units': False, 'Safe': True, 'Deadlock': False, 'Reversible': True, 'Quasi Live': None, 'Live': None}.
Known tools are: [{'Time': 601, 'Memory': 100.94, 'Tool': 'gspn'}, {'Time': 1066, 'Memory': 114.43, 'Tool': 'lola'}, {'Time': 1634, 'Memory': 116.44, 'Tool': 'lola'}, {'Time': 2421, 'Memory': 2206.39, 'Tool': 'marcie'}, {'Time': 2442, 'Memory': 157.75, 'Tool': 'gspn'}, {'Time': 2613, 'Memory': 2205.84, 'Tool': 'marcie'}, {'Time': 3226, 'Memory': 236.97, 'Tool': 'itstools'}, {'Time': 3543, 'Memory': 230.45, 'Tool': 'itstools'}].
Learned tools are: [{'Tool': 'itstools'}].
Learned tool itstools is 5.367720465890183x far from the best tool gspn.
UpperBounds itstools Peterson-PT-2...
May 26, 2018 10:41:34 AM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-z3path, /usr/bin/z3, -yices2path, /usr/bin/yices, -ltsminpath, /usr/bin, -smt, -its, -pnfolder, /mcc-data, -examination, UpperBounds]
May 26, 2018 10:41:34 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /mcc-data/model.pnml
May 26, 2018 10:41:34 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 63 ms
May 26, 2018 10:41:34 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 102 places.
May 26, 2018 10:41:35 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 126 transitions.
May 26, 2018 10:41:35 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /mcc-data/model.pnml.img.gal : 23 ms
May 26, 2018 10:41:35 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 123 ms
May 26, 2018 10:41:35 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /mcc-data/UpperBounds.pnml.gal : 8 ms
May 26, 2018 10:41:35 AM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /mcc-data/UpperBounds.prop : 2 ms
Invoking ITS tools like this :CommandLine [args=[/usr/share/itscl/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201804131302/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /mcc-data/UpperBounds.pnml.gal, -t, CGAL, -reachable-file, UpperBounds.prop, --nowitness], workingDir=/mcc-data]

its-reach command run as :

/usr/share/itscl/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201804131302/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /mcc-data/UpperBounds.pnml.gal -t CGAL -reachable-file UpperBounds.prop --nowitness
Loading property file UpperBounds.prop.
Read [bounds] property : Peterson-PT-2-UpperBounds-00 with value :WantSection_1_T+WantSection_2_T+WantSection_0_T+WantSection_2_F+WantSection_1_F+WantSection_0_F
Read [bounds] property : Peterson-PT-2-UpperBounds-01 with value :TestTurn_0_0+TestTurn_2_1+TestTurn_1_0+TestTurn_2_0+TestTurn_0_1+TestTurn_1_1
Read [bounds] property : Peterson-PT-2-UpperBounds-02 with value :Idle_0+Idle_2+Idle_1
Read [bounds] property : Peterson-PT-2-UpperBounds-03 with value :CS_0+CS_1+CS_2
Read [bounds] property : Peterson-PT-2-UpperBounds-04 with value :BeginLoop_0_0_0+BeginLoop_2_0_0+BeginLoop_1_0_0+BeginLoop_1_1_0+BeginLoop_0_1_0+BeginLoop_1_0_1+BeginLoop_2_0_1+BeginLoop_2_1_0+BeginLoop_0_0_1+BeginLoop_2_1_1+BeginLoop_0_0_2+BeginLoop_0_1_1+BeginLoop_1_1_1+BeginLoop_0_1_2+BeginLoop_1_1_2+BeginLoop_1_0_2+BeginLoop_2_0_2+BeginLoop_2_1_2
Read [bounds] property : Peterson-PT-2-UpperBounds-05 with value :WantSection_1_T+WantSection_2_T+WantSection_0_T+WantSection_2_F+WantSection_1_F+WantSection_0_F
Read [bounds] property : Peterson-PT-2-UpperBounds-06 with value :IsEndLoop_0_0_0+IsEndLoop_1_0_0+IsEndLoop_2_0_0+IsEndLoop_0_1_0+IsEndLoop_1_1_0+IsEndLoop_2_1_0+IsEndLoop_0_0_1+IsEndLoop_1_0_1+IsEndLoop_2_0_1+IsEndLoop_0_1_1+IsEndLoop_1_1_1+IsEndLoop_2_1_1+IsEndLoop_0_0_2+IsEndLoop_2_0_2+IsEndLoop_1_0_2+IsEndLoop_1_1_2+IsEndLoop_0_1_2+IsEndLoop_2_1_2
Read [bounds] property : Peterson-PT-2-UpperBounds-07 with value :Turn_0_0+Turn_1_2+Turn_0_1+Turn_1_0+Turn_0_2+Turn_1_1
Read [bounds] property : Peterson-PT-2-UpperBounds-08 with value :BeginLoop_0_0_0
Read [bounds] property : Peterson-PT-2-UpperBounds-09 with value :TestTurn_1_0
Read [bounds] property : Peterson-PT-2-UpperBounds-10 with value :TestTurn_1_0
Read [bounds] property : Peterson-PT-2-UpperBounds-11 with value :IsEndLoop_2_1_1
Read [bounds] property : Peterson-PT-2-UpperBounds-12 with value :Turn_0_0
Read [bounds] property : Peterson-PT-2-UpperBounds-13 with value :TestIdentity_2_0_1
Read [bounds] property : Peterson-PT-2-UpperBounds-14 with value :TestAlone_2_0_0
Read [bounds] property : Peterson-PT-2-UpperBounds-15 with value :AskForSection_2_0
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson\_PT\_2\_flat,20754,0.306317,13048,2,3437,5,32029,6,0,537,38900,0
Total reachable state count : 20754

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-00 :0 <= WantSection_1_T+WantSection_2_T+WantSection_0_T+WantSection_2_F+WantSection_1_F+WantSection_0_F <= 3
FORMULA Peterson-PT-2-UpperBounds-00 3 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-00,0,0.310568,13108,1,0,7,32029,9,1,831,38900,4
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-01 :0 <= TestTurn_0_0+TestTurn_2_1+TestTurn_1_0+TestTurn_2_0+TestTurn_0_1+TestTurn_1_1 <= 3
FORMULA Peterson-PT-2-UpperBounds-01 3 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-01,0,0.313973,13172,1,0,8,32029,10,1,977,38900,5
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-02 :0 <= Idle_0+Idle_2+Idle_1 <= 3
FORMULA Peterson-PT-2-UpperBounds-02 3 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-02,0,0.317526,13172,1,0,9,32029,11,1,1154,38900,6
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-03 :0 <= CS_0+CS_1+CS_2 <= 1
FORMULA Peterson-PT-2-UpperBounds-03 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-03,0,0.320272,13172,1,0,10,32029,12,1,1303,38900,7
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-04 :0 <= BeginLoop_0_0_0+BeginLoop_2_0_0+BeginLoop_1_0_0+BeginLoop_1_1_0+BeginLoop_0_1_0+BeginLoop_1_0_1+BeginLoop_2_0_1+BeginLoop_2_1_0+BeginLoop_0_0_1+BeginLoop_2_1_1+BeginLoop_0_0_2+BeginLoop_0_1_1+BeginLoop_1_1_1+BeginLoop_0_1_2+BeginLoop_1_1_2+BeginLoop_1_0_2+BeginLoop_2_0_2+BeginLoop_2_1_2 <= 3
FORMULA Peterson-PT-2-UpperBounds-04 3 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-04,0,0.331351,13172,1,0,11,32029,13,1,1523,38900,8
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-05 :0 <= WantSection_1_T+WantSection_2_T+WantSection_0_T+WantSection_2_F+WantSection_1_F+WantSection_0_F <= 3
FORMULA Peterson-PT-2-UpperBounds-05 3 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-05,0,0.331572,13172,1,0,11,32029,13,1,1523,38900,8
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-06 :0 <= IsEndLoop_0_0_0+IsEndLoop_1_0_0+IsEndLoop_2_0_0+IsEndLoop_0_1_0+IsEndLoop_1_1_0+IsEndLoop_2_1_0+IsEndLoop_0_0_1+IsEndLoop_1_0_1+IsEndLoop_2_0_1+IsEndLoop_0_1_1+IsEndLoop_1_1_1+IsEndLoop_2_1_1+IsEndLoop_0_0_2+IsEndLoop_2_0_2+IsEndLoop_1_0_2+IsEndLoop_1_1_2+IsEndLoop_0_1_2+IsEndLoop_2_1_2 <= 3
FORMULA Peterson-PT-2-UpperBounds-06 3 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-06,0,0.34337,13172,1,0,12,32029,14,1,1746,38900,9
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property Peterson-PT-2-UpperBounds-07 :0 <= Turn_0_0+Turn_1_2+Turn_0_1+Turn_1_0+Turn_0_2+Turn_1_1 <= 2
FORMULA Peterson-PT-2-UpperBounds-07 2 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-07,0,0.347437,13172,1,0,13,32029,15,1,1894,38900,10
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-08 :0 <= BeginLoop_0_0_0 <= 1
FORMULA Peterson-PT-2-UpperBounds-08 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-08,0,0.351371,13172,1,0,14,32029,16,1,2077,38900,11
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-09 :0 <= TestTurn_1_0 <= 1
FORMULA Peterson-PT-2-UpperBounds-09 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-09,0,0.353696,13172,1,0,15,32029,17,1,2212,38900,12
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-10 :0 <= TestTurn_1_0 <= 1
FORMULA Peterson-PT-2-UpperBounds-10 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-10,0,0.353861,13172,1,0,15,32029,17,1,2212,38900,12
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-11 :0 <= IsEndLoop_2_1_1 <= 1
FORMULA Peterson-PT-2-UpperBounds-11 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-11,0,0.354195,13172,1,0,16,32029,18,1,2245,38900,13
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-12 :0 <= Turn_0_0 <= 1
FORMULA Peterson-PT-2-UpperBounds-12 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-12,0,0.356877,13172,1,0,17,32029,19,1,2380,38900,14
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-13 :0 <= TestIdentity_2_0_1 <= 1
FORMULA Peterson-PT-2-UpperBounds-13 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-13,0,0.360288,13172,1,0,18,32029,20,1,2537,38900,15
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-14 :0 <= TestAlone_2_0_0 <= 1
FORMULA Peterson-PT-2-UpperBounds-14 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-14,0,0.364576,13172,1,0,19,32029,21,1,2728,38900,16
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-15 :0 <= AskForSection_2_0 <= 1
FORMULA Peterson-PT-2-UpperBounds-15 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-UpperBounds-15,0,0.366634,13172,1,0,20,32029,22,1,2849,38900,17

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="Peterson-PT-2"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="mcc4mcc-structural"
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/Peterson-PT-2.tgz
mv Peterson-PT-2 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 mcc4mcc-structural"
echo " Input is Peterson-PT-2, 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 r119-csrt-152666480100555"
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 ;