Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") [: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.002244/0.002244, allocations: 186.2 kB / 7.46 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.394/1.394, 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.001772/0.001772, allocations: 124.2 kB / 247.1 MB, free: 6.34 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.1856/0.1856, allocations: 39.95 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.419e-05/1.423e-05, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 54.86 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3351/0.4481, allocations: 81.28 MB / 0.5165 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4485, allocations: 72.69 kB / 0.5166 GB, free: 10.24 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.01349/0.462, allocations: 4.084 MB / 0.5206 GB, free: 9.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.462, allocations: 1.281 kB / 0.5206 GB, free: 9.527 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.0004438/0.4624, allocations: 458.7 kB / 0.521 GB, free: 9.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4625, allocations: 8.219 kB / 0.521 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.4626, allocations: 14.06 kB / 0.5211 GB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.4629, allocations: 211.4 kB / 0.5213 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4629, allocations: 0 / 0.5213 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.4629, allocations: 9.406 kB / 0.5213 GB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.625e-05/0.463, allocations: 17.78 kB / 0.5213 GB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.723e-05/0.4631, allocations: 51.14 kB / 0.5213 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4631, allocations: 1.281 kB / 0.5213 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4631, allocations: 4 kB / 0.5213 GB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4632, allocations: 1.562 kB / 0.5213 GB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.4635, allocations: 299.5 kB / 0.5216 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.4637, allocations: 50.5 kB / 0.5217 GB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.4637, allocations: 21.36 kB / 0.5217 GB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.4637, allocations: 7.984 kB / 0.5217 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.616e-05/0.4638, allocations: 58.31 kB / 0.5218 GB, free: 8.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.4638, allocations: 0 / 0.5218 GB, free: 8.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004402/0.4643, allocations: 138.3 kB / 0.5219 GB, free: 8.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.4643, allocations: 56.41 kB / 0.5219 GB, free: 8.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4645, allocations: 158.3 kB / 0.5221 GB, free: 8.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4645, allocations: 28.33 kB / 0.5221 GB, free: 8.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.4645, allocations: 105.9 kB / 0.5222 GB, free: 8.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.4646, allocations: 22.3 kB / 0.5222 GB, free: 8.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.4646, allocations: 1.375 kB / 0.5222 GB, free: 8.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.105e-05/0.4646, allocations: 325.8 kB / 0.5226 GB, free: 7.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.4647, allocations: 27.84 kB / 0.5226 GB, free: 7.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.4648, allocations: 48.22 kB / 0.5226 GB, free: 7.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.4649, allocations: 45.56 kB / 0.5227 GB, free: 7.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4649, allocations: 0 / 0.5227 GB, free: 7.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002235/0.4651, allocations: 139.8 kB / 0.5228 GB, free: 7.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4651, allocations: 4.906 kB / 0.5228 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4651, allocations: 1.312 kB / 0.5228 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4652, allocations: 0 / 0.5228 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.4653, allocations: 18 kB / 0.5228 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4653, allocations: 1.25 kB / 0.5228 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.4653, allocations: 7.484 kB / 0.5228 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.4654, allocations: 6.594 kB / 0.5228 GB, free: 7.637 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.429e-05/0.4654, allocations: 109 kB / 0.5229 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.4655, allocations: 12.78 kB / 0.523 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.4657, allocations: 106.4 kB / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4657, allocations: 1.5 kB / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.4657, allocations: 0 / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4657, allocations: 0 / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.4661, allocations: 372.7 kB / 0.5234 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4661, allocations: 4.219 kB / 0.5234 GB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.4661, allocations: 13.16 kB / 0.5234 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4661, allocations: 1.375 kB / 0.5234 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4662, allocations: 5.031 kB / 0.5234 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4662, allocations: 5 kB / 0.5234 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.4662, allocations: 5.016 kB / 0.5234 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001696/0.4663, allocations: 206.8 kB / 0.5236 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.4664, allocations: 99.77 kB / 0.5237 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.4664, allocations: 1.375 kB / 0.5237 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.4665, allocations: 2.75 kB / 0.5237 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.4666, allocations: 13.55 kB / 0.5238 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.4666, allocations: 3.469 kB / 0.5238 GB, free: 6.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.975e-05/0.4667, allocations: 134.9 kB / 0.5239 GB, free: 6.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.467, allocations: 35.61 kB / 0.5239 GB, free: 6.75 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.000683/0.4677, allocations: 334.2 kB / 0.5242 GB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.4679, allocations: 116.2 kB / 0.5244 GB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4679, allocations: 0 / 0.5244 GB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.468, allocations: 31.06 kB / 0.5244 GB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.4682, allocations: 16.48 kB / 0.5244 GB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.4686, allocations: 156.7 kB / 0.5245 GB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.4689, allocations: 0.7277 MB / 0.5253 GB, free: 5.664 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4689, allocations: 0 / 0.5253 GB, free: 5.664 MB / 346.7 MB Notification: Performance of Templates: time 0.0043/0.4732, allocations: 1.654 MB / 0.5269 GB, free: 4.84 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)