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.Test8.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.Test8,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.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.053/2.053, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.686e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2634, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3788, allocations: 75.11 MB / 395.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.3791, allocations: 71.95 kB / 395.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.3972, allocations: 4.486 MB / 399.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.219e-06/0.3973, allocations: 0 / 399.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3973, allocations: 0 / 399.7 MB, free: 0.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005577/0.3978, allocations: 435.9 kB / 400.1 MB, free: 280 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3979, allocations: 8.031 kB / 400.1 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.398, allocations: 15.81 kB / 400.1 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.3983, allocations: 214.8 kB / 400.4 MB, free: 0 / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3983, allocations: 0 / 400.4 MB, free: 0 / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3984, allocations: 8.047 kB / 400.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000107/0.3985, allocations: 23.97 kB / 400.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.3986, allocations: 49.69 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3987, allocations: 3.938 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3987, allocations: 4 kB / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-06/0.3987, allocations: 0 / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.3992, allocations: 293.4 kB / 400.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3993, allocations: 62.48 kB / 400.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.3994, allocations: 8.859 kB / 400.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3994, allocations: 4 kB / 400.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3996, allocations: 67.48 kB / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.564e-06/0.3996, allocations: 0 / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004893/0.4001, allocations: 129.1 kB / 401 MB, free: 15.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4002, allocations: 55.41 kB / 401 MB, free: 15.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.4005, allocations: 205.8 kB / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4006, allocations: 33.7 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4007, allocations: 170.5 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4007, allocations: 11.75 kB / 401.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.4007, allocations: 4 kB / 401.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4009, allocations: 318.8 kB / 401.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.401, allocations: 27.92 kB / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.4011, allocations: 28 kB / 401.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.4012, allocations: 31.98 kB / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.322e-06/0.4012, allocations: 0 / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002681/0.4015, allocations: 109.6 kB / 402 MB, free: 14.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.4015, allocations: 30.48 kB / 402 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4016, allocations: 4.078 kB / 402 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4016, allocations: 0 / 402 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.4017, allocations: 11.98 kB / 402 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.359e-06/0.4017, allocations: 3.984 kB / 402 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.4018, allocations: 4 kB / 402 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.4018, allocations: 4.094 kB / 402 MB, free: 14.2 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 (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 0.0001059/0.4019, allocations: 123.9 kB / 402.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.402, allocations: 15.89 kB / 402.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.4023, allocations: 107.4 kB / 402.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.227e-06/0.4023, allocations: 0 / 402.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4023, allocations: 4 kB / 402.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.646e-06/0.4024, allocations: 0 / 402.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.403, allocations: 371 kB / 402.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.691e-06/0.403, allocations: 7.984 kB / 402.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.4031, allocations: 8 kB / 402.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.72e-06/0.4031, allocations: 0 / 402.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4031, allocations: 4 kB / 402.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-06/0.4031, allocations: 0 / 402.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4031, allocations: 0 / 402.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.4034, allocations: 199.3 kB / 402.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.4035, allocations: 93 kB / 402.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.4036, allocations: 3.938 kB / 402.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.4037, allocations: 4 kB / 402.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.4037, allocations: 8.234 kB / 403 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4038, allocations: 8 kB / 403 MB, free: 13.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.404, allocations: 164.3 kB / 403.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.48e-07/0.404, allocations: 0 / 403.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000405/0.4044, allocations: 43.92 kB / 403.2 MB, free: 12.97 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 (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.0009486/0.4054, allocations: 306.9 kB / 403.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.4057, allocations: 127.3 kB / 403.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.392e-06/0.4057, allocations: 4 kB / 403.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.4058, allocations: 23.98 kB / 403.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4061, allocations: 21.55 kB / 403.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.4066, allocations: 226.3 kB / 403.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.4071, allocations: 0.7158 MB / 404.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.4072, allocations: 19.42 kB / 404.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of SimCode: time 1.661e-06/0.4072, allocations: 0 / 404.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of Templates: time 0.004912/0.4121, allocations: 1.98 MB / 406.6 MB, free: 9.551 MB / 346.7 MB