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.Test36.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.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.497e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 48.68 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.3789, allocations: 75.1 MB / 395.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.3791, allocations: 67.97 kB / 395.2 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.3963, allocations: 4.195 MB / 399.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.91e-06/0.3964, allocations: 0 / 399.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3964, allocations: 0 / 399.4 MB, free: 0.9844 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.0005465/0.397, allocations: 419.9 kB / 399.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.397, allocations: 8.031 kB / 399.8 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.3971, allocations: 15.91 kB / 399.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.3974, allocations: 203.9 kB / 400 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3975, allocations: 7.922 kB / 400 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3975, allocations: 4 kB / 400 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.2e-05/0.3976, allocations: 12 kB / 400 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.3977, allocations: 45.62 kB / 400.1 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3977, allocations: 0 / 400.1 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3977, allocations: 3.984 kB / 400.1 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.828e-06/0.3978, allocations: 7.938 kB / 400.1 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.3983, allocations: 281.3 kB / 400.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.3985, allocations: 38.56 kB / 400.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.3986, allocations: 12.86 kB / 400.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3986, allocations: 0 / 400.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.3988, allocations: 63.42 kB / 400.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.732e-06/0.3988, allocations: 0 / 400.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000465/0.3993, allocations: 101.4 kB / 400.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3993, allocations: 51.41 kB / 400.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.3996, allocations: 186.5 kB / 400.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3997, allocations: 25.7 kB / 400.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3998, allocations: 170.5 kB / 401 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3998, allocations: 19.73 kB / 401 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-06/0.3998, allocations: 4 kB / 401 MB, free: 15.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4, allocations: 314.8 kB / 401.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.4001, allocations: 31.92 kB / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.4002, allocations: 20 kB / 401.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.407e-05/0.4002, allocations: 23.98 kB / 401.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-06/0.4003, allocations: 0 / 401.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002293/0.4005, allocations: 81.69 kB / 401.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.4006, allocations: 36.05 kB / 401.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.637e-06/0.4006, allocations: 3.938 kB / 401.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4006, allocations: 0 / 401.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.4007, allocations: 11.98 kB / 401.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.044e-06/0.4007, allocations: 0 / 401.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.4008, allocations: 8 kB / 401.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.4008, allocations: 8.062 kB / 401.6 MB, free: 14.59 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.881e-05/0.4009, allocations: 112.3 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.401, allocations: 15.84 kB / 401.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.4012, allocations: 87.28 kB / 401.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.001e-06/0.4012, allocations: 3.938 kB / 401.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.503e-06/0.4013, allocations: 4.078 kB / 401.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-06/0.4013, allocations: 3.984 kB / 401.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.4018, allocations: 347 kB / 402.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-06/0.4018, allocations: 0 / 402.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.4018, allocations: 4 kB / 402.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.341e-06/0.4019, allocations: 4 kB / 402.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.635e-06/0.4019, allocations: 0 / 402.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4019, allocations: 0 / 402.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.262e-06/0.4019, allocations: 0 / 402.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4022, allocations: 183.3 kB / 402.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.4023, allocations: 89.02 kB / 402.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.4023, allocations: 0 / 402.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.4024, allocations: 0 / 402.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.4025, allocations: 7.984 kB / 402.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.4025, allocations: 8 kB / 402.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.4027, allocations: 148.9 kB / 402.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.4027, allocations: 0 / 402.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.4031, allocations: 39.92 kB / 402.6 MB, free: 13.47 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.000941/0.404, allocations: 311.8 kB / 402.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.4043, allocations: 107.3 kB / 403 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.112e-06/0.4043, allocations: 0 / 403 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.567e-05/0.4044, allocations: 16 kB / 403 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.4046, allocations: 25.52 kB / 403 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.4051, allocations: 186.7 kB / 403.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.4055, allocations: 0.708 MB / 403.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.4056, allocations: 15.44 kB / 403.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of SimCode: time 3.89e-06/0.4056, allocations: 0 / 403.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of Templates: time 0.004479/0.4101, allocations: 1.816 MB / 405.8 MB, free: 10.29 MB / 346.7 MB