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.Test54.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.Test54,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.Test54") Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.000427, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3522, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.5408, allocations: 75.86 MB / 407.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004076/0.5413, allocations: 71.97 kB / 407.7 MB, free: 2.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03064/0.572, allocations: 4.223 MB / 412 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.572, allocations: 0 / 412 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.5721, allocations: 0 / 412 MB, free: 14.3 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.0008488/0.5729, allocations: 436.5 kB / 412.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.573, allocations: 8.031 kB / 412.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.5731, allocations: 15.91 kB / 412.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.5736, allocations: 202.8 kB / 412.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.5737, allocations: 4 kB / 412.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.5737, allocations: 4 kB / 412.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.574, allocations: 45.62 kB / 412.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.574, allocations: 0 / 412.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.5741, allocations: 4 kB / 412.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.5741, allocations: 0 / 412.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.5742, allocations: 11.98 kB / 412.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.5751, allocations: 304.8 kB / 413 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.5756, allocations: 46.5 kB / 413 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5756, allocations: 0 / 413 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.5759, allocations: 63.48 kB / 413.1 MB, free: 13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.767e-06/0.5759, allocations: 0 / 413.1 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008932/0.5769, allocations: 125.5 kB / 413.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.577, allocations: 51.41 kB / 413.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.5775, allocations: 215.3 kB / 413.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.5776, allocations: 29.7 kB / 413.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.5777, allocations: 166.5 kB / 413.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.5778, allocations: 11.91 kB / 413.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.5778, allocations: 0 / 413.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.578, allocations: 318.8 kB / 414 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.5782, allocations: 31.92 kB / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.5783, allocations: 19.98 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.5785, allocations: 53.73 kB / 414.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.5786, allocations: 0 / 414.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004735/0.5791, allocations: 135.2 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.5791, allocations: 33.7 kB / 414.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.5792, allocations: 0 / 414.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.5792, allocations: 3.984 kB / 414.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.5794, allocations: 8 kB / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.5794, allocations: 0 / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.5796, allocations: 11.98 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.5796, allocations: 11.89 kB / 414.3 MB, free: 11.73 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.0002138/0.5798, allocations: 129.8 kB / 414.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.5799, allocations: 7.906 kB / 414.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.5803, allocations: 86.67 kB / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5804, allocations: 0 / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5804, allocations: 4 kB / 414.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5804, allocations: 3.984 kB / 414.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/0.5812, allocations: 374.4 kB / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5812, allocations: 192 / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.5813, allocations: 12 kB / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5814, allocations: 0 / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.5814, allocations: 0 / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5814, allocations: 0 / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5814, allocations: 0 / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.5818, allocations: 183.3 kB / 415.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.582, allocations: 96.95 kB / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.582, allocations: 0 / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.5822, allocations: 4 kB / 415.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.5823, allocations: 7.984 kB / 415.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.5823, allocations: 0 / 415.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003287/0.5827, allocations: 159.9 kB / 415.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.5827, allocations: 0 / 415.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.5834, allocations: 39.98 kB / 415.4 MB, free: 10.54 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.001594/0.585, allocations: 382.7 kB / 415.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.5854, allocations: 115.3 kB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5854, allocations: 0 / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5856, allocations: 20 kB / 415.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.5861, allocations: 15.89 kB / 415.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009462/0.5871, allocations: 275.4 kB / 416.2 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.5875, allocations: 0.7043 MB / 416.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5876, allocations: 23.42 kB / 416.9 MB, free: 9.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5877, allocations: 0 / 416.9 MB, free: 9.02 MB / 346.7 MB Notification: Performance of Templates: time 0.008241/0.5959, allocations: 1.805 MB / 418.7 MB, free: 7.219 MB / 346.7 MB