Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.099/2.099, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006107/0.0006108, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3461, allocations: 48.71 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4825, allocations: 76.09 MB / 407.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.4829, allocations: 71.97 kB / 408 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02056/0.5034, allocations: 4.661 MB / 412.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5035, allocations: 0 / 412.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.5035, allocations: 0 / 412.6 MB, free: 13.62 MB / 346.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.0005892/0.5041, allocations: 412.8 kB / 413 MB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.5042, allocations: 8.031 kB / 413 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.5043, allocations: 11.91 kB / 413.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.5046, allocations: 198.8 kB / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5046, allocations: 0 / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.5046, allocations: 4 kB / 413.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.5048, allocations: 59.39 kB / 413.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5048, allocations: 4 kB / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.5049, allocations: 0 / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.5049, allocations: 0 / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.505, allocations: 19.92 kB / 413.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.5055, allocations: 288.8 kB / 413.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.5057, allocations: 46.56 kB / 413.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5058, allocations: 3.984 kB / 413.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.5059, allocations: 55.48 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.506, allocations: 4 kB / 413.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005568/0.5065, allocations: 109.4 kB / 413.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.5066, allocations: 81.11 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.5069, allocations: 145.7 kB / 414.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.5069, allocations: 29.7 kB / 414.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.507, allocations: 154.6 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.5071, allocations: 19.75 kB / 414.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.5071, allocations: 0 / 414.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5073, allocations: 314.8 kB / 414.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.5074, allocations: 27.94 kB / 414.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.5075, allocations: 33.7 kB / 414.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.5076, allocations: 49.7 kB / 414.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5076, allocations: 4.094 kB / 414.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002946/0.5079, allocations: 119.2 kB / 414.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.508, allocations: 33.7 kB / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.508, allocations: 0 / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.508, allocations: 64 / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.5081, allocations: 15.98 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5082, allocations: 4.031 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.5082, allocations: 8 kB / 414.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.5083, allocations: 7.953 kB / 414.9 MB, free: 11.14 MB / 346.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 () * Number of clocked 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 0.0001349/0.5084, allocations: 113.8 kB / 415 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.5085, allocations: 11.89 kB / 415 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.5088, allocations: 89.58 kB / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5088, allocations: 288 / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5088, allocations: 4 kB / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5088, allocations: 0 / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.5093, allocations: 342.5 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.5094, allocations: 3.984 kB / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.5095, allocations: 11.94 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.5095, allocations: 0 / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5095, allocations: 3.938 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5095, allocations: 0 / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5095, allocations: 0 / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.5098, allocations: 179.4 kB / 415.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.5099, allocations: 89.02 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.5099, allocations: 3.984 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.51, allocations: 4 kB / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.5101, allocations: 0 / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.5101, allocations: 8.188 kB / 415.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.5102, allocations: 111.2 kB / 415.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5103, allocations: 0 / 415.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004162/0.5107, allocations: 51.92 kB / 415.9 MB, free: 10.02 MB / 346.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) * Number of clocked states: 0 () * 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.001368/0.5121, allocations: 461.8 kB / 416.3 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.5124, allocations: 115.4 kB / 416.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5124, allocations: 0 / 416.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.5125, allocations: 19.94 kB / 416.4 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.5129, allocations: 15.92 kB / 416.5 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.5134, allocations: 195.6 kB / 416.7 MB, free: 9.266 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.5137, allocations: 0.6965 MB / 417.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.5138, allocations: 19.44 kB / 417.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5138, allocations: 0 / 417.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of Templates: time 0.005806/0.5196, allocations: 1.877 MB / 419.2 MB, free: 6.648 MB / 346.7 MB