Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") [: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.003787/0.003787, allocations: 181.5 kB / 7.457 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.372/1.372, allocations: 194.2 MB / 202.1 MB, free: 8.816 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.001738/0.001738, allocations: 119.9 kB / 247.1 MB, free: 6.309 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.1671/0.1671, allocations: 39.94 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/9.958e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09794, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2887/0.3867, allocations: 81.32 MB / 0.5166 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.3869, allocations: 71.31 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.01269/0.3996, allocations: 4.489 MB / 0.521 GB, free: 9.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.3997, allocations: 6.5 kB / 0.521 GB, free: 9.383 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.0004068/0.4001, allocations: 469.4 kB / 0.5215 GB, free: 8.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4001, allocations: 8.594 kB / 0.5215 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.4002, allocations: 15.34 kB / 0.5215 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.4004, allocations: 223.7 kB / 0.5217 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4005, allocations: 1.844 kB / 0.5217 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4005, allocations: 3.656 kB / 0.5217 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.148e-05/0.4006, allocations: 31.39 kB / 0.5218 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.301e-05/0.4007, allocations: 49.89 kB / 0.5218 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4007, allocations: 0 / 0.5218 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.4007, allocations: 0 / 0.5218 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4007, allocations: 1.594 kB / 0.5218 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.401, allocations: 305.5 kB / 0.5221 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.4011, allocations: 54.88 kB / 0.5221 GB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.4012, allocations: 27.61 kB / 0.5222 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.4012, allocations: 0 / 0.5222 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.171e-05/0.4013, allocations: 58.44 kB / 0.5222 GB, free: 8.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4013, allocations: 0 / 0.5222 GB, free: 8.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000376/0.4017, allocations: 152.8 kB / 0.5224 GB, free: 8.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.4017, allocations: 56.53 kB / 0.5224 GB, free: 8.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.4019, allocations: 228.6 kB / 0.5226 GB, free: 8.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4019, allocations: 28.48 kB / 0.5227 GB, free: 7.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.402, allocations: 92.33 kB / 0.5228 GB, free: 7.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.402, allocations: 28.14 kB / 0.5228 GB, free: 7.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.402, allocations: 0 / 0.5228 GB, free: 7.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.402, allocations: 328.1 kB / 0.5231 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.4021, allocations: 30.94 kB / 0.5231 GB, free: 7.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.4022, allocations: 58.95 kB / 0.5232 GB, free: 7.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.4023, allocations: 37.11 kB / 0.5232 GB, free: 7.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4023, allocations: 1.219 kB / 0.5232 GB, free: 7.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002207/0.4025, allocations: 137.5 kB / 0.5234 GB, free: 7.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4025, allocations: 5.312 kB / 0.5234 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4025, allocations: 1.062 kB / 0.5234 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4025, allocations: 1.125 kB / 0.5234 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.4026, allocations: 21.33 kB / 0.5234 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4026, allocations: 1.688 kB / 0.5234 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.4027, allocations: 6.781 kB / 0.5234 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4027, allocations: 5.094 kB / 0.5234 GB, free: 7.457 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 5.366e-05/0.4028, allocations: 111.8 kB / 0.5235 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.4028, allocations: 17.16 kB / 0.5235 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.403, allocations: 106.8 kB / 0.5236 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.403, allocations: 5.297 kB / 0.5236 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.403, allocations: 0 / 0.5236 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.403, allocations: 0 / 0.5236 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.4034, allocations: 395.6 kB / 0.524 GB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4034, allocations: 0 / 0.524 GB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.4034, allocations: 12.45 kB / 0.524 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4034, allocations: 1.156 kB / 0.524 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4035, allocations: 2.312 kB / 0.524 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4035, allocations: 4.969 kB / 0.524 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4035, allocations: 3.938 kB / 0.524 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001483/0.4036, allocations: 212.3 kB / 0.5242 GB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.4037, allocations: 107.4 kB / 0.5243 GB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.4037, allocations: 1.438 kB / 0.5243 GB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.4038, allocations: 6.531 kB / 0.5243 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.4039, allocations: 6.766 kB / 0.5243 GB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.4039, allocations: 3.375 kB / 0.5243 GB, free: 6.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001232/0.404, allocations: 192.3 kB / 0.5245 GB, free: 6.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002679/0.4043, allocations: 40.2 kB / 0.5246 GB, free: 6.559 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.0005861/0.4049, allocations: 319.8 kB / 0.5249 GB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.405, allocations: 120.8 kB / 0.525 GB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4051, allocations: 0 / 0.525 GB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.998e-05/0.4051, allocations: 30.84 kB / 0.525 GB, free: 6.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.4054, allocations: 26.86 kB / 0.525 GB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.4058, allocations: 216.4 kB / 0.5253 GB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.4059, allocations: 0.7435 MB / 0.526 GB, free: 5.449 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.406, allocations: 0 / 0.526 GB, free: 5.449 MB / 346.7 MB Notification: Performance of Templates: time 0.003965/0.4099, allocations: 1.779 MB / 0.5277 GB, free: 4.559 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)