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.Test41.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.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 19.94 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3318, allocations: 48.7 MB / 331.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4461, allocations: 75.87 MB / 407.2 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4463, allocations: 67.97 kB / 407.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.4634, allocations: 4.153 MB / 411.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.637e-06/0.4635, allocations: 0 / 411.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.4635, allocations: 0 / 411.4 MB, free: 14.34 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006195/0.4641, allocations: 440.5 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4642, allocations: 12.03 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.4642, allocations: 7.906 kB / 411.8 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.4645, allocations: 198.9 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4646, allocations: 4 kB / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.4646, allocations: 4 kB / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.4647, allocations: 45.67 kB / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4648, allocations: 0 / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4648, allocations: 4 kB / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4648, allocations: 0 / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.199e-05/0.4649, allocations: 19.92 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.4654, allocations: 300.8 kB / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.4656, allocations: 42.56 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.4656, allocations: 0 / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.4658, allocations: 67.42 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.181e-06/0.4658, allocations: 0 / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004645/0.4663, allocations: 117.3 kB / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.4663, allocations: 55.34 kB / 412.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.4666, allocations: 185.3 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.4666, allocations: 29.7 kB / 412.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4668, allocations: 162.6 kB / 413 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.4668, allocations: 23.67 kB / 413.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.4668, allocations: 0 / 413.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.467, allocations: 322.8 kB / 413.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.4671, allocations: 23.98 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.4672, allocations: 23.98 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.4673, allocations: 53.69 kB / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-06/0.4673, allocations: 0 / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002656/0.4676, allocations: 131.3 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.4676, allocations: 34.33 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-06/0.4676, allocations: 0 / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4677, allocations: 0 / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.4677, allocations: 8 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.48e-06/0.4678, allocations: 4.141 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.4678, allocations: 12.05 kB / 413.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.4679, allocations: 0 / 413.7 MB, free: 11.82 MB / 346.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.0001373/0.468, allocations: 133.8 kB / 413.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.4681, allocations: 7.906 kB / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.4683, allocations: 101.8 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.305e-06/0.4683, allocations: 0 / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.515e-06/0.4684, allocations: 0 / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.915e-06/0.4684, allocations: 0 / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.4689, allocations: 362.5 kB / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-06/0.4689, allocations: 4 kB / 414.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.469, allocations: 4 kB / 414.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.24e-06/0.469, allocations: 4.094 kB / 414.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.469, allocations: 7.938 kB / 414.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.376e-06/0.469, allocations: 0 / 414.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.232e-06/0.469, allocations: 0 / 414.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.4693, allocations: 175.4 kB / 414.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.4694, allocations: 93.02 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.4694, allocations: 0 / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.932e-05/0.4695, allocations: 11.98 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.4696, allocations: 0 / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4696, allocations: 4 kB / 414.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.4698, allocations: 148.9 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.177e-06/0.4698, allocations: 0 / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003859/0.4702, allocations: 47.81 kB / 414.7 MB, free: 10.63 MB / 346.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.001188/0.4714, allocations: 375.4 kB / 415.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.4717, allocations: 115.4 kB / 415.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.809e-06/0.4717, allocations: 0 / 415.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.924e-05/0.4718, allocations: 19.94 kB / 415.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.4721, allocations: 15.98 kB / 415.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.4727, allocations: 259.3 kB / 415.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.4731, allocations: 0.7043 MB / 416.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.4732, allocations: 19.42 kB / 416.2 MB, free: 9.141 MB / 346.7 MB Notification: Performance of SimCode: time 1.486e-06/0.4732, allocations: 0 / 416.2 MB, free: 9.141 MB / 346.7 MB Notification: Performance of Templates: time 0.004421/0.4776, allocations: 1.785 MB / 418 MB, free: 7.367 MB / 346.7 MB