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.Test2.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.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.019e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2599, allocations: 48.69 MB / 320 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3722, allocations: 75.07 MB / 395.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.3725, allocations: 63.97 kB / 395.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.3879, allocations: 3.803 MB / 398.9 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3879, allocations: 0 / 398.9 MB, free: 1.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.388, allocations: 4 kB / 399 MB, free: 1.43 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.0004943/0.3885, allocations: 399.4 kB / 399.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3885, allocations: 8.031 kB / 399.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.3886, allocations: 7.906 kB / 399.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3889, allocations: 203.8 kB / 399.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3889, allocations: 4 kB / 399.6 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3889, allocations: 7.938 kB / 399.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.592e-05/0.389, allocations: 15.98 kB / 399.6 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.3891, allocations: 45.62 kB / 399.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3892, allocations: 0 / 399.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-06/0.3892, allocations: 0 / 399.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3892, allocations: 4 kB / 399.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3896, allocations: 265.4 kB / 399.9 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3898, allocations: 42.52 kB / 399.9 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.3899, allocations: 12.94 kB / 399.9 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-06/0.3899, allocations: 0 / 399.9 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.3901, allocations: 59.41 kB / 400 MB, free: 228 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.321e-06/0.3901, allocations: 0 / 400 MB, free: 228 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000407/0.3905, allocations: 105.3 kB / 400.1 MB, free: 116 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3905, allocations: 55.41 kB / 400.2 MB, free: 48 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3907, allocations: 132.2 kB / 400.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3908, allocations: 29.7 kB / 400.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.3909, allocations: 154.6 kB / 400.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3909, allocations: 23.73 kB / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.3909, allocations: 0 / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3911, allocations: 318.8 kB / 400.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-05/0.3912, allocations: 16 kB / 400.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.092e-05/0.3912, allocations: 20 kB / 400.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.464e-05/0.3913, allocations: 27.98 kB / 400.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-06/0.3913, allocations: 0 / 400.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002325/0.3916, allocations: 97.52 kB / 401 MB, free: 15.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.3916, allocations: 29.7 kB / 401 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.378e-06/0.3917, allocations: 4 kB / 401 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3917, allocations: 0 / 401 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.3918, allocations: 12.08 kB / 401 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.236e-06/0.3918, allocations: 3.938 kB / 401 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.3918, allocations: 0 / 401 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.3919, allocations: 8.062 kB / 401 MB, free: 15.15 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.545e-05/0.392, allocations: 116.9 kB / 401.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.392, allocations: 11.91 kB / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.3923, allocations: 78.08 kB / 401.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.3923, allocations: 4 kB / 401.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-06/0.3923, allocations: 0 / 401.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3923, allocations: 0 / 401.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.3927, allocations: 327 kB / 401.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-06/0.3928, allocations: 4 kB / 401.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.3928, allocations: 4 kB / 401.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-06/0.3928, allocations: 0 / 401.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3928, allocations: 4 kB / 401.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-06/0.3929, allocations: 0 / 401.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.539e-06/0.3929, allocations: 0 / 401.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3931, allocations: 171.5 kB / 401.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.3932, allocations: 93 kB / 401.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3932, allocations: 4 kB / 401.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.3933, allocations: 4 kB / 401.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3934, allocations: 7.984 kB / 401.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3934, allocations: 0 / 401.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3935, allocations: 116.9 kB / 401.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.3935, allocations: 0 / 401.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.3939, allocations: 31.92 kB / 402 MB, free: 14.11 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.000913/0.3948, allocations: 304.3 kB / 402.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.3951, allocations: 111.4 kB / 402.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.057e-06/0.3951, allocations: 0 / 402.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.3952, allocations: 19.94 kB / 402.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3954, allocations: 20.48 kB / 402.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3958, allocations: 136.1 kB / 402.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3962, allocations: 0.7001 MB / 403.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.3963, allocations: 15.38 kB / 403.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.37e-06/0.3963, allocations: 0 / 403.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of Templates: time 0.004006/0.4003, allocations: 1.639 MB / 404.9 MB, free: 11.16 MB / 346.7 MB