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.Test7.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.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 1.849/1.849, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.802e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.3837, allocations: 75.11 MB / 395.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.384, allocations: 71.95 kB / 395.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01658/0.4006, allocations: 4.228 MB / 399.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.027e-06/0.4007, allocations: 0 / 399.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.4007, allocations: 8 kB / 399.4 MB, free: 1.023 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.0005134/0.4012, allocations: 419.9 kB / 399.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4013, allocations: 8.031 kB / 399.9 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.4013, allocations: 15.91 kB / 399.9 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4016, allocations: 207.5 kB / 400.1 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4017, allocations: 4 kB / 400.1 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4017, allocations: 3.906 kB / 400.1 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.403e-05/0.4018, allocations: 15.98 kB / 400.1 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.48e-05/0.4019, allocations: 53.56 kB / 400.1 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4019, allocations: 0 / 400.1 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-06/0.402, allocations: 4 kB / 400.2 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-06/0.402, allocations: 0 / 400.2 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.4024, allocations: 273.4 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4026, allocations: 46.56 kB / 400.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.4027, allocations: 8.859 kB / 400.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.4027, allocations: 4 kB / 400.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.4029, allocations: 59.42 kB / 400.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.401e-06/0.4029, allocations: 0 / 400.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004037/0.4033, allocations: 109.2 kB / 400.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4033, allocations: 51.41 kB / 400.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.4036, allocations: 205.9 kB / 400.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4037, allocations: 25.7 kB / 400.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4038, allocations: 170.6 kB / 401.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.4038, allocations: 19.75 kB / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-06/0.4038, allocations: 0 / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.404, allocations: 318.8 kB / 401.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.4041, allocations: 20 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.4041, allocations: 20 kB / 401.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.4042, allocations: 23.98 kB / 401.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-06/0.4042, allocations: 0 / 401.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002258/0.4045, allocations: 93.53 kB / 401.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.4045, allocations: 38.47 kB / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-06/0.4045, allocations: 0 / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4046, allocations: 0 / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.4046, allocations: 12.06 kB / 401.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.756e-06/0.4047, allocations: 4 kB / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.4047, allocations: 4.031 kB / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.4048, allocations: 15.86 kB / 401.6 MB, free: 14.61 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.249e-05/0.4049, allocations: 112 kB / 401.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.4049, allocations: 7.906 kB / 401.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.4052, allocations: 99.38 kB / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.934e-06/0.4052, allocations: 4 kB / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.708e-06/0.4052, allocations: 0 / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4052, allocations: 0 / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.4057, allocations: 339.1 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-06/0.4057, allocations: 0 / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.4058, allocations: 12.12 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.41e-06/0.4058, allocations: 0 / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4058, allocations: 7.984 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.069e-06/0.4058, allocations: 0 / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4058, allocations: 0 / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.406, allocations: 179.2 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.4061, allocations: 93 kB / 402.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.4062, allocations: 4 kB / 402.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.4063, allocations: 0 / 402.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.4064, allocations: 11.98 kB / 402.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4064, allocations: 4 kB / 402.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.4066, allocations: 164.2 kB / 402.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.4066, allocations: 4 kB / 402.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.407, allocations: 39.92 kB / 402.7 MB, free: 13.46 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.0009094/0.4079, allocations: 303.8 kB / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4081, allocations: 115.3 kB / 403.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.398e-06/0.4082, allocations: 0 / 403.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.4082, allocations: 16 kB / 403.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4085, allocations: 17.36 kB / 403.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.409, allocations: 206.5 kB / 403.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.4094, allocations: 0.7157 MB / 404.1 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.4095, allocations: 19.44 kB / 404.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.429e-06/0.4095, allocations: 0 / 404.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of Templates: time 0.00437/0.4138, allocations: 1.852 MB / 405.9 MB, free: 10.21 MB / 346.7 MB