Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003597/0.003597, allocations: 188.8 kB / 7.459 MB, free: 2.23 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.299/1.299, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001703/0.001703, allocations: 119.9 kB / 247.1 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.197/0.197, allocations: 39.95 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.149e-05, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4411, allocations: 81.35 MB / 0.5166 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4414, allocations: 71.36 kB / 0.5167 GB, free: 10.36 MB / 346.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: time 0.01496/0.4563, allocations: 4.744 MB / 0.5213 GB, free: 9.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.4564, allocations: 6.5 kB / 0.5213 GB, free: 9.352 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005096/0.4569, allocations: 483.1 kB / 0.5218 GB, free: 8.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4569, allocations: 8.625 kB / 0.5218 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.457, allocations: 14.75 kB / 0.5218 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.4573, allocations: 220 kB / 0.522 GB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4574, allocations: 9.328 kB / 0.522 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.4574, allocations: 4.625 kB / 0.522 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001206/0.4575, allocations: 35.7 kB / 0.5221 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.4576, allocations: 68.41 kB / 0.5221 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4577, allocations: 0 / 0.5221 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4577, allocations: 5.188 kB / 0.5221 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.4577, allocations: 5.312 kB / 0.5221 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.4582, allocations: 325.2 kB / 0.5224 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.4583, allocations: 75.95 kB / 0.5225 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.4584, allocations: 23.23 kB / 0.5225 GB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.4584, allocations: 1.344 kB / 0.5225 GB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.4586, allocations: 71.08 kB / 0.5226 GB, free: 8.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.4586, allocations: 4 kB / 0.5226 GB, free: 8.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005708/0.4591, allocations: 193.6 kB / 0.5228 GB, free: 8.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.4592, allocations: 52.69 kB / 0.5228 GB, free: 8.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.4594, allocations: 216.9 kB / 0.5231 GB, free: 7.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.4594, allocations: 28.39 kB / 0.5231 GB, free: 7.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.4595, allocations: 100.6 kB / 0.5232 GB, free: 7.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.4595, allocations: 32.17 kB / 0.5232 GB, free: 7.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.4595, allocations: 1.312 kB / 0.5232 GB, free: 7.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.4596, allocations: 327.1 kB / 0.5235 GB, free: 7.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.4597, allocations: 48.8 kB / 0.5236 GB, free: 7.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.4598, allocations: 56.94 kB / 0.5236 GB, free: 7.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.625e-05/0.4599, allocations: 57.75 kB / 0.5237 GB, free: 7.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4599, allocations: 0 / 0.5237 GB, free: 7.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002722/0.4602, allocations: 163.9 kB / 0.5238 GB, free: 7.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4602, allocations: 12.17 kB / 0.5238 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4602, allocations: 1.406 kB / 0.5238 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4602, allocations: 4.031 kB / 0.5238 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4603, allocations: 23 kB / 0.5239 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4604, allocations: 1.547 kB / 0.5239 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.4604, allocations: 6.453 kB / 0.5239 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.4605, allocations: 8.906 kB / 0.5239 GB, free: 7.383 MB / 346.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 (14): * Single equations (assignments): 13 * 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 7.049e-05/0.4605, allocations: 109.1 kB / 0.524 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.4606, allocations: 14.62 kB / 0.524 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.4609, allocations: 156.4 kB / 0.5242 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4609, allocations: 9.344 kB / 0.5242 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4609, allocations: 0 / 0.5242 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4609, allocations: 1.312 kB / 0.5242 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.4613, allocations: 444 kB / 0.5246 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4614, allocations: 0 / 0.5246 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.4614, allocations: 15.16 kB / 0.5246 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4614, allocations: 0.7812 kB / 0.5246 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4615, allocations: 6.281 kB / 0.5246 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4615, allocations: 9.141 kB / 0.5246 GB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4615, allocations: 1.25 kB / 0.5246 GB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002375/0.4617, allocations: 239.9 kB / 0.5248 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.4618, allocations: 112.3 kB / 0.525 GB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.4619, allocations: 5.219 kB / 0.525 GB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.462, allocations: 6.875 kB / 0.525 GB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.462, allocations: 10.95 kB / 0.525 GB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4621, allocations: 5.062 kB / 0.525 GB, free: 6.562 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001518/0.4622, allocations: 173.3 kB / 0.5251 GB, free: 6.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.4625, allocations: 50.14 kB / 0.5252 GB, free: 6.457 MB / 346.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 (13): * Single equations (assignments): 11 * 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.0007459/0.4633, allocations: 335.9 kB / 0.5255 GB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.4636, allocations: 143.2 kB / 0.5257 GB, free: 6.203 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4636, allocations: 1.281 kB / 0.5257 GB, free: 6.203 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.4637, allocations: 42.16 kB / 0.5257 GB, free: 6.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.4639, allocations: 16.08 kB / 0.5257 GB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.4645, allocations: 235.9 kB / 0.5259 GB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.4647, allocations: 0.7567 MB / 0.5267 GB, free: 5.32 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4647, allocations: 0 / 0.5267 GB, free: 5.32 MB / 346.7 MB Notification: Performance of Templates: time 0.005433/0.4702, allocations: 1.953 MB / 0.5286 GB, free: 4.352 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)