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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.272e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2638, allocations: 48.69 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.3795, allocations: 75.09 MB / 395.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.3798, allocations: 63.97 kB / 395.2 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.3961, allocations: 3.921 MB / 399.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.652e-06/0.3961, allocations: 0 / 399.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3962, allocations: 0 / 399.1 MB, free: 1.277 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.0005184/0.3967, allocations: 415.9 kB / 399.5 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3967, allocations: 12.03 kB / 399.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.3968, allocations: 11.91 kB / 399.5 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3971, allocations: 195.5 kB / 399.7 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3971, allocations: 0 / 399.7 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.3972, allocations: 4 kB / 399.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.489e-05/0.3973, allocations: 12 kB / 399.7 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.3974, allocations: 49.61 kB / 399.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3974, allocations: 3.938 kB / 399.8 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3974, allocations: 4 kB / 399.8 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3974, allocations: 0 / 399.8 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.3979, allocations: 273.4 kB / 400 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3981, allocations: 46.55 kB / 400.1 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.3982, allocations: 12.86 kB / 400.1 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3982, allocations: 4.078 kB / 400.1 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.3983, allocations: 55.34 kB / 400.2 MB, free: 40 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.569e-06/0.3983, allocations: 8 kB / 400.2 MB, free: 32 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004297/0.3988, allocations: 101.5 kB / 400.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3988, allocations: 51.41 kB / 400.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3991, allocations: 170.8 kB / 400.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3991, allocations: 29.7 kB / 400.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3992, allocations: 162.5 kB / 400.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3993, allocations: 15.81 kB / 400.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-06/0.3993, allocations: 0 / 400.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3995, allocations: 318.6 kB / 401 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.3995, allocations: 24 kB / 401 MB, free: 15.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.3996, allocations: 20 kB / 401 MB, free: 15.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/0.3997, allocations: 28.02 kB / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-06/0.3997, allocations: 0 / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002281/0.3999, allocations: 89.62 kB / 401.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.4, allocations: 34.47 kB / 401.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-06/0.4, allocations: 0 / 401.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4, allocations: 0 / 401.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.4001, allocations: 8 kB / 401.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.4001, allocations: 4 kB / 401.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.4002, allocations: 7.938 kB / 401.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.4002, allocations: 11.98 kB / 401.2 MB, free: 14.92 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 0.0001006/0.4004, allocations: 108.9 kB / 401.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.4004, allocations: 7.906 kB / 401.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.4006, allocations: 90.16 kB / 401.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4007, allocations: 0 / 401.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.404e-06/0.4007, allocations: 0 / 401.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-06/0.4007, allocations: 0 / 401.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.4012, allocations: 331.1 kB / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4012, allocations: 3.938 kB / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.4012, allocations: 7.984 kB / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.56e-06/0.4013, allocations: 0 / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4013, allocations: 4 kB / 401.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4013, allocations: 0 / 401.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.557e-06/0.4013, allocations: 3.938 kB / 401.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.4016, allocations: 183.5 kB / 401.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.4016, allocations: 93 kB / 402 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.4017, allocations: 0 / 402 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4018, allocations: 4 kB / 402 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.4019, allocations: 3.984 kB / 402 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.4019, allocations: 4 kB / 402.1 MB, free: 14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.4021, allocations: 131.2 kB / 402.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4021, allocations: 0 / 402.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.4025, allocations: 39.94 kB / 402.2 MB, free: 13.84 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.0009281/0.4034, allocations: 311 kB / 402.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.4036, allocations: 111.4 kB / 402.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.661e-06/0.4037, allocations: 0 / 402.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.4037, allocations: 16 kB / 402.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.404, allocations: 19.94 kB / 402.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.4044, allocations: 175.7 kB / 402.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.4048, allocations: 0.6999 MB / 403.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.4049, allocations: 19.38 kB / 403.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.444e-06/0.4049, allocations: 3.938 kB / 403.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of Templates: time 0.004245/0.4092, allocations: 1.729 MB / 405.3 MB, free: 10.76 MB / 346.7 MB