Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") [: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.003175/0.003175, allocations: 181 kB / 7.457 MB, free: 2.34 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.202/1.202, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.001673/0.001673, allocations: 120 kB / 247.1 MB, free: 6.371 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.1718/0.1718, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.19e-05, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.352/0.4765, allocations: 81.43 MB / 0.5167 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.4768, allocations: 71.12 kB / 0.5167 GB, free: 10.39 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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.01845/0.4953, allocations: 6.657 MB / 0.5232 GB, free: 8.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.4953, allocations: 3.719 kB / 0.5233 GB, free: 8.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006148/0.4959, allocations: 0.6227 MB / 0.5239 GB, free: 8.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.496, allocations: 8.969 kB / 0.5239 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.4961, allocations: 37.97 kB / 0.5239 GB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.4965, allocations: 292.2 kB / 0.5242 GB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.4966, allocations: 1.312 kB / 0.5242 GB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.4966, allocations: 9.094 kB / 0.5242 GB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/0.4967, allocations: 40.83 kB / 0.5242 GB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4969, allocations: 84.78 kB / 0.5243 GB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4969, allocations: 10.42 kB / 0.5243 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4969, allocations: 1.281 kB / 0.5243 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4969, allocations: 9.219 kB / 0.5243 GB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.4975, allocations: 498.9 kB / 0.5248 GB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.4976, allocations: 99.83 kB / 0.5249 GB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.4977, allocations: 39.48 kB / 0.5249 GB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.4977, allocations: 9.266 kB / 0.525 GB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.4979, allocations: 107.3 kB / 0.5251 GB, free: 7.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4979, allocations: 5.406 kB / 0.5251 GB, free: 7.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006362/0.4985, allocations: 303.6 kB / 0.5253 GB, free: 7.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.4986, allocations: 79.7 kB / 0.5254 GB, free: 6.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.499, allocations: 410.6 kB / 0.5258 GB, free: 6.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.499, allocations: 33.56 kB / 0.5258 GB, free: 6.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.4991, allocations: 113 kB / 0.526 GB, free: 6.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.4991, allocations: 45.08 kB / 0.526 GB, free: 6.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.4991, allocations: 3.406 kB / 0.526 GB, free: 6.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.4992, allocations: 350.2 kB / 0.5263 GB, free: 6.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4993, allocations: 66.3 kB / 0.5264 GB, free: 6.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.4995, allocations: 104.7 kB / 0.5265 GB, free: 6.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.4996, allocations: 69.56 kB / 0.5266 GB, free: 6.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4996, allocations: 1.344 kB / 0.5266 GB, free: 6.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003713/0.5, allocations: 249.8 kB / 0.5268 GB, free: 6.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5, allocations: 9.5 kB / 0.5268 GB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5, allocations: 0.9688 kB / 0.5268 GB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5001, allocations: 2.344 kB / 0.5268 GB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5002, allocations: 33.83 kB / 0.5268 GB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5002, allocations: 1.875 kB / 0.5269 GB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.5003, allocations: 15.05 kB / 0.5269 GB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.5004, allocations: 12.5 kB / 0.5269 GB, free: 6.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.419e-05/0.5004, allocations: 118.6 kB / 0.527 GB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.5005, allocations: 32.69 kB / 0.527 GB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.5008, allocations: 196.8 kB / 0.5272 GB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.5008, allocations: 2.281 kB / 0.5272 GB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5009, allocations: 1.344 kB / 0.5272 GB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5009, allocations: 0 / 0.5272 GB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/0.5016, allocations: 0.6374 MB / 0.5278 GB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5016, allocations: 5.031 kB / 0.5278 GB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.5017, allocations: 21 kB / 0.5279 GB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5017, allocations: 6.328 kB / 0.5279 GB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.5017, allocations: 3.312 kB / 0.5279 GB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5017, allocations: 6.219 kB / 0.5279 GB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5017, allocations: 4.938 kB / 0.5279 GB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002907/0.502, allocations: 383.1 kB / 0.5282 GB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.5022, allocations: 137.2 kB / 0.5284 GB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.5022, allocations: 5.531 kB / 0.5284 GB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.5024, allocations: 13.36 kB / 0.5284 GB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.5024, allocations: 9.453 kB / 0.5284 GB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.5024, allocations: 9.781 kB / 0.5284 GB, free: 5.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003444/0.5028, allocations: 322.4 kB / 0.5287 GB, free: 4.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.5032, allocations: 79.39 kB / 0.5288 GB, free: 4.941 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001106/0.5043, allocations: 494 kB / 0.5293 GB, free: 4.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.5047, allocations: 239.5 kB / 0.5295 GB, free: 4.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5047, allocations: 1.531 kB / 0.5295 GB, free: 4.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.5048, allocations: 60.39 kB / 0.5296 GB, free: 4.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.5053, allocations: 49.45 kB / 0.5296 GB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009029/0.5062, allocations: 425.8 kB / 0.53 GB, free: 4.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.5066, allocations: 0.8176 MB / 0.5308 GB, free: 3.562 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5066, allocations: 0 / 0.5308 GB, free: 3.562 MB / 346.7 MB Notification: Performance of Templates: time 0.006583/0.5132, allocations: 3.311 MB / 0.534 GB, free: 0.9062 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)