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.Test44.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.Test44,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.Test44") Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005995/0.0005998, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3463, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4799, allocations: 75.86 MB / 407.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4802, allocations: 75.94 kB / 407.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01798/0.4982, allocations: 4.105 MB / 411.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4983, allocations: 0 / 411.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.4983, allocations: 0 / 411.8 MB, free: 14.4 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.0006041/0.4989, allocations: 432.7 kB / 412.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.499, allocations: 8.031 kB / 412.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.499, allocations: 7.906 kB / 412.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.4993, allocations: 210.8 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4994, allocations: 0 / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.4994, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.4996, allocations: 49.61 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4996, allocations: 0 / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4996, allocations: 0 / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4996, allocations: 8 kB / 412.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/0.4997, allocations: 12 kB / 412.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.5002, allocations: 296.8 kB / 412.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5004, allocations: 50.5 kB / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.5005, allocations: 0 / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.5006, allocations: 63.48 kB / 413 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.5007, allocations: 0 / 413 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005251/0.5012, allocations: 121.3 kB / 413.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.5012, allocations: 51.41 kB / 413.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.5015, allocations: 182.4 kB / 413.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.5016, allocations: 29.7 kB / 413.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.5017, allocations: 166.5 kB / 413.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.5017, allocations: 7.812 kB / 413.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.5017, allocations: 4 kB / 413.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5019, allocations: 326.8 kB / 413.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.502, allocations: 20 kB / 413.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.502, allocations: 23.98 kB / 413.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.5022, allocations: 57.72 kB / 413.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5022, allocations: 0 / 413.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002814/0.5025, allocations: 127.2 kB / 414.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.5025, allocations: 37.69 kB / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5025, allocations: 0 / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5026, allocations: 0 / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.5027, allocations: 12 kB / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5027, allocations: 0 / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.5028, allocations: 8.062 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.5028, allocations: 11.95 kB / 414.1 MB, free: 11.88 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.000137/0.503, allocations: 125.8 kB / 414.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.503, allocations: 7.906 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.5033, allocations: 85.98 kB / 414.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.5033, allocations: 4 kB / 414.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5033, allocations: 7.984 kB / 414.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5033, allocations: 0 / 414.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.5038, allocations: 358.5 kB / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5038, allocations: 0 / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.5039, allocations: 8 kB / 414.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.5039, allocations: 288 / 414.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.504, allocations: 7.984 kB / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.504, allocations: 0 / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.504, allocations: 0 / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.5042, allocations: 183.3 kB / 414.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.5043, allocations: 93 kB / 415 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.5044, allocations: 4 kB / 415 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.5045, allocations: 4 kB / 415 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.5046, allocations: 0 / 415 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.5046, allocations: 4 kB / 415 MB, free: 10.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.5048, allocations: 141.8 kB / 415.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5048, allocations: 4 kB / 415.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000387/0.5052, allocations: 51.77 kB / 415.2 MB, free: 10.7 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.001058/0.5062, allocations: 362.4 kB / 415.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.5066, allocations: 115.3 kB / 415.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5066, allocations: 0 / 415.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.5067, allocations: 20 kB / 415.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.507, allocations: 22.92 kB / 415.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.5076, allocations: 255.2 kB / 415.9 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.5079, allocations: 0.7043 MB / 416.7 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.508, allocations: 15.44 kB / 416.7 MB, free: 9.227 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.508, allocations: 4 kB / 416.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of Templates: time 0.00515/0.5132, allocations: 1.742 MB / 418.4 MB, free: 7.484 MB / 346.7 MB