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.Test40.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.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.108e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.08556, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4249, allocations: 75.76 MB / 402.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4251, allocations: 70.39 kB / 402.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.4405, allocations: 4.132 MB / 406.5 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.978e-06/0.4406, allocations: 0 / 406.5 MB, free: 8.492 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.4406, allocations: 3.906 kB / 406.5 MB, free: 8.492 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.0003732/0.441, allocations: 413.9 kB / 406.9 MB, free: 8.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.441, allocations: 11.59 kB / 406.9 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.4411, allocations: 7.75 kB / 406.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.4413, allocations: 207.9 kB / 407.1 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4413, allocations: 7.875 kB / 407.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.4414, allocations: 3.062 kB / 407.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.4415, allocations: 48.73 kB / 407.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4415, allocations: 0 / 407.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4415, allocations: 0 / 407.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-06/0.4415, allocations: 0 / 407.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.454e-05/0.4416, allocations: 11.06 kB / 407.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.4419, allocations: 303.2 kB / 407.5 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.4422, allocations: 45.12 kB / 407.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.4422, allocations: 11.98 kB / 407.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.4422, allocations: 0 / 407.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/0.4424, allocations: 58.61 kB / 407.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.4424, allocations: 0 / 407.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003987/0.4428, allocations: 109.1 kB / 407.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.4428, allocations: 66.8 kB / 407.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.443, allocations: 175.8 kB / 408 MB, free: 7.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4431, allocations: 29.55 kB / 408 MB, free: 7.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.4431, allocations: 161.1 kB / 408.2 MB, free: 7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.4432, allocations: 22.52 kB / 408.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-06/0.4432, allocations: 0 / 408.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.4432, allocations: 318.6 kB / 408.5 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.4433, allocations: 22.09 kB / 408.5 MB, free: 6.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.4434, allocations: 26.27 kB / 408.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.4435, allocations: 51.98 kB / 408.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-06/0.4435, allocations: 3.984 kB / 408.6 MB, free: 6.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002278/0.4437, allocations: 125.4 kB / 408.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.4438, allocations: 33.5 kB / 408.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.084e-06/0.4438, allocations: 3.875 kB / 408.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4438, allocations: 0 / 408.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.4439, allocations: 7.781 kB / 408.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.966e-06/0.4439, allocations: 0 / 408.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.444, allocations: 3.906 kB / 408.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.444, allocations: 11.09 kB / 408.8 MB, free: 6.508 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.771e-05/0.4441, allocations: 113.1 kB / 408.9 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.4441, allocations: 15.64 kB / 408.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.4443, allocations: 95.05 kB / 409 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.336e-06/0.4444, allocations: 3.906 kB / 409 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.005e-06/0.4444, allocations: 0 / 409 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-06/0.4444, allocations: 0 / 409 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.4448, allocations: 360.4 kB / 409.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-06/0.4448, allocations: 4 kB / 409.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.4449, allocations: 7.844 kB / 409.4 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.434e-06/0.4449, allocations: 0 / 409.4 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4449, allocations: 96 / 409.4 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.446e-06/0.4449, allocations: 7.875 kB / 409.4 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.798e-06/0.4449, allocations: 0 / 409.4 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.4451, allocations: 177.3 kB / 409.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.4452, allocations: 95.27 kB / 409.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.4452, allocations: 4 kB / 409.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.4453, allocations: 6.422 kB / 409.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.4454, allocations: 3.938 kB / 409.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4454, allocations: 3.875 kB / 409.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.4455, allocations: 152.1 kB / 409.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.4455, allocations: 0 / 409.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00037/0.4459, allocations: 42.02 kB / 409.8 MB, free: 5.645 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.001011/0.4469, allocations: 353.1 kB / 410.2 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.4472, allocations: 108.8 kB / 410.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.129e-06/0.4472, allocations: 0 / 410.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.4472, allocations: 24.91 kB / 410.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.4475, allocations: 18.86 kB / 410.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.4479, allocations: 189.5 kB / 410.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.4481, allocations: 0.7032 MB / 411.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.522e-05/0.4481, allocations: 15.22 kB / 411.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of SimCode: time 1.641e-06/0.4482, allocations: 0 / 411.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of Templates: time 0.003665/0.4518, allocations: 1.757 MB / 413 MB, free: 3.617 MB / 314.7 MB