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.Test40.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.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007241/0.0007243, allocations: 12 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3295, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4566, allocations: 75.87 MB / 407.2 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4569, allocations: 75.95 kB / 407.2 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.4741, allocations: 4.137 MB / 411.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.222e-06/0.4741, allocations: 0 / 411.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4741, allocations: 8 kB / 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.0006068/0.4748, allocations: 436.6 kB / 411.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4748, allocations: 8.031 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.4749, allocations: 7.906 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.4752, allocations: 206.8 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.4752, allocations: 4 kB / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.4753, allocations: 3.984 kB / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4754, allocations: 41.69 kB / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4755, allocations: 8 kB / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4755, allocations: 0 / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-06/0.4755, allocations: 0 / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.52e-05/0.4756, allocations: 15.98 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.4761, allocations: 300.8 kB / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.4763, allocations: 42.5 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4763, allocations: 8 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.4765, allocations: 55.48 kB / 412.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.341e-06/0.4765, allocations: 0 / 412.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004795/0.477, allocations: 121.5 kB / 412.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4771, allocations: 59.34 kB / 412.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.4773, allocations: 177.4 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4774, allocations: 25.7 kB / 412.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.4775, allocations: 166.6 kB / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.4775, allocations: 23.67 kB / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-06/0.4775, allocations: 4 kB / 413 MB, free: 12.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4777, allocations: 314.8 kB / 413.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.4778, allocations: 23.98 kB / 413.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.4779, allocations: 27.92 kB / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.978e-05/0.478, allocations: 53.7 kB / 413.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-06/0.478, allocations: 0 / 413.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002608/0.4783, allocations: 119.4 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.4783, allocations: 37.7 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4784, allocations: 4 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4784, allocations: 7.969 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.4785, allocations: 8 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.513e-06/0.4785, allocations: 3.984 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.4786, allocations: 4 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.4786, allocations: 4 kB / 413.6 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.0001385/0.4787, allocations: 125.8 kB / 413.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.4788, allocations: 11.91 kB / 413.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.4791, allocations: 97.83 kB / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-06/0.4791, allocations: 0 / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.171e-06/0.4791, allocations: 0 / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4791, allocations: 0 / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.4796, allocations: 370.6 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-06/0.4797, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.4797, allocations: 8.094 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.219e-06/0.4797, allocations: 3.938 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4797, allocations: 0 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.46e-06/0.4798, allocations: 4 kB / 414.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.919e-06/0.4798, allocations: 0 / 414.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.48, allocations: 187.3 kB / 414.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.4801, allocations: 85.02 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.4802, allocations: 0 / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4803, allocations: 11.98 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.4803, allocations: 4 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4804, allocations: 4 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.4806, allocations: 149 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.948e-06/0.4806, allocations: 0 / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.481, allocations: 47.81 kB / 414.7 MB, free: 10.64 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.001195/0.4822, allocations: 360.5 kB / 415.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.4825, allocations: 123.3 kB / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4825, allocations: 0 / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.251e-05/0.4826, allocations: 16 kB / 415.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.4829, allocations: 15.98 kB / 415.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.4834, allocations: 263.2 kB / 415.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.4839, allocations: 0.7082 MB / 416.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.4839, allocations: 15.44 kB / 416.2 MB, free: 9.152 MB / 346.7 MB Notification: Performance of SimCode: time 1.505e-06/0.484, allocations: 0 / 416.2 MB, free: 9.152 MB / 346.7 MB Notification: Performance of Templates: time 0.004385/0.4883, allocations: 1.776 MB / 418 MB, free: 7.387 MB / 346.7 MB