Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001534/0.001534, allocations: 182.6 kB / 7.655 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.514/1.514, allocations: 194.4 MB / 202.4 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001709/0.001709, allocations: 104.8 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1919/0.1919, allocations: 39.94 MB / 332.2 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.283e-05, allocations: 7.984 kB / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3064, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.4205, allocations: 81.39 MB / 0.5172 GB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.4208, allocations: 75.95 kB / 0.5173 GB, free: 12.09 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.4347, allocations: 4.518 MB / 0.5217 GB, free: 7.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4347, allocations: 4 kB / 0.5217 GB, free: 7.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4348, allocations: 4 kB / 0.5217 GB, free: 7.566 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004995/0.4353, allocations: 452.4 kB / 0.5221 GB, free: 7.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4353, allocations: 8.031 kB / 0.5221 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.4354, allocations: 11.91 kB / 0.5221 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.4357, allocations: 210.8 kB / 0.5223 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4357, allocations: 4 kB / 0.5223 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.4358, allocations: 4 kB / 0.5223 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.349e-05/0.4359, allocations: 19.98 kB / 0.5224 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.694e-05/0.436, allocations: 57.62 kB / 0.5224 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.436, allocations: 7.953 kB / 0.5224 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.436, allocations: 7.922 kB / 0.5224 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.436, allocations: 0 / 0.5224 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.4364, allocations: 281.4 kB / 0.5227 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.4366, allocations: 58.69 kB / 0.5228 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.4366, allocations: 16.98 kB / 0.5228 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4366, allocations: 0 / 0.5228 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.4368, allocations: 75.19 kB / 0.5228 GB, free: 6.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.4368, allocations: 0 / 0.5228 GB, free: 6.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004712/0.4373, allocations: 145.4 kB / 0.523 GB, free: 6.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.4373, allocations: 55.34 kB / 0.523 GB, free: 5.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4375, allocations: 167.4 kB / 0.5232 GB, free: 5.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.4375, allocations: 25.7 kB / 0.5232 GB, free: 5.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.4376, allocations: 108 kB / 0.5233 GB, free: 5.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.4376, allocations: 23.7 kB / 0.5233 GB, free: 5.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.4376, allocations: 0 / 0.5233 GB, free: 5.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4378, allocations: 323.5 kB / 0.5237 GB, free: 5.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.4378, allocations: 28 kB / 0.5237 GB, free: 5.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.4379, allocations: 45.72 kB / 0.5237 GB, free: 5.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.405e-05/0.438, allocations: 43.97 kB / 0.5238 GB, free: 5.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.438, allocations: 0 / 0.5238 GB, free: 5.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000226/0.4382, allocations: 133.5 kB / 0.5239 GB, free: 5.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.4383, allocations: 33.7 kB / 0.5239 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4383, allocations: 3.953 kB / 0.5239 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4383, allocations: 4 kB / 0.5239 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.4384, allocations: 19.98 kB / 0.524 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4384, allocations: 0 / 0.524 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.4385, allocations: 8.031 kB / 0.524 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.4385, allocations: 8 kB / 0.524 GB, free: 5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.895e-05/0.4386, allocations: 116.8 kB / 0.5241 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.4386, allocations: 7.906 kB / 0.5241 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4388, allocations: 110.3 kB / 0.5242 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4389, allocations: 7.953 kB / 0.5242 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4389, allocations: 3.984 kB / 0.5242 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4389, allocations: 3.938 kB / 0.5242 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.4393, allocations: 379.9 kB / 0.5246 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4393, allocations: 192 / 0.5246 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.4393, allocations: 11.94 kB / 0.5246 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4394, allocations: 7.891 kB / 0.5246 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4394, allocations: 4 kB / 0.5246 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4394, allocations: 0 / 0.5246 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4394, allocations: 192 / 0.5246 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.4396, allocations: 218 kB / 0.5248 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.4397, allocations: 104.8 kB / 0.5249 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.4397, allocations: 8 kB / 0.5249 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.4398, allocations: 0 / 0.5249 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.996e-05/0.4399, allocations: 7.984 kB / 0.5249 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4399, allocations: 4 kB / 0.5249 GB, free: 3.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.44, allocations: 140 kB / 0.5251 GB, free: 3.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.44, allocations: 4 kB / 0.5251 GB, free: 3.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.4403, allocations: 31.98 kB / 0.5251 GB, free: 3.742 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008373/0.4411, allocations: 356.1 kB / 0.5254 GB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.4413, allocations: 155.3 kB / 0.5256 GB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4414, allocations: 4.062 kB / 0.5256 GB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.3e-05/0.4414, allocations: 31.94 kB / 0.5256 GB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.4417, allocations: 15.98 kB / 0.5256 GB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.4421, allocations: 154.3 kB / 0.5258 GB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4424, allocations: 0.7041 MB / 0.5265 GB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.431e-05/0.4425, allocations: 32.62 kB / 0.5265 GB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.4426, allocations: 11.44 kB / 0.5265 GB, free: 2.27 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4426, allocations: 0 / 0.5265 GB, free: 2.27 MB / 378.7 MB Notification: Performance of Templates: time 0.004859/0.4474, allocations: 1.641 MB / 0.5281 GB, free: 0.6367 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)