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.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 1.796/1.796, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.29e-05, allocations: 8 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08618, allocations: 48.71 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.4654, allocations: 76 MB / 402.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4656, allocations: 71.67 kB / 402.6 MB, free: 9.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.4828, allocations: 4.746 MB / 407.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4829, allocations: 0 / 407.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.4829, allocations: 3.875 kB / 407.4 MB, free: 8.227 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003844/0.4833, allocations: 409.9 kB / 407.8 MB, free: 7.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4834, allocations: 7.688 kB / 407.8 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.4834, allocations: 7.688 kB / 407.8 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.4836, allocations: 205.7 kB / 408 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4837, allocations: 0 / 408 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4837, allocations: 3.969 kB / 408 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.4838, allocations: 66.55 kB / 408.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4839, allocations: 3.844 kB / 408.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4839, allocations: 2.875 kB / 408.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-06/0.4839, allocations: 0 / 408.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.484, allocations: 31.23 kB / 408.1 MB, free: 7.516 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.4844, allocations: 296.5 kB / 408.4 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.4845, allocations: 45.12 kB / 408.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.4845, allocations: 27.62 kB / 408.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.4846, allocations: 0 / 408.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.4847, allocations: 69.69 kB / 408.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.368e-06/0.4847, allocations: 0 / 408.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004304/0.4852, allocations: 119.8 kB / 408.6 MB, free: 7.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.4852, allocations: 85 kB / 408.7 MB, free: 6.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.4854, allocations: 148.4 kB / 408.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4854, allocations: 32.89 kB / 408.9 MB, free: 6.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.4854, allocations: 165.2 kB / 409.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.4855, allocations: 14.36 kB / 409.1 MB, free: 6.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-06/0.4855, allocations: 7.781 kB / 409.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.4856, allocations: 314.7 kB / 409.4 MB, free: 6.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.4856, allocations: 22.12 kB / 409.4 MB, free: 6.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.4857, allocations: 39.83 kB / 409.4 MB, free: 6.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.454e-05/0.4858, allocations: 59.69 kB / 409.5 MB, free: 6.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-06/0.4858, allocations: 4.031 kB / 409.5 MB, free: 6.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.4861, allocations: 134.6 kB / 409.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4861, allocations: 29.55 kB / 409.7 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.077e-06/0.4861, allocations: 0 / 409.7 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4861, allocations: 0 / 409.7 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.4862, allocations: 15.52 kB / 409.7 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.387e-06/0.4863, allocations: 0 / 409.7 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.4863, allocations: 7.828 kB / 409.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.4864, allocations: 3.969 kB / 409.7 MB, free: 6.172 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 (8): * Single equations (assignments): 7 * 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 8.228e-05/0.4864, allocations: 112.2 kB / 409.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.4865, allocations: 7.75 kB / 409.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.4868, allocations: 109.3 kB / 409.9 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-06/0.4868, allocations: 0 / 409.9 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.383e-06/0.4868, allocations: 0 / 409.9 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.496e-06/0.4868, allocations: 3.844 kB / 409.9 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.4872, allocations: 383.5 kB / 410.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-06/0.4872, allocations: 0 / 410.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.4873, allocations: 15.53 kB / 410.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.691e-06/0.4873, allocations: 0 / 410.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4874, allocations: 4.078 kB / 410.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4874, allocations: 3.938 kB / 410.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.531e-06/0.4874, allocations: 11.98 kB / 410.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.4876, allocations: 193.7 kB / 410.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.4877, allocations: 81.02 kB / 410.6 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.4877, allocations: 11.72 kB / 410.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.4878, allocations: 4 kB / 410.6 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.4879, allocations: 11.91 kB / 410.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4879, allocations: 3.875 kB / 410.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.713e-05/0.488, allocations: 112.8 kB / 410.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.488, allocations: 0 / 410.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.4884, allocations: 54.61 kB / 410.8 MB, free: 5.289 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 (8): * Single equations (assignments): 7 * 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.001298/0.4897, allocations: 424.3 kB / 411.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.49, allocations: 125.8 kB / 411.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.123e-06/0.49, allocations: 0 / 411.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.4901, allocations: 22.94 kB / 411.4 MB, free: 4.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4904, allocations: 18.95 kB / 411.4 MB, free: 4.953 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.4907, allocations: 150.4 kB / 411.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.4909, allocations: 0.6989 MB / 412.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.4909, allocations: 23.11 kB / 412.2 MB, free: 4.109 MB / 314.7 MB Notification: Performance of SimCode: time 1.771e-06/0.491, allocations: 0 / 412.2 MB, free: 4.109 MB / 314.7 MB Notification: Performance of Templates: time 0.004137/0.4951, allocations: 2.015 MB / 414.3 MB, free: 3.082 MB / 314.7 MB