fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r152-smll-152685550400227
Last Updated
June 26, 2018

About the Execution of ITS-Tools for SafeBus-PT-03

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15752.970 5746.00 6972.00 385.50 TFFFTFFTFFFFFTFF 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 316K
-rw-r--r-- 1 mcc users 5.0K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.8K 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 2.5K May 15 18:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 9.3K May 15 18:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.4K May 15 18:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K May 15 18:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.3K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K 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 7.4K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 34K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.1K 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 3 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 93K May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool itstools
Input is SafeBus-PT-03, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r152-smll-152685550400227
=====================================================================


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

=== Now, execution of the tool begins

BK_START 1527055361468

Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201805151631/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201805151631/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.ctl
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,4650,0.123474,8496,2,1467,5,12918,6,0,310,11948,0


Converting to forward existential form...Done !
original formula: (!((!(((S_tout>=1)||(T_out>=2))) * AF((((RMC_1+RMC_2)+RMC_3)>=1)))) * !(((((listen_1+listen_2)+listen_3)<=((cable_used_1+cable_used_2)+cable_used_3))&&(!(((MSG_1+MSG_2)+MSG_3)<=cable_free)))))
=> equivalent forward existential formula: ([((Init * !(((((listen_1+listen_2)+listen_3)<=((cable_used_1+cable_used_2)+cable_used_3))&&(!(((MSG_1+MSG_2)+MSG_3)<=cable_free))))) * ((S_tout>=1)||(T_out>=2)))] != FALSE + [FwdG((Init * !(((((listen_1+listen_2)+listen_3)<=((cable_used_1+cable_used_2)+cable_used_3))&&(!(((MSG_1+MSG_2)+MSG_3)<=cable_free))))),!((((RMC_1+RMC_2)+RMC_3)>=1)))] != FALSE)
Hit Full ! (commute/partial/dont) 61/0/30
(forward)formula 0,1,0.492362,15068,1,0,9,43059,23,3,2049,20909,10
FORMULA SafeBus-PT-03-CTLCardinality-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !

***************************************

