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.Test59.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.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 1.914/1.914, allocations: 209.3 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004337, allocations: 16 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 48.71 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.48, allocations: 76.08 MB / 407.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4803, allocations: 79.95 kB / 408 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01984/0.5002, allocations: 4.653 MB / 412.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5002, allocations: 3.938 kB / 412.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.5003, allocations: 0 / 412.6 MB, free: 13.63 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.0005711/0.5008, allocations: 419.9 kB / 413 MB, free: 13.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5009, allocations: 12.03 kB / 413.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.501, allocations: 7.906 kB / 413.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5012, allocations: 186.9 kB / 413.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5013, allocations: 0 / 413.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.5013, allocations: 8 kB / 413.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.5015, allocations: 67.33 kB / 413.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5015, allocations: 0 / 413.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5015, allocations: 0 / 413.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5015, allocations: 0 / 413.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.5016, allocations: 15.98 kB / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.5021, allocations: 280.8 kB / 413.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.5024, allocations: 58.44 kB / 413.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.5024, allocations: 3.938 kB / 413.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.5025, allocations: 55.48 kB / 413.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.5026, allocations: 4 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005096/0.5031, allocations: 109.4 kB / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5032, allocations: 77.11 kB / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5034, allocations: 149.6 kB / 414.1 MB, free: 12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5034, allocations: 29.7 kB / 414.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.5035, allocations: 158.5 kB / 414.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.5035, allocations: 19.75 kB / 414.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.5035, allocations: 0 / 414.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5037, allocations: 314.8 kB / 414.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.5037, allocations: 19.98 kB / 414.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.538e-05/0.5038, allocations: 37.7 kB / 414.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.504, allocations: 61.62 kB / 414.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.504, allocations: 0 / 414.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002687/0.5042, allocations: 111.4 kB / 414.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.5043, allocations: 37.7 kB / 414.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5043, allocations: 0 / 414.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5043, allocations: 0 / 414.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.5044, allocations: 11.98 kB / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5045, allocations: 3.938 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.5045, allocations: 4 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5046, allocations: 11.98 kB / 414.9 MB, free: 11.15 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.0001134/0.5047, allocations: 113.8 kB / 415 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.5047, allocations: 7.906 kB / 415 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.505, allocations: 85.64 kB / 415.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.505, allocations: 4.359 kB / 415.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5051, allocations: 4.062 kB / 415.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5051, allocations: 4 kB / 415.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.5056, allocations: 350.5 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5056, allocations: 3.984 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.5057, allocations: 8 kB / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5057, allocations: 0 / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5057, allocations: 0 / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.5057, allocations: 4 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5057, allocations: 3.938 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.506, allocations: 179.3 kB / 415.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.506, allocations: 89.02 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.5061, allocations: 0 / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.5062, allocations: 4 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.5063, allocations: 11.98 kB / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5063, allocations: 0 / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.5064, allocations: 111.2 kB / 415.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5064, allocations: 0 / 415.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.5068, allocations: 47.94 kB / 415.9 MB, free: 10.03 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.001292/0.5081, allocations: 465.5 kB / 416.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.5084, allocations: 107.3 kB / 416.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5085, allocations: 0 / 416.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.5085, allocations: 19.98 kB / 416.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.5089, allocations: 15.98 kB / 416.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.5094, allocations: 191.6 kB / 416.7 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.5097, allocations: 0.6965 MB / 417.3 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.5098, allocations: 19.42 kB / 417.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5098, allocations: 0 / 417.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of Templates: time 0.005497/0.5153, allocations: 1.885 MB / 419.3 MB, free: 6.656 MB / 346.7 MB