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.Test55.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.Test55,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.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004404, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3112, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4255, allocations: 76.09 MB / 407.4 MB, free: 2.352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4258, allocations: 79.89 kB / 407.5 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01853/0.4443, allocations: 4.651 MB / 412.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.546e-06/0.4444, allocations: 0 / 412.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.4444, allocations: 4 kB / 412.1 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.000554/0.445, allocations: 416.8 kB / 412.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.445, allocations: 12.02 kB / 412.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.4451, allocations: 7.906 kB / 412.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.4454, allocations: 194.9 kB / 412.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4454, allocations: 0 / 412.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.4454, allocations: 4 kB / 412.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4456, allocations: 59.39 kB / 412.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4456, allocations: 3.938 kB / 412.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4456, allocations: 0 / 412.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-06/0.4456, allocations: 4 kB / 412.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.86e-05/0.4457, allocations: 12 kB / 412.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.4462, allocations: 284.8 kB / 413.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.4464, allocations: 50.48 kB / 413.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.4465, allocations: 3.984 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.4466, allocations: 63.38 kB / 413.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.43e-06/0.4466, allocations: 4 kB / 413.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004595/0.4471, allocations: 117.4 kB / 413.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.4472, allocations: 77.11 kB / 413.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4474, allocations: 130.1 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.4474, allocations: 29.7 kB / 413.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.4475, allocations: 154.6 kB / 413.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.4476, allocations: 23.73 kB / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.4476, allocations: 0 / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4478, allocations: 314.8 kB / 414 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.4478, allocations: 27.98 kB / 414.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.4479, allocations: 29.72 kB / 414.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.448, allocations: 53.69 kB / 414.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-06/0.448, allocations: 0 / 414.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002502/0.4483, allocations: 115.3 kB / 414.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.4484, allocations: 37.69 kB / 414.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-06/0.4484, allocations: 0 / 414.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4484, allocations: 0 / 414.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.4485, allocations: 8 kB / 414.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.559e-06/0.4485, allocations: 4.031 kB / 414.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.4486, allocations: 8 kB / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4486, allocations: 4 kB / 414.3 MB, free: 11.16 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.0001362/0.4488, allocations: 125.7 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.4488, allocations: 7.906 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.449, allocations: 86.02 kB / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.4491, allocations: 3.938 kB / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-06/0.4491, allocations: 4 kB / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.732e-06/0.4491, allocations: 3.984 kB / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.4496, allocations: 346.7 kB / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.246e-06/0.4496, allocations: 4 kB / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.4497, allocations: 8 kB / 414.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.809e-06/0.4497, allocations: 0 / 414.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4497, allocations: 3.984 kB / 414.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.221e-06/0.4497, allocations: 0 / 414.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-06/0.4497, allocations: 0 / 414.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.45, allocations: 179.3 kB / 415.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.4501, allocations: 96.94 kB / 415.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.4501, allocations: 0 / 415.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.4502, allocations: 4 kB / 415.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.4503, allocations: 0 / 415.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4503, allocations: 7.984 kB / 415.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.4504, allocations: 111.8 kB / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.59e-07/0.4505, allocations: 0 / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.4509, allocations: 59.86 kB / 415.3 MB, free: 10.02 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.001442/0.4523, allocations: 444.9 kB / 415.8 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.4526, allocations: 111.3 kB / 415.9 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.443e-06/0.4526, allocations: 3.938 kB / 415.9 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.4527, allocations: 16 kB / 415.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.453, allocations: 15.98 kB / 415.9 MB, free: 9.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.4535, allocations: 195.6 kB / 416.1 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.4539, allocations: 0.6965 MB / 416.8 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.454, allocations: 11.44 kB / 416.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of SimCode: time 1.979e-06/0.454, allocations: 4 kB / 416.8 MB, free: 8.543 MB / 346.7 MB Notification: Performance of Templates: time 0.004841/0.4589, allocations: 1.896 MB / 418.7 MB, free: 6.656 MB / 346.7 MB