original formula: !((!(((((((wait_ack_2_1+wait_ack_3_1)+wait_ack_1_2)+wait_ack_3_2)+wait_ack_1_3)+wait_ack_2_3)<=((PMC_1+PMC_2)+PMC_3))) + (AG(TRUE) * !((FMCb<=((PMC_1+PMC_2)+PMC_3))))))
=> equivalent forward existential formula: ([(FwdU((Init * !(!(((((((wait_ack_2_1+wait_ack_3_1)+wait_ack_1_2)+wait_ack_3_2)+wait_ack_1_3)+wait_ack_2_3)<=((PMC_1+PMC_2)+PMC_3))))),TRUE) * !(TRUE))] != FALSE + [((Init * !(!(((((((wait_ack_2_1+wait_ack_3_1)+wait_ack_1_2)+wait_ack_3_2)+wait_ack_1_3)+wait_ack_2_3)<=((PMC_1+PMC_2)+PMC_3))))) * (FMCb<=((PMC_1+PMC_2)+PMC_3)))] != FALSE)
(forward)formula 1,0,0.49574,15332,1,0,11,43130,25,4,2066,20974,12
FORMULA SafeBus-PT-03-CTLCardinality-01 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: EX(AF(!((R_tout>=1))))
=> equivalent forward existential formula: [(EY(Init) * !(EG(!(!((R_tout>=1))))))] != FALSE
Reverse transition relation is NOT exact ! Due to transitions I_reemit_2_1, I_reemit_3_1, I_reemit_1_2, I_reemit_3_2, I_reemit_1_3, I_reemit_2_3, C_free_1_1, C_free_2_2, C_free_3_3, I_rec1_1_1, I_rec1_2_2, I_rec1_3_3, loss_m_1, loss_m_2, loss_m_3, I_rec2_1_1, I_rec2_2_2, I_rec2_3_3, I_ask2_1_1, I_ask2_2_1, I_ask2_3_1, I_ask2_1_2, I_ask2_2_2, I_ask2_3_2, I_ask2_1_3, I_ask2_2_3, I_ask2_3_3, Intersection with reachable at each step enabled. (destroyed/reverse/intersect/total) :9/55/27/91
(forward)formula 2,0,0.637296,17180,1,0,203,58709,209,88,2736,42510,194
FORMULA SafeBus-PT-03-CTLCardinality-02 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: ((((wait_msg_1+wait_msg_2)+wait_msg_3)>=3) + AF((((wait_msg_1+wait_msg_2)+wait_msg_3)>=2)))
=> equivalent forward existential formula: [FwdG((Init * !((((wait_msg_1+wait_msg_2)+wait_msg_3)>=3))),!((((wait_msg_1+wait_msg_2)+wait_msg_3)>=2)))] = FALSE
Hit Full ! (commute/partial/dont) 85/0/6
(forward)formula 3,0,0.813447,23936,1,0,204,72809,219,89,2803,68156,199
FORMULA SafeBus-PT-03-CTLCardinality-03 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: ((!(AF((((loop_em_1+loop_em_2)+loop_em_3)>=1))) * EG(!((ACK>=3)))) * (EF(!((((FMC_1+FMC_2)+FMC_3)<=FMCb))) * ((((((FMC_1+FMC_2)+FMC_3)<=((Cpt2_1+Cpt2_2)+Cpt2_3))||(((FMC_1+FMC_2)+FMC_3)>=1))||(((listen_1+listen_2)+listen_3)<=((loop_em_1+loop_em_2)+loop_em_3))) + EX((cable_free<=T_out)))))
=> equivalent forward existential formula: ([(((Init * (!(!(EG(!((((loop_em_1+loop_em_2)+loop_em_3)>=1))))) * EG(!((ACK>=3))))) * E(TRUE U !((((FMC_1+FMC_2)+FMC_3)<=FMCb)))) * (((((FMC_1+FMC_2)+FMC_3)<=((Cpt2_1+Cpt2_2)+Cpt2_3))||(((FMC_1+FMC_2)+FMC_3)>=1))||(((listen_1+listen_2)+listen_3)<=((loop_em_1+loop_em_2)+loop_em_3))))] != FALSE + [(EY(((Init * (!(!(EG(!((((loop_em_1+loop_em_2)+loop_em_3)>=1))))) * EG(!((ACK>=3))))) * E(TRUE U !((((FMC_1+FMC_2)+FMC_3)<=FMCb))))) * (cable_free<=T_out))] != FALSE)
(forward)formula 4,1,1.28946,38144,1,0,277,145075,236,124,2910,137002,299
FORMULA SafeBus-PT-03-CTLCardinality-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !

***************************************

