Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") [: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.002769/0.002769, allocations: 182.4 kB / 7.456 MB, free: 2.508 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.268/1.268, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001682/0.001682, allocations: 125.1 kB / 247.1 MB, free: 6.316 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.1968/0.1968, allocations: 39.95 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.945e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 54.86 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/0.4328, allocations: 82.06 MB / 0.5173 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4331, allocations: 71.3 kB / 0.5174 GB, free: 10.32 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.0103/0.4434, allocations: 3.225 MB / 0.5205 GB, free: 9.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.4434, allocations: 0 / 0.5205 GB, free: 9.695 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005182/0.444, allocations: 0.5 MB / 0.521 GB, free: 9.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.444, allocations: 9.094 kB / 0.521 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.4441, allocations: 13.94 kB / 0.521 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.4444, allocations: 223.8 kB / 0.5212 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4444, allocations: 2.625 kB / 0.5212 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.4444, allocations: 9.156 kB / 0.5213 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001312/0.4446, allocations: 41.52 kB / 0.5213 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.4447, allocations: 62.8 kB / 0.5214 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4448, allocations: 4 kB / 0.5214 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4448, allocations: 3.5 kB / 0.5214 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4448, allocations: 1.25 kB / 0.5214 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.4454, allocations: 352 kB / 0.5217 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.4456, allocations: 68.44 kB / 0.5218 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.4457, allocations: 35.09 kB / 0.5218 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4457, allocations: 1.281 kB / 0.5218 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.4458, allocations: 75.48 kB / 0.5219 GB, free: 8.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.4459, allocations: 4 kB / 0.5219 GB, free: 8.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002424/0.4461, allocations: 89.97 kB / 0.522 GB, free: 8.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.4461, allocations: 52.59 kB / 0.522 GB, free: 8.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.4463, allocations: 157.2 kB / 0.5222 GB, free: 8.281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.4463, allocations: 31 kB / 0.5222 GB, free: 8.246 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.4463, allocations: 96.2 kB / 0.5223 GB, free: 8.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.4464, allocations: 30.77 kB / 0.5223 GB, free: 8.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.4464, allocations: 2.031 kB / 0.5223 GB, free: 8.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.4465, allocations: 324.6 kB / 0.5226 GB, free: 7.816 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.4465, allocations: 38.69 kB / 0.5227 GB, free: 7.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.4466, allocations: 56.81 kB / 0.5227 GB, free: 7.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.4467, allocations: 38.67 kB / 0.5227 GB, free: 7.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4467, allocations: 0 / 0.5227 GB, free: 7.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002262/0.4469, allocations: 147.7 kB / 0.5229 GB, free: 7.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.447, allocations: 9.125 kB / 0.5229 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.447, allocations: 4.062 kB / 0.5229 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.447, allocations: 1.281 kB / 0.5229 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.4471, allocations: 22.33 kB / 0.5229 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4471, allocations: 5.219 kB / 0.5229 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.4472, allocations: 11.75 kB / 0.5229 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4472, allocations: 4 kB / 0.5229 GB, free: 7.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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 6.235e-05/0.4473, allocations: 124.3 kB / 0.5231 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.4473, allocations: 12.97 kB / 0.5231 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.4475, allocations: 103.4 kB / 0.5232 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4475, allocations: 5.266 kB / 0.5232 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4475, allocations: 1.25 kB / 0.5232 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4476, allocations: 0 / 0.5232 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4477, allocations: 180.1 kB / 0.5234 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4477, allocations: 0 / 0.5234 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.4478, allocations: 16.17 kB / 0.5234 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4478, allocations: 9.031 kB / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4478, allocations: 1.188 kB / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4478, allocations: 0 / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4478, allocations: 1.062 kB / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000239/0.4481, allocations: 161.4 kB / 0.5235 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.4481, allocations: 104.4 kB / 0.5236 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.4482, allocations: 1.125 kB / 0.5236 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.4483, allocations: 9.438 kB / 0.5236 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.4483, allocations: 7.047 kB / 0.5236 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4483, allocations: 2.75 kB / 0.5237 GB, free: 7.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.374e-05/0.4484, allocations: 127.4 kB / 0.5238 GB, free: 7.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.4487, allocations: 37.97 kB / 0.5238 GB, free: 7.035 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006096/0.4493, allocations: 284.6 kB / 0.5241 GB, free: 6.859 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.4495, allocations: 128.4 kB / 0.5242 GB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4495, allocations: 0 / 0.5242 GB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.4496, allocations: 37.31 kB / 0.5242 GB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.4499, allocations: 27.48 kB / 0.5243 GB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.4503, allocations: 170.1 kB / 0.5244 GB, free: 6.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.4505, allocations: 0.7339 MB / 0.5251 GB, free: 5.961 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4505, allocations: 7.938 kB / 0.5252 GB, free: 5.953 MB / 346.7 MB Notification: Performance of Templates: time 0.004415/0.4549, allocations: 1.749 MB / 0.5269 GB, free: 5.086 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)