Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") [: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.003643/0.003643, allocations: 184.8 kB / 7.459 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.374/1.374, allocations: 194.2 MB / 202.1 MB, free: 8.645 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.001658/0.001658, allocations: 120.8 kB / 247.1 MB, free: 6.328 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.1636/0.1636, allocations: 39.94 MB / 331.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.336e-06, allocations: 4 kB / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.09754, allocations: 54.87 MB / 447.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/0.3919, allocations: 81.3 MB / 0.5166 GB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.3922, allocations: 70.69 kB / 0.5166 GB, free: 10.31 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.4047, allocations: 4.382 MB / 0.5209 GB, free: 9.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.4048, allocations: 1.312 kB / 0.5209 GB, free: 9.469 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.0004331/0.4052, allocations: 474.3 kB / 0.5214 GB, free: 8.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4052, allocations: 8.812 kB / 0.5214 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.4053, allocations: 14 kB / 0.5214 GB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.4056, allocations: 209.3 kB / 0.5216 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4056, allocations: 1.5 kB / 0.5216 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.4056, allocations: 8.484 kB / 0.5216 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.82e-05/0.4057, allocations: 23.25 kB / 0.5216 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.4058, allocations: 53.61 kB / 0.5217 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4058, allocations: 3.906 kB / 0.5217 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4059, allocations: 0 / 0.5217 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4059, allocations: 1.5 kB / 0.5217 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.4063, allocations: 304.7 kB / 0.522 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.4064, allocations: 50.48 kB / 0.522 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.4064, allocations: 25.94 kB / 0.522 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4065, allocations: 0 / 0.522 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.725e-05/0.4066, allocations: 59 kB / 0.5221 GB, free: 8.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4066, allocations: 0 / 0.5221 GB, free: 8.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004716/0.407, allocations: 146.9 kB / 0.5222 GB, free: 8.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.4071, allocations: 51.41 kB / 0.5223 GB, free: 8.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.4073, allocations: 192 kB / 0.5225 GB, free: 8.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4073, allocations: 32.39 kB / 0.5225 GB, free: 8.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.4074, allocations: 96 kB / 0.5226 GB, free: 7.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.4074, allocations: 26.36 kB / 0.5226 GB, free: 7.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.4074, allocations: 2.062 kB / 0.5226 GB, free: 7.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.4075, allocations: 323 kB / 0.5229 GB, free: 7.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.4076, allocations: 35.69 kB / 0.523 GB, free: 7.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.4076, allocations: 51.02 kB / 0.523 GB, free: 7.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.4077, allocations: 43.52 kB / 0.523 GB, free: 7.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.4077, allocations: 0 / 0.523 GB, free: 7.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00022/0.408, allocations: 131.9 kB / 0.5232 GB, free: 7.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.408, allocations: 6.312 kB / 0.5232 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.408, allocations: 0 / 0.5232 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.408, allocations: 0.9688 kB / 0.5232 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4081, allocations: 21.52 kB / 0.5232 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4081, allocations: 1.094 kB / 0.5232 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/0.4082, allocations: 2.906 kB / 0.5232 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4082, allocations: 8.812 kB / 0.5232 GB, free: 7.562 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.84e-05/0.4083, allocations: 108.7 kB / 0.5233 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.4083, allocations: 16.69 kB / 0.5233 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.4086, allocations: 106.8 kB / 0.5234 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4086, allocations: 2.531 kB / 0.5234 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4086, allocations: 3.938 kB / 0.5234 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4086, allocations: 0 / 0.5234 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.4089, allocations: 385.9 kB / 0.5238 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.409, allocations: 1.25 kB / 0.5238 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.409, allocations: 12.62 kB / 0.5238 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.409, allocations: 5.391 kB / 0.5238 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.409, allocations: 5.172 kB / 0.5238 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.409, allocations: 5.094 kB / 0.5238 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.409, allocations: 5.188 kB / 0.5238 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001587/0.4092, allocations: 207.8 kB / 0.524 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.4093, allocations: 102.6 kB / 0.5241 GB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.4093, allocations: 4.938 kB / 0.5241 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.4094, allocations: 2.031 kB / 0.5241 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.4094, allocations: 7.141 kB / 0.5242 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4095, allocations: 3.5 kB / 0.5242 GB, free: 6.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001126/0.4096, allocations: 157.8 kB / 0.5243 GB, free: 6.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.4099, allocations: 50.61 kB / 0.5244 GB, free: 6.66 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.0006651/0.4105, allocations: 321.8 kB / 0.5247 GB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4108, allocations: 117.5 kB / 0.5248 GB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4108, allocations: 1.281 kB / 0.5248 GB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.4108, allocations: 30.22 kB / 0.5248 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.4111, allocations: 17.45 kB / 0.5248 GB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.4116, allocations: 188.3 kB / 0.525 GB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.4118, allocations: 0.7355 MB / 0.5257 GB, free: 5.566 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4118, allocations: 0 / 0.5257 GB, free: 5.566 MB / 346.7 MB Notification: Performance of Templates: time 0.004394/0.4162, allocations: 1.719 MB / 0.5274 GB, free: 4.711 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)