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.Test49.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.Test49,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.Test49") Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.42e-05, allocations: 8 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08462, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3327/0.4173, allocations: 75.77 MB / 402.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.4176, allocations: 74.61 kB / 402.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.4331, allocations: 4.323 MB / 406.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.841e-06/0.4331, allocations: 4 kB / 406.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.4331, allocations: 0 / 406.7 MB, free: 8.434 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.0003799/0.4335, allocations: 436.1 kB / 407.1 MB, free: 8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4336, allocations: 7.719 kB / 407.2 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.4336, allocations: 15.47 kB / 407.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.4339, allocations: 209 kB / 407.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4339, allocations: 0 / 407.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.4339, allocations: 11.12 kB / 407.4 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.704e-05/0.4341, allocations: 45.03 kB / 407.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4341, allocations: 0 / 407.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.681e-06/0.4341, allocations: 0 / 407.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-06/0.4341, allocations: 3.844 kB / 407.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.4342, allocations: 14.64 kB / 407.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.4345, allocations: 305 kB / 407.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.4348, allocations: 44.69 kB / 407.8 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.4348, allocations: 16.3 kB / 407.8 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.4348, allocations: 3.984 kB / 407.8 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.4349, allocations: 58.05 kB / 407.9 MB, free: 7.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.757e-06/0.435, allocations: 0 / 407.9 MB, free: 7.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003805/0.4354, allocations: 121.3 kB / 408 MB, free: 7.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.4354, allocations: 55.12 kB / 408 MB, free: 7.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.4357, allocations: 223.7 kB / 408.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.4357, allocations: 33.52 kB / 408.3 MB, free: 7.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4358, allocations: 168.4 kB / 408.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.4358, allocations: 15.22 kB / 408.5 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-06/0.4358, allocations: 3.938 kB / 408.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.4359, allocations: 317.4 kB / 408.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.4359, allocations: 17.28 kB / 408.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.436, allocations: 26.27 kB / 408.8 MB, free: 6.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.4361, allocations: 56.34 kB / 408.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.832e-06/0.4361, allocations: 0 / 408.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002152/0.4363, allocations: 122.4 kB / 409 MB, free: 6.469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.4364, allocations: 41.19 kB / 409 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.394e-06/0.4364, allocations: 160 / 409 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4364, allocations: 0 / 409 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.4365, allocations: 11.62 kB / 409 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.79e-06/0.4365, allocations: 3.984 kB / 409.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.4366, allocations: 3.969 kB / 409.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4366, allocations: 7.891 kB / 409.1 MB, free: 6.418 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 6.354e-05/0.4367, allocations: 112.3 kB / 409.2 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.4367, allocations: 19.62 kB / 409.2 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.437, allocations: 91.92 kB / 409.3 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-06/0.437, allocations: 0 / 409.3 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.241e-06/0.437, allocations: 0 / 409.3 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-06/0.437, allocations: 0 / 409.3 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.4374, allocations: 390.8 kB / 409.7 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-06/0.4375, allocations: 0 / 409.7 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.4375, allocations: 3.844 kB / 409.7 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.923e-06/0.4375, allocations: 7.812 kB / 409.7 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4376, allocations: 0 / 409.7 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.4376, allocations: 4.078 kB / 409.7 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.915e-06/0.4376, allocations: 3.938 kB / 409.7 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.4378, allocations: 181.1 kB / 409.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.4378, allocations: 96.09 kB / 410 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.4379, allocations: 3.812 kB / 410 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.438, allocations: 0 / 410 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.438, allocations: 11.22 kB / 410 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4381, allocations: 7.922 kB / 410 MB, free: 5.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.4382, allocations: 179.3 kB / 410.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.4383, allocations: 3.875 kB / 410.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.4386, allocations: 38.98 kB / 410.2 MB, free: 5.547 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.00103/0.4397, allocations: 341.6 kB / 410.5 MB, free: 5.336 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4399, allocations: 122.2 kB / 410.6 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.305e-06/0.4399, allocations: 3.938 kB / 410.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.528e-05/0.44, allocations: 18.81 kB / 410.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.4403, allocations: 15.8 kB / 410.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.4408, allocations: 217 kB / 410.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.4409, allocations: 0.7216 MB / 411.6 MB, free: 4.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.441, allocations: 18.09 kB / 411.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of SimCode: time 1.565e-06/0.441, allocations: 0 / 411.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of Templates: time 0.00382/0.4448, allocations: 1.905 MB / 413.5 MB, free: 3.441 MB / 314.7 MB