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.Test45.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.18e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2589, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3697, allocations: 75.12 MB / 395.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.3699, allocations: 67.97 kB / 395.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01616/0.3861, allocations: 4.051 MB / 399.3 MB, free: 1.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3862, allocations: 0 / 399.3 MB, free: 1.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3862, allocations: 0 / 399.3 MB, free: 1.191 MB / 330.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.0005056/0.3867, allocations: 412 kB / 399.7 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3868, allocations: 12.03 kB / 399.7 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3868, allocations: 11.91 kB / 399.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.3871, allocations: 203.4 kB / 399.9 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3872, allocations: 0 / 399.9 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3872, allocations: 4 kB / 399.9 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.835e-05/0.3873, allocations: 15.98 kB / 399.9 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3874, allocations: 41.69 kB / 399.9 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3874, allocations: 3.938 kB / 399.9 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-06/0.3874, allocations: 0 / 399.9 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3874, allocations: 0 / 399.9 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.3879, allocations: 273.4 kB / 400.2 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.3881, allocations: 46.5 kB / 400.3 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.3881, allocations: 12.86 kB / 400.3 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.95e-06/0.3882, allocations: 0 / 400.3 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.3883, allocations: 55.48 kB / 400.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.552e-06/0.3883, allocations: 4 kB / 400.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004103/0.3888, allocations: 113.4 kB / 400.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3888, allocations: 51.41 kB / 400.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.389, allocations: 166.8 kB / 400.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3891, allocations: 25.7 kB / 400.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.3892, allocations: 166.5 kB / 400.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.3892, allocations: 15.81 kB / 400.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-06/0.3892, allocations: 0 / 400.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3894, allocations: 318.8 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.3895, allocations: 23.98 kB / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.3895, allocations: 20 kB / 401.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.3896, allocations: 28.02 kB / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-06/0.3897, allocations: 0 / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002248/0.3899, allocations: 89.62 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.3899, allocations: 30.48 kB / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.136e-06/0.39, allocations: 0 / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.39, allocations: 0 / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.3901, allocations: 11.98 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.148e-06/0.3901, allocations: 4 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.3902, allocations: 7.938 kB / 401.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3902, allocations: 8 kB / 401.4 MB, free: 14.84 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 () * 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 9.698e-05/0.3903, allocations: 108.9 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3903, allocations: 11.91 kB / 401.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.3906, allocations: 94.2 kB / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-06/0.3906, allocations: 0 / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.854e-06/0.3906, allocations: 0 / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-06/0.3906, allocations: 0 / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.3911, allocations: 335.1 kB / 401.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-06/0.3911, allocations: 7.875 kB / 401.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.3912, allocations: 4 kB / 401.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.364e-06/0.3912, allocations: 0 / 401.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3912, allocations: 4 kB / 401.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.383e-06/0.3912, allocations: 3.984 kB / 401.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-06/0.3912, allocations: 0 / 401.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3915, allocations: 179.3 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.3915, allocations: 89.02 kB / 402.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3916, allocations: 3.984 kB / 402.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.3917, allocations: 4 kB / 402.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.3917, allocations: 0 / 402.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.3918, allocations: 4 kB / 402.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.3919, allocations: 131.2 kB / 402.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.3919, allocations: 0 / 402.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.3923, allocations: 43.92 kB / 402.4 MB, free: 13.75 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) * 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.0009229/0.3933, allocations: 304.8 kB / 402.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3935, allocations: 111.4 kB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.834e-06/0.3935, allocations: 0 / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.649e-05/0.3936, allocations: 23.92 kB / 402.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3939, allocations: 22.42 kB / 402.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.3943, allocations: 166.3 kB / 403 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3947, allocations: 0.7041 MB / 403.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.3948, allocations: 23.38 kB / 403.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.358e-06/0.3948, allocations: 3.938 kB / 403.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of Templates: time 0.004232/0.399, allocations: 1.726 MB / 405.5 MB, free: 10.67 MB / 346.7 MB