Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.092/2.092, allocations: 209.2 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004542, allocations: 19.94 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08813, allocations: 48.71 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.4415, allocations: 75.86 MB / 407.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/0.4419, allocations: 75.95 kB / 407.2 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02936/0.4713, allocations: 4.338 MB / 411.6 MB, free: 4.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.289e-06/0.4714, allocations: 0 / 411.6 MB, free: 4.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.744e-05/0.4714, allocations: 8 kB / 411.6 MB, free: 4.902 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009429/0.4724, allocations: 444.5 kB / 412 MB, free: 4.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.4725, allocations: 8.031 kB / 412 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.4726, allocations: 19.75 kB / 412 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.4731, allocations: 210.8 kB / 412.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4732, allocations: 0 / 412.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.4732, allocations: 8 kB / 412.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.4734, allocations: 41.69 kB / 412.3 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4735, allocations: 7.984 kB / 412.3 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4735, allocations: 4 kB / 412.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.4736, allocations: 0 / 412.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.4737, allocations: 12 kB / 412.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000822/0.4745, allocations: 312.7 kB / 412.6 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.4749, allocations: 42.56 kB / 412.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.475, allocations: 4 kB / 412.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.4752, allocations: 67.47 kB / 412.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.059e-06/0.4752, allocations: 0 / 412.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008175/0.4761, allocations: 125.2 kB / 412.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.4762, allocations: 59.3 kB / 412.9 MB, free: 3.375 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006275/0.4768, allocations: 226.6 kB / 413.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.4769, allocations: 25.7 kB / 413.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.4771, allocations: 182.5 kB / 413.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.4772, allocations: 7.906 kB / 413.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.4772, allocations: 0 / 413.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.4775, allocations: 326.7 kB / 413.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.4776, allocations: 20 kB / 413.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4778, allocations: 23.98 kB / 413.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.478, allocations: 53.69 kB / 413.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-06/0.478, allocations: 0 / 413.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005121/0.4785, allocations: 131.2 kB / 413.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.4786, allocations: 33.69 kB / 413.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.239e-06/0.4787, allocations: 4 kB / 413.9 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.4787, allocations: 0 / 413.9 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4788, allocations: 8 kB / 413.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4789, allocations: 4 kB / 413.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.479, allocations: 3.953 kB / 413.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4791, allocations: 4 kB / 413.9 MB, free: 2.289 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 0.0002572/0.4794, allocations: 133.8 kB / 414.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.4794, allocations: 7.906 kB / 414.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.4799, allocations: 106.5 kB / 414.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.48, allocations: 0 / 414.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.48, allocations: 0 / 414.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.219e-06/0.48, allocations: 4 kB / 414.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.481, allocations: 374.5 kB / 414.5 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-06/0.481, allocations: 4 kB / 414.5 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.4811, allocations: 8.031 kB / 414.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.393e-06/0.4812, allocations: 3.938 kB / 414.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.4812, allocations: 4 kB / 414.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.976e-06/0.4812, allocations: 4 kB / 414.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.893e-06/0.4812, allocations: 3.953 kB / 414.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.4817, allocations: 171.6 kB / 414.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.4819, allocations: 100.9 kB / 414.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.482, allocations: 4.062 kB / 414.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4822, allocations: 3.984 kB / 414.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.4823, allocations: 8 kB / 414.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.4823, allocations: 11.95 kB / 414.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004596/0.4828, allocations: 185.1 kB / 415 MB, free: 1.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.4828, allocations: 0 / 415 MB, free: 1.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00086/0.4837, allocations: 43.88 kB / 415.1 MB, free: 1.027 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002084/0.4858, allocations: 366.2 kB / 415.4 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.4863, allocations: 119.4 kB / 415.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4863, allocations: 0 / 415.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.4865, allocations: 19.98 kB / 415.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.4871, allocations: 16.12 kB / 415.6 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.4882, allocations: 307.5 kB / 415.9 MB, free: 252 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.4889, allocations: 0.716 MB / 416.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.992e-05/0.4891, allocations: 15.42 kB / 416.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of SimCode: time 2.405e-06/0.4891, allocations: 0 / 416.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of Templates: time 0.008378/0.4975, allocations: 1.917 MB / 418.5 MB, free: 13.58 MB / 346.7 MB