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.Test52.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.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 1.862/1.862, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.21e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08732, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4303, allocations: 75.78 MB / 402.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4305, allocations: 68.06 kB / 402.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.4456, allocations: 4.188 MB / 406.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.761e-06/0.4457, allocations: 0 / 406.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.4457, allocations: 0 / 406.6 MB, free: 8.422 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.000379/0.4461, allocations: 429.1 kB / 407 MB, free: 7.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4462, allocations: 11.53 kB / 407 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.4462, allocations: 7.75 kB / 407 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.4464, allocations: 200.5 kB / 407.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4465, allocations: 0 / 407.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.4465, allocations: 7 kB / 407.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.4466, allocations: 39.66 kB / 407.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4466, allocations: 0 / 407.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4467, allocations: 3.984 kB / 407.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-06/0.4467, allocations: 3.844 kB / 407.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.4467, allocations: 14.84 kB / 407.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.4471, allocations: 310.1 kB / 407.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.4473, allocations: 39.72 kB / 407.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.4473, allocations: 15.98 kB / 407.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.4474, allocations: 0 / 407.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.4475, allocations: 68.61 kB / 407.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.256e-06/0.4475, allocations: 0 / 407.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003793/0.4479, allocations: 109 kB / 407.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.4479, allocations: 54.22 kB / 407.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.4482, allocations: 188.5 kB / 408 MB, free: 7.102 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4482, allocations: 29.52 kB / 408.1 MB, free: 7.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.4482, allocations: 171 kB / 408.2 MB, free: 6.914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.4483, allocations: 15.59 kB / 408.3 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-06/0.4483, allocations: 11.5 kB / 408.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.4484, allocations: 314.7 kB / 408.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.17e-05/0.4484, allocations: 23.89 kB / 408.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.4485, allocations: 30.17 kB / 408.6 MB, free: 6.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.399e-05/0.4486, allocations: 48.59 kB / 408.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-06/0.4486, allocations: 0 / 408.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002097/0.4488, allocations: 125.6 kB / 408.8 MB, free: 6.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.4489, allocations: 41.31 kB / 408.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4489, allocations: 0 / 408.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4489, allocations: 0 / 408.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.449, allocations: 15.56 kB / 408.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.449, allocations: 0 / 408.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.4491, allocations: 3.844 kB / 408.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.4491, allocations: 11.17 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.52e-05/0.4492, allocations: 105.3 kB / 409 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.4492, allocations: 11.62 kB / 409 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.4494, allocations: 91.3 kB / 409.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-06/0.4494, allocations: 0 / 409.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-06/0.4495, allocations: 4 kB / 409.1 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-06/0.4495, allocations: 0 / 409.1 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.4498, allocations: 370.9 kB / 409.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.835e-06/0.4498, allocations: 3.688 kB / 409.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.4499, allocations: 7.781 kB / 409.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.172e-06/0.4499, allocations: 3.984 kB / 409.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4499, allocations: 3.844 kB / 409.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.433e-06/0.4499, allocations: 0 / 409.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-06/0.45, allocations: 0 / 409.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.4501, allocations: 176.8 kB / 409.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.4502, allocations: 95.88 kB / 409.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.4502, allocations: 0 / 409.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.4503, allocations: 96 / 409.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.4504, allocations: 15.48 kB / 409.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.4504, allocations: 4.031 kB / 409.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.4506, allocations: 161 kB / 409.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.4506, allocations: 4 kB / 409.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.4509, allocations: 38.22 kB / 409.9 MB, free: 5.551 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.001004/0.452, allocations: 345.2 kB / 410.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.4522, allocations: 110.3 kB / 410.4 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.25e-06/0.4522, allocations: 11.88 kB / 410.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.4522, allocations: 22.89 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.0002635/0.4525, allocations: 11.19 kB / 410.4 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.4529, allocations: 190.4 kB / 410.6 MB, free: 5.133 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.4531, allocations: 0.7073 MB / 411.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.4531, allocations: 19.11 kB / 411.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of SimCode: time 9.642e-06/0.4532, allocations: 0 / 411.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of Templates: time 0.003619/0.4568, allocations: 1.801 MB / 413.1 MB, free: 3.508 MB / 314.7 MB