original formula: AF(!(AF((((MSG_1+MSG_2)+MSG_3)<=((((((((AMC_1_1+AMC_2_1)+AMC_3_1)+AMC_1_2)+AMC_2_2)+AMC_3_2)+AMC_1_3)+AMC_2_3)+AMC_3_3)))))
=> equivalent forward existential formula: [FwdG(Init,!(!(!(EG(!((((MSG_1+MSG_2)+MSG_3)<=((((((((AMC_1_1+AMC_2_1)+AMC_3_1)+AMC_1_2)+AMC_2_2)+AMC_3_2)+AMC_1_3)+AMC_2_3)+AMC_3_3))))))))] = FALSE
(forward)formula 5,0,1.38498,42104,1,0,292,154767,243,130,3047,144552,322
FORMULA SafeBus-PT-03-CTLCardinality-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: ((AF(!((((FMC_1+FMC_2)+FMC_3)>=3))) * AF(((ACK>=2)&&(ACK<=((wait_cable_1+wait_cable_2)+wait_cable_3))))) * (A((((FMC_1+FMC_2)+FMC_3)>=2) U (((PMC_1+PMC_2)+PMC_3)<=((cable_used_1+cable_used_2)+cable_used_3))) + AG(((((Cpt2_1+Cpt2_2)+Cpt2_3)>=2)||(ACK<=FMCb)))))
=> equivalent forward existential formula: (([FwdG(Init,!(!((((FMC_1+FMC_2)+FMC_3)>=3))))] = FALSE * [FwdG(Init,!(((ACK>=2)&&(ACK<=((wait_cable_1+wait_cable_2)+wait_cable_3)))))] = FALSE) * [(FwdU((Init * !(!((E(!((((PMC_1+PMC_2)+PMC_3)<=((cable_used_1+cable_used_2)+cable_used_3))) U (!((((FMC_1+FMC_2)+FMC_3)>=2)) * !((((PMC_1+PMC_2)+PMC_3)<=((cable_used_1+cable_used_2)+cable_used_3))))) + EG(!((((PMC_1+PMC_2)+PMC_3)<=((cable_used_1+cable_used_2)+cable_used_3)))))))),TRUE) * !(((((Cpt2_1+Cpt2_2)+Cpt2_3)>=2)||(ACK<=FMCb))))] = FALSE)
(forward)formula 6,0,1.39048,42368,1,0,292,154840,247,130,3073,144632,323
FORMULA SafeBus-PT-03-CTLCardinality-06 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: (EG(!(((((RMC_1+RMC_2)+RMC_3)>=3)||(S_tout>=1)))) * (((cable_free<=3)||(!((R_tout>=1)||(((listen_1+listen_2)+listen_3)>=1)))) + AF(!(((((((wait_ack_2_1+wait_ack_3_1)+wait_ack_1_2)+wait_ack_3_2)+wait_ack_1_3)+wait_ack_2_3)>=3)))))
=> equivalent forward existential formula: ([(Init * !(EG(!(((((RMC_1+RMC_2)+RMC_3)>=3)||(S_tout>=1))))))] = FALSE * [FwdG((Init * !(((cable_free<=3)||(!((R_tout>=1)||(((listen_1+listen_2)+listen_3)>=1)))))),!(!(((((((wait_ack_2_1+wait_ack_3_1)+wait_ack_1_2)+wait_ack_3_2)+wait_ack_1_3)+wait_ack_2_3)>=3))))] = FALSE)
(forward)formula 7,1,1.39601,42632,1,0,292,154850,261,130,3109,144655,329
FORMULA SafeBus-PT-03-CTLCardinality-07 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !

***************************************

original formula: (AX(EG((T_out>=1))) + AF(((!(AMC_2_3>=2))&&((PMC_3<=FMC_2)&&(wait_cable_2>=3)))))
=> equivalent forward existential formula: [FwdG((Init * !(!(EX(!(EG((T_out>=1))))))),!(((!(AMC_2_3>=2))&&((PMC_3<=FMC_2)&&(wait_cable_2>=3)))))] = FALSE
(forward)formula 8,0,1.45751,44744,1,0,326,165728,268,144,3121,151678,374
FORMULA SafeBus-PT-03-CTLCardinality-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: AF(AG((ACK<=listen_3)))
=> equivalent forward existential formula: [FwdG(Init,!(!(E(TRUE U !((ACK<=listen_3))))))] = FALSE
(forward)formula 9,0,1.47,45008,1,0,336,167547,270,150,3125,153523,390
FORMULA SafeBus-PT-03-CTLCardinality-09 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: ((E((RMC_3<=RMC_2) U (listen_2>=3)) + ((loop_em_1>=1)||(wait_msg_2>=3))) * (FMCb>=1))
=> equivalent forward existential formula: ([(FwdU((Init * (FMCb>=1)),(RMC_3<=RMC_2)) * (listen_2>=3))] != FALSE + [((Init * (FMCb>=1)) * ((loop_em_1>=1)||(wait_msg_2>=3)))] != FALSE)
(forward)formula 10,0,1.47201,45272,1,0,338,167570,273,151,3128,153559,392
FORMULA SafeBus-PT-03-CTLCardinality-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: AF(A((cable_used_3>=1) U (AMC_2_2>=3)))
=> equivalent forward existential formula: [FwdG(Init,!(!((E(!((AMC_2_2>=3)) U (!((cable_used_3>=1)) * !((AMC_2_2>=3)))) + EG(!((AMC_2_2>=3)))))))] = FALSE
(forward)formula 11,0,1.48305,45536,1,0,350,168553,279,159,3133,155119,414
FORMULA SafeBus-PT-03-CTLCardinality-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: AF(((!((Cpt1_3<=listen_2)||(wait_msg_2>=3)))&&(!((FMC_3<=wait_msg_1)||(T_out<=Cpt1_1)))))
=> equivalent forward existential formula: [FwdG(Init,!(((!((Cpt1_3<=listen_2)||(wait_msg_2>=3)))&&(!((FMC_3<=wait_msg_1)||(T_out<=Cpt1_1))))))] = FALSE
(forward)formula 12,0,1.49289,45536,1,0,350,169430,281,159,3156,157101,415
FORMULA SafeBus-PT-03-CTLCardinality-12 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: EG(!((cable_used_2>=2)))
=> equivalent forward existential formula: [FwdG(Init,!((cable_used_2>=2)))] != FALSE
(forward)formula 13,1,1.49465,45800,1,0,350,169430,283,159,3158,157130,416
FORMULA SafeBus-PT-03-CTLCardinality-13 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !

