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.Test53.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.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.413e-05, allocations: 8 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08752, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4274, allocations: 75.77 MB / 402.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.4277, allocations: 76.27 kB / 402.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01533/0.4431, allocations: 4.183 MB / 406.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4431, allocations: 0 / 406.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.4431, allocations: 0 / 406.6 MB, free: 8.418 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.0003709/0.4435, allocations: 429.7 kB / 407 MB, free: 7.984 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4436, allocations: 11.53 kB / 407 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.4436, allocations: 7.75 kB / 407 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.4439, allocations: 201.2 kB / 407.2 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4439, allocations: 0 / 407.2 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.4439, allocations: 11.11 kB / 407.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.444, allocations: 40.78 kB / 407.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4441, allocations: 0 / 407.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-06/0.4441, allocations: 0 / 407.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4441, allocations: 7.844 kB / 407.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.4442, allocations: 19.14 kB / 407.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.4445, allocations: 307.4 kB / 407.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.4447, allocations: 33.48 kB / 407.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.4448, allocations: 19.47 kB / 407.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.4448, allocations: 0 / 407.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.4449, allocations: 65.38 kB / 407.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.289e-06/0.4449, allocations: 0 / 407.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003883/0.4453, allocations: 111.3 kB / 407.8 MB, free: 7.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.4454, allocations: 51.41 kB / 407.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.4456, allocations: 189.8 kB / 408.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.4456, allocations: 28.33 kB / 408.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.4457, allocations: 169.5 kB / 408.2 MB, free: 6.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.4457, allocations: 19.59 kB / 408.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.4457, allocations: 3.938 kB / 408.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.4458, allocations: 314.8 kB / 408.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.4459, allocations: 23.19 kB / 408.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/0.4459, allocations: 23.09 kB / 408.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.519e-05/0.446, allocations: 52.56 kB / 408.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-06/0.446, allocations: 0 / 408.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002119/0.4463, allocations: 127.7 kB / 408.8 MB, free: 6.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4463, allocations: 33.52 kB / 408.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.4463, allocations: 4 kB / 408.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4463, allocations: 3.875 kB / 408.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.4464, allocations: 11.8 kB / 408.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.919e-06/0.4464, allocations: 0 / 408.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.4465, allocations: 7.906 kB / 408.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.4465, allocations: 7.703 kB / 408.9 MB, free: 6.414 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.491e-05/0.4466, allocations: 105.2 kB / 409 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.4466, allocations: 11.73 kB / 409 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4469, allocations: 105 kB / 409.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.823e-06/0.4469, allocations: 0 / 409.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.872e-06/0.4469, allocations: 0 / 409.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.364e-06/0.4469, allocations: 3.984 kB / 409.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.4473, allocations: 372.1 kB / 409.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-06/0.4473, allocations: 0 / 409.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.4474, allocations: 7.531 kB / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.663e-06/0.4474, allocations: 0 / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4474, allocations: 3.375 kB / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.4474, allocations: 3.812 kB / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.899e-06/0.4474, allocations: 4 kB / 409.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.4476, allocations: 172.2 kB / 409.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.4477, allocations: 92.73 kB / 409.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.4477, allocations: 0 / 409.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.4478, allocations: 3.938 kB / 409.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.4479, allocations: 11.77 kB / 409.7 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4479, allocations: 3.938 kB / 409.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.448, allocations: 167.1 kB / 409.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.448, allocations: 0 / 409.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.4484, allocations: 46.95 kB / 410 MB, free: 5.539 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.001084/0.4495, allocations: 333.5 kB / 410.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.4498, allocations: 114.4 kB / 410.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.821e-06/0.4498, allocations: 7.875 kB / 410.4 MB, free: 5.266 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.4498, allocations: 22.94 kB / 410.4 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.4501, allocations: 18.08 kB / 410.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.4505, allocations: 187.5 kB / 410.6 MB, free: 5.133 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.4507, allocations: 0.7037 MB / 411.3 MB, free: 4.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.4508, allocations: 18.62 kB / 411.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of SimCode: time 1.615e-06/0.4508, allocations: 4 kB / 411.3 MB, free: 4.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003818/0.4546, allocations: 1.803 MB / 413.2 MB, free: 3.504 MB / 314.7 MB