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.Test48.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.Test48,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.Test48") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.397e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.08748, allocations: 48.71 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.4232, allocations: 75.76 MB / 402.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.4234, allocations: 80.66 kB / 402.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01571/0.4392, allocations: 4.327 MB / 406.7 MB, free: 8.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.133e-06/0.4392, allocations: 4 kB / 406.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.4392, allocations: 0 / 406.7 MB, free: 8.453 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.0004061/0.4397, allocations: 432.8 kB / 407.1 MB, free: 8.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4397, allocations: 10.69 kB / 407.2 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.4398, allocations: 11.69 kB / 407.2 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.44, allocations: 209.5 kB / 407.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4401, allocations: 3.562 kB / 407.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.4401, allocations: 3.719 kB / 407.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.919e-05/0.4402, allocations: 48.5 kB / 407.4 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4402, allocations: 0 / 407.4 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4402, allocations: 0 / 407.4 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-06/0.4403, allocations: 0 / 407.4 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.4403, allocations: 19.27 kB / 407.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.4407, allocations: 304.7 kB / 407.7 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.4409, allocations: 44.97 kB / 407.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.4409, allocations: 12.73 kB / 407.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.441, allocations: 0 / 407.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.4411, allocations: 65.86 kB / 407.9 MB, free: 7.359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.177e-06/0.4411, allocations: 0 / 407.9 MB, free: 7.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004/0.4415, allocations: 116.7 kB / 408 MB, free: 7.297 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.4416, allocations: 59.27 kB / 408 MB, free: 7.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.4419, allocations: 216.3 kB / 408.2 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4419, allocations: 37.58 kB / 408.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.4419, allocations: 173.2 kB / 408.5 MB, free: 6.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.442, allocations: 15.25 kB / 408.5 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-06/0.442, allocations: 0 / 408.5 MB, free: 6.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.4421, allocations: 318.2 kB / 408.8 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.4421, allocations: 26.14 kB / 408.8 MB, free: 6.598 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.4422, allocations: 21.47 kB / 408.8 MB, free: 6.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.4423, allocations: 52.5 kB / 408.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-06/0.4423, allocations: 0 / 408.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002245/0.4426, allocations: 123.2 kB / 409 MB, free: 6.488 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.4426, allocations: 41.31 kB / 409 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.302e-06/0.4426, allocations: 0 / 409 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4426, allocations: 0 / 409 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.4427, allocations: 7.688 kB / 409 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.958e-06/0.4427, allocations: 160 / 409 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.4428, allocations: 7.734 kB / 409.1 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4428, allocations: 11.81 kB / 409.1 MB, free: 6.441 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.739e-05/0.4429, allocations: 113.1 kB / 409.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4429, allocations: 15.69 kB / 409.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.4432, allocations: 97.14 kB / 409.3 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-06/0.4432, allocations: 0 / 409.3 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.86e-06/0.4432, allocations: 4 kB / 409.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-06/0.4432, allocations: 0 / 409.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.4436, allocations: 380.9 kB / 409.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.4436, allocations: 0 / 409.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.4437, allocations: 11.72 kB / 409.7 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.488e-06/0.4437, allocations: 4 kB / 409.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4437, allocations: 3.984 kB / 409.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.273e-06/0.4437, allocations: 0 / 409.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-06/0.4437, allocations: 96 / 409.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.4439, allocations: 183.8 kB / 409.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.444, allocations: 99.84 kB / 410 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.444, allocations: 0 / 410 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.4441, allocations: 0 / 410 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.4442, allocations: 7.844 kB / 410 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.4442, allocations: 10.58 kB / 410 MB, free: 5.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.4444, allocations: 184.9 kB / 410.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.4444, allocations: 0 / 410.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.4448, allocations: 34.95 kB / 410.2 MB, free: 5.566 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.001032/0.4458, allocations: 350.7 kB / 410.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.446, allocations: 113 kB / 410.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4461, allocations: 3.938 kB / 410.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.502e-05/0.4461, allocations: 18.91 kB / 410.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.4464, allocations: 18.28 kB / 410.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.4468, allocations: 216.9 kB / 410.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.447, allocations: 0.7219 MB / 411.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.4471, allocations: 18.44 kB / 411.6 MB, free: 4.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.469e-06/0.4471, allocations: 0 / 411.6 MB, free: 4.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003926/0.451, allocations: 1.904 MB / 413.5 MB, free: 3.461 MB / 314.7 MB