Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.136/2.136, allocations: 209.2 MB / 225.4 MB, free: 1.559 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006069/0.0006073, allocations: 12 kB / 283.1 MB, free: 9.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1446, allocations: 48.72 MB / 331.8 MB, free: 9.012 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5516, allocations: 75.85 MB / 407.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5519, allocations: 71.97 kB / 407.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.5693, allocations: 4.154 MB / 411.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5693, allocations: 4 kB / 411.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.5693, allocations: 8 kB / 411.9 MB, free: 5.141 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.0005915/0.5699, allocations: 436.5 kB / 412.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.57, allocations: 8.031 kB / 412.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.5701, allocations: 7.906 kB / 412.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.5704, allocations: 206.1 kB / 412.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5704, allocations: 4 kB / 412.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.5704, allocations: 0 / 412.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5706, allocations: 49.67 kB / 412.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5706, allocations: 4 kB / 412.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5706, allocations: 0 / 412.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5706, allocations: 0 / 412.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.5707, allocations: 15.98 kB / 412.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.5712, allocations: 300.8 kB / 412.9 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.5715, allocations: 42.5 kB / 413 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.5715, allocations: 8 kB / 413 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.5716, allocations: 55.48 kB / 413 MB, free: 3.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.087e-06/0.5717, allocations: 3.984 kB / 413 MB, free: 3.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004921/0.5722, allocations: 121.2 kB / 413.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.5722, allocations: 59.36 kB / 413.2 MB, free: 3.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.5725, allocations: 190.2 kB / 413.4 MB, free: 3.465 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5725, allocations: 29.7 kB / 413.4 MB, free: 3.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.5726, allocations: 166.6 kB / 413.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.5727, allocations: 23.73 kB / 413.6 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.5727, allocations: 3.938 kB / 413.6 MB, free: 3.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5728, allocations: 314.8 kB / 413.9 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.5729, allocations: 20 kB / 413.9 MB, free: 2.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.573, allocations: 27.92 kB / 414 MB, free: 2.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.5731, allocations: 53.7 kB / 414 MB, free: 2.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5731, allocations: 3.984 kB / 414 MB, free: 2.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002692/0.5734, allocations: 123.4 kB / 414.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.5735, allocations: 37.69 kB / 414.2 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5735, allocations: 0 / 414.2 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5735, allocations: 64 / 414.2 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.5736, allocations: 15.94 kB / 414.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5736, allocations: 4 kB / 414.2 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.5737, allocations: 7.953 kB / 414.2 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.5737, allocations: 4 kB / 414.2 MB, free: 2.605 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.0001249/0.5738, allocations: 125.8 kB / 414.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.5739, allocations: 7.906 kB / 414.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.5742, allocations: 93.89 kB / 414.4 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.5742, allocations: 11.92 kB / 414.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5742, allocations: 0 / 414.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5742, allocations: 0 / 414.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.5747, allocations: 354.5 kB / 414.8 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5747, allocations: 0 / 414.8 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.5748, allocations: 11.98 kB / 414.8 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5748, allocations: 0 / 414.8 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5748, allocations: 8 kB / 414.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5748, allocations: 0 / 414.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5748, allocations: 3.953 kB / 414.8 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.5751, allocations: 179.4 kB / 415 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.5752, allocations: 85.02 kB / 415.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.5752, allocations: 4 kB / 415.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.5753, allocations: 0 / 415.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.5754, allocations: 15.94 kB / 415.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.5754, allocations: 4.188 kB / 415.1 MB, free: 1.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001915/0.5756, allocations: 152.9 kB / 415.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5756, allocations: 0 / 415.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.576, allocations: 35.88 kB / 415.3 MB, free: 1.43 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.001017/0.577, allocations: 383.2 kB / 415.6 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.5773, allocations: 111.3 kB / 415.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5773, allocations: 0 / 415.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.5773, allocations: 19.98 kB / 415.8 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.5776, allocations: 11.98 kB / 415.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.5782, allocations: 271.2 kB / 416.1 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.5786, allocations: 0.7005 MB / 416.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.5787, allocations: 15.42 kB / 416.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5787, allocations: 4 kB / 416.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of Templates: time 0.00496/0.5837, allocations: 1.778 MB / 418.6 MB, free: 14.16 MB / 346.7 MB