Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") [: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.00262/0.00262, allocations: 182.3 kB / 7.458 MB, free: 2.504 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.262/1.262, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.00179/0.00179, allocations: 108.8 kB / 247.1 MB, free: 6.383 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.1812/0.1812, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.071e-05, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4474, allocations: 81.31 MB / 0.5166 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4477, allocations: 74.94 kB / 0.5166 GB, free: 10.34 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.01249/0.4602, allocations: 4.172 MB / 0.5207 GB, free: 9.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.4602, allocations: 1.125 kB / 0.5207 GB, free: 9.578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004303/0.4607, allocations: 457 kB / 0.5212 GB, free: 9.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4607, allocations: 14.62 kB / 0.5212 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.4608, allocations: 7.594 kB / 0.5212 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.461, allocations: 206.2 kB / 0.5214 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.4611, allocations: 1.219 kB / 0.5214 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.4611, allocations: 8.75 kB / 0.5214 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.781e-05/0.4612, allocations: 17.72 kB / 0.5214 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.377e-05/0.4613, allocations: 52.14 kB / 0.5215 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4613, allocations: 0.5625 kB / 0.5215 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4613, allocations: 1.5 kB / 0.5215 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4614, allocations: 4 kB / 0.5215 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.4618, allocations: 298.8 kB / 0.5217 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4619, allocations: 53.2 kB / 0.5218 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.4619, allocations: 17.83 kB / 0.5218 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.4619, allocations: 5.156 kB / 0.5218 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.658e-05/0.462, allocations: 69.86 kB / 0.5219 GB, free: 8.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.462, allocations: 0 / 0.5219 GB, free: 8.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004659/0.4625, allocations: 134.6 kB / 0.522 GB, free: 8.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.4626, allocations: 52.69 kB / 0.5221 GB, free: 8.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.4627, allocations: 160.2 kB / 0.5222 GB, free: 8.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4627, allocations: 30.55 kB / 0.5222 GB, free: 8.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.4628, allocations: 100.5 kB / 0.5223 GB, free: 8.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.4628, allocations: 27.02 kB / 0.5224 GB, free: 8.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.4628, allocations: 1.406 kB / 0.5224 GB, free: 8.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.4629, allocations: 322 kB / 0.5227 GB, free: 7.785 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.4629, allocations: 33.5 kB / 0.5227 GB, free: 7.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.463, allocations: 47.84 kB / 0.5228 GB, free: 7.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.212e-05/0.4631, allocations: 38.36 kB / 0.5228 GB, free: 7.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4631, allocations: 3.984 kB / 0.5228 GB, free: 7.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002085/0.4633, allocations: 142.5 kB / 0.5229 GB, free: 7.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4634, allocations: 5.156 kB / 0.5229 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4634, allocations: 0 / 0.5229 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.4634, allocations: 1.094 kB / 0.5229 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.4635, allocations: 18.19 kB / 0.523 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4635, allocations: 0 / 0.523 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.4636, allocations: 7.734 kB / 0.523 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4636, allocations: 8.75 kB / 0.523 GB, free: 7.688 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 (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 6.161e-05/0.4636, allocations: 109.1 kB / 0.5231 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.4637, allocations: 11.91 kB / 0.5231 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.4639, allocations: 106.3 kB / 0.5232 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4639, allocations: 1.531 kB / 0.5232 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4639, allocations: 0 / 0.5232 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4639, allocations: 0 / 0.5232 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.4642, allocations: 369.3 kB / 0.5235 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4642, allocations: 0 / 0.5235 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.4643, allocations: 13.78 kB / 0.5236 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4643, allocations: 1.094 kB / 0.5236 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4643, allocations: 5.469 kB / 0.5236 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4643, allocations: 1.469 kB / 0.5236 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4643, allocations: 192 / 0.5236 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001624/0.4645, allocations: 210.8 kB / 0.5238 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.4646, allocations: 99.66 kB / 0.5239 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.4646, allocations: 6.547 kB / 0.5239 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.4647, allocations: 2.594 kB / 0.5239 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.4647, allocations: 6.094 kB / 0.5239 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4647, allocations: 10.83 kB / 0.5239 GB, free: 6.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.807e-05/0.4648, allocations: 132 kB / 0.524 GB, free: 6.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.4651, allocations: 40.86 kB / 0.524 GB, free: 6.809 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 (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.0007127/0.4658, allocations: 334.7 kB / 0.5244 GB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.466, allocations: 116.7 kB / 0.5245 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.466, allocations: 0 / 0.5245 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.4661, allocations: 30.19 kB / 0.5245 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.4664, allocations: 15.45 kB / 0.5245 GB, free: 6.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.4668, allocations: 156.4 kB / 0.5247 GB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.467, allocations: 0.7277 MB / 0.5254 GB, free: 5.719 MB / 346.7 MB Notification: Performance of SimCode: time 1.91e-07/0.467, allocations: 0 / 0.5254 GB, free: 5.719 MB / 346.7 MB Notification: Performance of Templates: time 0.00444/0.4714, allocations: 1.663 MB / 0.527 GB, free: 4.887 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)