Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") [: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.003289/0.003289, allocations: 184.4 kB / 7.46 MB, free: 2.238 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.343/1.343, allocations: 194.2 MB / 202.1 MB, free: 8.727 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.001678/0.001678, allocations: 116 kB / 247.1 MB, free: 6.375 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.1762/0.1762, allocations: 39.95 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.456e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.3831, allocations: 81.32 MB / 0.5166 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/0.3833, allocations: 68.28 kB / 0.5166 GB, free: 10.27 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.01238/0.3957, allocations: 4.674 MB / 0.5212 GB, free: 9.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3957, allocations: 6.344 kB / 0.5212 GB, free: 9.297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003764/0.3961, allocations: 473.8 kB / 0.5217 GB, free: 8.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3961, allocations: 9.719 kB / 0.5217 GB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.3962, allocations: 14.81 kB / 0.5217 GB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.3964, allocations: 221.4 kB / 0.5219 GB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3965, allocations: 6.25 kB / 0.5219 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3965, allocations: 3.969 kB / 0.5219 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.072e-05/0.3966, allocations: 29.77 kB / 0.5219 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.3967, allocations: 68.84 kB / 0.522 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3967, allocations: 1.156 kB / 0.522 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3967, allocations: 0 / 0.522 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3967, allocations: 5.141 kB / 0.522 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3971, allocations: 318.1 kB / 0.5223 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3972, allocations: 71.64 kB / 0.5224 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.3973, allocations: 28.27 kB / 0.5224 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.3973, allocations: 7.875 kB / 0.5224 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.962e-05/0.3974, allocations: 65.52 kB / 0.5225 GB, free: 8.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3974, allocations: 0 / 0.5225 GB, free: 8.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004243/0.3978, allocations: 177 kB / 0.5226 GB, free: 8.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.3978, allocations: 53.44 kB / 0.5227 GB, free: 8.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.398, allocations: 215.4 kB / 0.5229 GB, free: 7.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3981, allocations: 27.89 kB / 0.5229 GB, free: 7.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.3981, allocations: 105.2 kB / 0.523 GB, free: 7.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3981, allocations: 19.56 kB / 0.523 GB, free: 7.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.3981, allocations: 1.25 kB / 0.523 GB, free: 7.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.369e-05/0.3982, allocations: 330.1 kB / 0.5234 GB, free: 7.445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.3983, allocations: 38.41 kB / 0.5234 GB, free: 7.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.3983, allocations: 57.45 kB / 0.5235 GB, free: 7.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.3984, allocations: 40.23 kB / 0.5235 GB, free: 7.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3984, allocations: 0 / 0.5235 GB, free: 7.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002239/0.3987, allocations: 155.8 kB / 0.5236 GB, free: 7.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3987, allocations: 4.781 kB / 0.5236 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3987, allocations: 1.531 kB / 0.5236 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3987, allocations: 5.156 kB / 0.5237 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.3988, allocations: 21.28 kB / 0.5237 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3988, allocations: 6.172 kB / 0.5237 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.3989, allocations: 3.281 kB / 0.5237 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.3989, allocations: 5.062 kB / 0.5237 GB, free: 7.352 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 (12): * Single equations (assignments): 11 * 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.15e-05/0.399, allocations: 111.5 kB / 0.5238 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.399, allocations: 13.97 kB / 0.5238 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.3993, allocations: 136.3 kB / 0.5239 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3993, allocations: 1.594 kB / 0.5239 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3993, allocations: 7.906 kB / 0.5239 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3993, allocations: 1.469 kB / 0.5239 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.3997, allocations: 423.1 kB / 0.5244 GB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3997, allocations: 5.281 kB / 0.5244 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.3998, allocations: 11.94 kB / 0.5244 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3998, allocations: 0 / 0.5244 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3998, allocations: 6.906 kB / 0.5244 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3998, allocations: 3.984 kB / 0.5244 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3998, allocations: 5.406 kB / 0.5244 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001895/0.4, allocations: 221.5 kB / 0.5246 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.4001, allocations: 107.1 kB / 0.5247 GB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.4001, allocations: 13.33 kB / 0.5247 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.4002, allocations: 2.25 kB / 0.5247 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.4002, allocations: 11.81 kB / 0.5247 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4003, allocations: 7.953 kB / 0.5247 GB, free: 6.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001292/0.4004, allocations: 170.2 kB / 0.5249 GB, free: 6.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.4007, allocations: 40.88 kB / 0.5249 GB, free: 6.438 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 (11): * Single equations (assignments): 9 * 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.0006525/0.4014, allocations: 322.6 kB / 0.5252 GB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.4016, allocations: 132.9 kB / 0.5254 GB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4016, allocations: 4.062 kB / 0.5254 GB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/0.4017, allocations: 42.14 kB / 0.5254 GB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.4019, allocations: 16.02 kB / 0.5254 GB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.4024, allocations: 211 kB / 0.5256 GB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.4026, allocations: 0.7498 MB / 0.5264 GB, free: 5.324 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4026, allocations: 0 / 0.5264 GB, free: 5.324 MB / 346.7 MB Notification: Performance of Templates: time 0.004247/0.4069, allocations: 1.864 MB / 0.5282 GB, free: 4.398 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)