***************************************

original formula: EF((FMC_2>=3))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * (FMC_2>=3))] != FALSE
(forward)formula 14,0,1.49483,45800,1,0,350,169430,284,159,3159,157130,416
FORMULA SafeBus-PT-03-CTLCardinality-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************

original formula: (AF(!(((ACK<=1)||(loop_em_1<=listen_2)))) * (E((wait_msg_1<=RMC_2) U (cable_used_2>=2)) * (AMC_3_1<=Cpt2_1)))
=> equivalent forward existential formula: ([FwdG(Init,!(!(((ACK<=1)||(loop_em_1<=listen_2)))))] = FALSE * ([(Init * !(E((wait_msg_1<=RMC_2) U (cable_used_2>=2))))] = FALSE * [(Init * !((AMC_3_1<=Cpt2_1)))] = FALSE))
(forward)formula 15,0,1.49877,46064,1,0,352,169708,290,159,3167,157194,419
FORMULA SafeBus-PT-03-CTLCardinality-15 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !

***************************************


BK_STOP 1527055367214

--------------------
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 CTLCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -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 CTLCardinality -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -smt -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
May 23, 2018 6:02:43 AM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -smt]
May 23, 2018 6:02:43 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
May 23, 2018 6:02:43 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 82 ms
May 23, 2018 6:02:43 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 57 places.
May 23, 2018 6:02:44 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 91 transitions.
May 23, 2018 6:02:44 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 15 ms
May 23, 2018 6:02:44 AM fr.lip6.move.gal.instantiate.DomainAnalyzer computeVariableDomains
INFO: Found a total of 3 fixed domain variables (out of 57 variables) in GAL type SafeBus_PT_03
May 23, 2018 6:02:44 AM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: Found a total of 3 constant array cells/variables (out of 57 variables) in type SafeBus_PT_03
May 23, 2018 6:02:44 AM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: msgl_2,msgl_3,msgl_1,
May 23, 2018 6:02:44 AM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Removed 3 constant variables :msgl_2=1, msgl_3=1, msgl_1=1
May 23, 2018 6:02:44 AM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Simplified 16 expressions due to constant valuations.
May 23, 2018 6:02:44 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 114 ms
May 23, 2018 6:02:44 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 5 ms
May 23, 2018 6:02:44 AM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSCTLTools
INFO: Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 2 ms

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="SafeBus-PT-03"
export BK_EXAMINATION="CTLCardinality"
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/SafeBus-PT-03.tgz
mv SafeBus-PT-03 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 itstools"
echo " Input is SafeBus-PT-03, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r152-smll-152685550400227"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "CTLCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "CTLCardinality" != "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 "CTLCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property CTLCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "CTLCardinality.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 '' CTLCardinality.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 ;