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.Test45.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.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 1.948/1.948, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.14e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08616, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3527/0.4389, allocations: 75.77 MB / 402.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4392, allocations: 76.55 kB / 402.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01556/0.4548, allocations: 4.072 MB / 406.5 MB, free: 8.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.177e-06/0.4548, allocations: 4 kB / 406.5 MB, free: 8.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.4548, allocations: 0 / 406.5 MB, free: 8.449 MB / 314.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.000373/0.4552, allocations: 426.3 kB / 406.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.4553, allocations: 7.656 kB / 406.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.4553, allocations: 7.625 kB / 406.9 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.4556, allocations: 194.7 kB / 407.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4556, allocations: 3.844 kB / 407.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.4556, allocations: 0 / 407.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.4557, allocations: 55.28 kB / 407.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4558, allocations: 0 / 407.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4558, allocations: 0 / 407.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4558, allocations: 0 / 407.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.4559, allocations: 19.27 kB / 407.2 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.4562, allocations: 284.4 kB / 407.4 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.4564, allocations: 48.5 kB / 407.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.4565, allocations: 20.78 kB / 407.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.4565, allocations: 0 / 407.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.4566, allocations: 57.44 kB / 407.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.575e-06/0.4566, allocations: 3.984 kB / 407.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003828/0.457, allocations: 113.6 kB / 407.7 MB, free: 7.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.4571, allocations: 51.41 kB / 407.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.4572, allocations: 175.1 kB / 407.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4573, allocations: 29.7 kB / 407.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.4573, allocations: 167.9 kB / 408.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.4574, allocations: 15.64 kB / 408.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.4574, allocations: 3.938 kB / 408.1 MB, free: 6.934 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.4574, allocations: 314 kB / 408.4 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.4575, allocations: 22.31 kB / 408.4 MB, free: 6.621 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.4576, allocations: 18.34 kB / 408.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.4577, allocations: 55 kB / 408.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-06/0.4577, allocations: 0 / 408.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002132/0.4579, allocations: 126.9 kB / 408.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.4579, allocations: 41.08 kB / 408.7 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.663e-06/0.458, allocations: 160 / 408.7 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.458, allocations: 3.984 kB / 408.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.4581, allocations: 7.688 kB / 408.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.385e-06/0.4581, allocations: 3.984 kB / 408.7 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.4581, allocations: 7.906 kB / 408.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.4582, allocations: 7.828 kB / 408.7 MB, free: 6.457 MB / 314.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 () * 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 5.499e-05/0.4582, allocations: 112.1 kB / 408.8 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.4583, allocations: 11.75 kB / 408.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.4585, allocations: 90.16 kB / 408.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.996e-06/0.4585, allocations: 128 / 408.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.866e-06/0.4585, allocations: 4 kB / 408.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-06/0.4585, allocations: 0 / 408.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.4589, allocations: 356.3 kB / 409.3 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-06/0.4589, allocations: 0 / 409.3 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.459, allocations: 11.67 kB / 409.3 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.459, allocations: 4 kB / 409.3 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.459, allocations: 0 / 409.3 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.089e-06/0.459, allocations: 4.062 kB / 409.3 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-06/0.459, allocations: 3.938 kB / 409.3 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.4593, allocations: 179.7 kB / 409.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.4593, allocations: 88.97 kB / 409.6 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.4594, allocations: 6.812 kB / 409.6 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.4595, allocations: 0 / 409.6 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.4595, allocations: 11.83 kB / 409.6 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.4595, allocations: 3.812 kB / 409.6 MB, free: 5.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.4597, allocations: 140.7 kB / 409.7 MB, free: 5.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.18e-07/0.4597, allocations: 0 / 409.7 MB, free: 5.617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.4601, allocations: 42.2 kB / 409.8 MB, free: 5.602 MB / 314.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) * 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.00101/0.4611, allocations: 347.9 kB / 410.1 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.4613, allocations: 112.4 kB / 410.2 MB, free: 5.324 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4613, allocations: 7.781 kB / 410.2 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.4614, allocations: 18.06 kB / 410.2 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.4617, allocations: 14.36 kB / 410.2 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.462, allocations: 173.7 kB / 410.4 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.4622, allocations: 0.7037 MB / 411.1 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.4623, allocations: 14.97 kB / 411.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of SimCode: time 1.58e-06/0.4623, allocations: 0 / 411.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of Templates: time 0.003688/0.466, allocations: 1.745 MB / 412.9 MB, free: 3.59 MB / 314.7 MB