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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.884/1.884, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.408e-05/3.427e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4477, allocations: 75.77 MB / 402.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.448, allocations: 73.83 kB / 402.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.4627, allocations: 4.007 MB / 406.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.4627, allocations: 0 / 406.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4627, allocations: 0 / 406.4 MB, free: 8.547 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.0003667/0.4631, allocations: 413.8 kB / 406.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4632, allocations: 7.438 kB / 406.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.4632, allocations: 11.19 kB / 406.8 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4634, allocations: 198 kB / 407 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4634, allocations: 4 kB / 407 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.4635, allocations: 7.75 kB / 407 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.4636, allocations: 44.12 kB / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4636, allocations: 3.844 kB / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4636, allocations: 0 / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-06/0.4637, allocations: 0 / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.4637, allocations: 15.3 kB / 407.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.4641, allocations: 292 kB / 407.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.4643, allocations: 45.56 kB / 407.4 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.4644, allocations: 12.14 kB / 407.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4644, allocations: 96 / 407.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.4645, allocations: 58.11 kB / 407.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.349e-06/0.4645, allocations: 0 / 407.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004/0.4649, allocations: 121.1 kB / 407.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.465, allocations: 55.41 kB / 407.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4651, allocations: 153.7 kB / 407.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4652, allocations: 25.7 kB / 407.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.4652, allocations: 165 kB / 408 MB, free: 7.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.4653, allocations: 18.28 kB / 408 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-06/0.4653, allocations: 3.938 kB / 408 MB, free: 7.047 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.4653, allocations: 318.5 kB / 408.3 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.4654, allocations: 24.25 kB / 408.3 MB, free: 6.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.4655, allocations: 27.03 kB / 408.4 MB, free: 6.723 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/0.4656, allocations: 51.72 kB / 408.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-06/0.4656, allocations: 0 / 408.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002094/0.4658, allocations: 129.7 kB / 408.6 MB, free: 6.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.4658, allocations: 33.52 kB / 408.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-06/0.4658, allocations: 0 / 408.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4659, allocations: 3.688 kB / 408.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.4659, allocations: 7.688 kB / 408.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.466, allocations: 3.953 kB / 408.6 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.466, allocations: 11.14 kB / 408.6 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4661, allocations: 8.062 kB / 408.6 MB, free: 6.559 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.342e-05/0.4661, allocations: 105 kB / 408.7 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.4662, allocations: 11.12 kB / 408.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.4664, allocations: 89.48 kB / 408.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-06/0.4664, allocations: 0 / 408.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.021e-06/0.4664, allocations: 0 / 408.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.234e-06/0.4664, allocations: 3.953 kB / 408.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.4668, allocations: 355.4 kB / 409.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-06/0.4668, allocations: 0 / 409.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.4668, allocations: 3.969 kB / 409.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.929e-06/0.4669, allocations: 0 / 409.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4669, allocations: 3.875 kB / 409.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.09e-06/0.4669, allocations: 7.984 kB / 409.2 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.446e-06/0.4669, allocations: 3.938 kB / 409.2 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.4671, allocations: 172.2 kB / 409.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.4671, allocations: 92.7 kB / 409.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.4672, allocations: 2.75 kB / 409.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.4673, allocations: 0 / 409.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.4673, allocations: 11.78 kB / 409.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4673, allocations: 7.719 kB / 409.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.4675, allocations: 127 kB / 409.6 MB, free: 5.738 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.4675, allocations: 0 / 409.6 MB, free: 5.738 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.4678, allocations: 38.98 kB / 409.6 MB, free: 5.727 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.001026/0.4689, allocations: 351.6 kB / 410 MB, free: 5.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.4691, allocations: 113.1 kB / 410.1 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.78e-06/0.4691, allocations: 3.938 kB / 410.1 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.4692, allocations: 22 kB / 410.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4694, allocations: 17.59 kB / 410.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.4698, allocations: 163.8 kB / 410.3 MB, free: 5.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.47, allocations: 0.703 MB / 411 MB, free: 4.598 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.47, allocations: 15.33 kB / 411 MB, free: 4.586 MB / 314.7 MB Notification: Performance of SimCode: time 1.721e-06/0.47, allocations: 0 / 411 MB, free: 4.586 MB / 314.7 MB Notification: Performance of Templates: time 0.003499/0.4735, allocations: 1.701 MB / 412.7 MB, free: 3.734 MB / 314.7 MB