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.Test25.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.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.2 MB / 224.8 MB, free: 1.281 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004447, allocations: 12 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08803/0.0885, allocations: 48.7 MB / 331.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.4265, allocations: 75.87 MB / 407.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4268, allocations: 74.8 kB / 407.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.444, allocations: 4.064 MB / 411.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.199e-06/0.444, allocations: 0 / 411.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.444, allocations: 4 kB / 411.3 MB, free: 5.195 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.00059/0.4446, allocations: 432.6 kB / 411.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4447, allocations: 8.031 kB / 411.7 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.4448, allocations: 11.91 kB / 411.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.4451, allocations: 202.4 kB / 411.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4451, allocations: 0 / 411.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.4451, allocations: 7.984 kB / 411.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.4453, allocations: 49.61 kB / 412 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4453, allocations: 0 / 412 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4453, allocations: 0 / 412 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-06/0.4453, allocations: 0 / 412 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.4454, allocations: 19.98 kB / 412 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.4459, allocations: 300.8 kB / 412.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.4461, allocations: 46.5 kB / 412.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.4461, allocations: 0 / 412.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.4463, allocations: 59.48 kB / 412.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.192e-06/0.4463, allocations: 0 / 412.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004841/0.4468, allocations: 121.3 kB / 412.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4469, allocations: 55.36 kB / 412.6 MB, free: 3.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.4471, allocations: 165.6 kB / 412.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.4472, allocations: 29.7 kB / 412.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4473, allocations: 166.5 kB / 412.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.4473, allocations: 15.81 kB / 412.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-06/0.4473, allocations: 0 / 412.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4475, allocations: 322.8 kB / 413.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.4476, allocations: 19.94 kB / 413.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.4477, allocations: 23.98 kB / 413.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.891e-05/0.4478, allocations: 53.8 kB / 413.4 MB, free: 2.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-06/0.4478, allocations: 3.938 kB / 413.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002619/0.4481, allocations: 131.2 kB / 413.5 MB, free: 2.762 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.4481, allocations: 34.33 kB / 413.5 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4482, allocations: 3.984 kB / 413.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4482, allocations: 4 kB / 413.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.649e-05/0.4483, allocations: 8.062 kB / 413.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4483, allocations: 8 kB / 413.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.4484, allocations: 3.953 kB / 413.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.4484, allocations: 7.938 kB / 413.6 MB, free: 2.688 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.0001356/0.4485, allocations: 125.8 kB / 413.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.4486, allocations: 7.906 kB / 413.7 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.4489, allocations: 85.98 kB / 413.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.531e-06/0.4489, allocations: 0 / 413.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-06/0.4489, allocations: 0 / 413.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-06/0.4489, allocations: 4 kB / 413.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.4494, allocations: 362.5 kB / 414.1 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-06/0.4494, allocations: 4 kB / 414.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.4495, allocations: 4 kB / 414.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.822e-06/0.4495, allocations: 0 / 414.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4495, allocations: 4 kB / 414.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.65e-06/0.4496, allocations: 0 / 414.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.065e-06/0.4496, allocations: 3.953 kB / 414.1 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.4498, allocations: 183.7 kB / 414.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.4499, allocations: 85.02 kB / 414.4 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.45, allocations: 11.97 kB / 414.4 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.4501, allocations: 0 / 414.4 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.4501, allocations: 8 kB / 414.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4501, allocations: 3.953 kB / 414.4 MB, free: 1.707 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.4503, allocations: 142.3 kB / 414.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4503, allocations: 0 / 414.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.4507, allocations: 47.84 kB / 414.6 MB, free: 1.523 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.001181/0.4519, allocations: 370.5 kB / 415 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.4522, allocations: 115.3 kB / 415.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.071e-06/0.4522, allocations: 0 / 415.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.4523, allocations: 23.98 kB / 415.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.4526, allocations: 15.98 kB / 415.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.4532, allocations: 247.2 kB / 415.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4536, allocations: 0.7043 MB / 416.1 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.4537, allocations: 15.44 kB / 416.1 MB, free: 48 kB / 330.7 MB Notification: Performance of SimCode: time 1.516e-06/0.4537, allocations: 0 / 416.1 MB, free: 48 kB / 330.7 MB Notification: Performance of Templates: time 0.004434/0.4582, allocations: 1.751 MB / 417.8 MB, free: 14.3 MB / 346.7 MB