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.Test57.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.Test57,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.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.2 MB / 225.4 MB, free: 0.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004471, allocations: 16 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3397, allocations: 48.69 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.4757, allocations: 76.09 MB / 407.9 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.476, allocations: 79.95 kB / 408 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01997/0.496, allocations: 4.655 MB / 412.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.496, allocations: 0 / 412.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.4961, allocations: 4 kB / 412.6 MB, free: 13.62 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.0006092/0.4967, allocations: 420.7 kB / 413 MB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4968, allocations: 8.031 kB / 413 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.4968, allocations: 7.906 kB / 413.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.4971, allocations: 194.9 kB / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.4972, allocations: 7.984 kB / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.4972, allocations: 0 / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.4974, allocations: 63.39 kB / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.4975, allocations: 0 / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.4975, allocations: 4 kB / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.4975, allocations: 0 / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.011e-05/0.4976, allocations: 19.92 kB / 413.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.4981, allocations: 288.8 kB / 413.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.4984, allocations: 42.56 kB / 413.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4984, allocations: 3.984 kB / 413.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.4986, allocations: 67.36 kB / 413.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.445e-06/0.4986, allocations: 0 / 413.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005285/0.4992, allocations: 117.4 kB / 413.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.4992, allocations: 81.11 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.4995, allocations: 141.7 kB / 414.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4995, allocations: 25.7 kB / 414.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.4996, allocations: 158.6 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.4996, allocations: 19.73 kB / 414.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.4996, allocations: 0 / 414.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4998, allocations: 318.8 kB / 414.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.4999, allocations: 15.98 kB / 414.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.5, allocations: 37.72 kB / 414.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.5001, allocations: 57.72 kB / 414.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.5001, allocations: 0 / 414.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000268/0.5004, allocations: 115.3 kB / 414.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.5004, allocations: 34.31 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5004, allocations: 0 / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5005, allocations: 4 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.5006, allocations: 12 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5006, allocations: 0 / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.5007, allocations: 4.031 kB / 414.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.5007, allocations: 7.953 kB / 414.9 MB, free: 11.14 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.0001291/0.5008, allocations: 125.8 kB / 415 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.5009, allocations: 3.906 kB / 415 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.5012, allocations: 85.64 kB / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5012, allocations: 0 / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5012, allocations: 4 kB / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5012, allocations: 0 / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.5017, allocations: 350.5 kB / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5017, allocations: 0 / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.5018, allocations: 4 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.5018, allocations: 288 / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.5018, allocations: 7.984 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5019, allocations: 0 / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5019, allocations: 0 / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.5021, allocations: 183.6 kB / 415.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.5022, allocations: 92.92 kB / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.5022, allocations: 7.938 kB / 415.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.5023, allocations: 0 / 415.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.5024, allocations: 8 kB / 415.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.5024, allocations: 3.984 kB / 415.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.5026, allocations: 107.2 kB / 415.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5026, allocations: 0 / 415.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004076/0.503, allocations: 55.91 kB / 415.9 MB, free: 10.01 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.001297/0.5043, allocations: 449.9 kB / 416.3 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.5046, allocations: 111.3 kB / 416.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5046, allocations: 3.938 kB / 416.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/0.5047, allocations: 23.94 kB / 416.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.5051, allocations: 15.98 kB / 416.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.5056, allocations: 199.5 kB / 416.7 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5059, allocations: 0.6926 MB / 417.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.506, allocations: 19.42 kB / 417.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.506, allocations: 0 / 417.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of Templates: time 0.005618/0.5117, allocations: 1.885 MB / 419.3 MB, free: 6.637 MB / 346.7 MB