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.Test47.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.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.841e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.265, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.3814, allocations: 75.11 MB / 395.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.3817, allocations: 71.95 kB / 395.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01697/0.3986, allocations: 4.292 MB / 399.5 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.12e-06/0.3987, allocations: 0 / 399.5 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.3987, allocations: 8 kB / 399.5 MB, free: 0.9453 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.0005406/0.3993, allocations: 423.9 kB / 399.9 MB, free: 492 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3993, allocations: 8.031 kB / 399.9 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.3994, allocations: 15.81 kB / 399.9 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.3997, allocations: 210.8 kB / 400.1 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3998, allocations: 4 kB / 400.1 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3998, allocations: 4 kB / 400.2 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.445e-05/0.3999, allocations: 15.94 kB / 400.2 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/0.4, allocations: 41.69 kB / 400.2 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4, allocations: 3.984 kB / 400.2 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.887e-06/0.4, allocations: 0 / 400.2 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-06/0.4001, allocations: 4 kB / 400.2 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.4005, allocations: 285.4 kB / 400.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.4008, allocations: 42.56 kB / 400.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.4008, allocations: 16.84 kB / 400.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.4008, allocations: 0 / 400.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.401, allocations: 55.5 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.396e-06/0.401, allocations: 0 / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004489/0.4015, allocations: 121.1 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.4015, allocations: 55.41 kB / 400.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.4018, allocations: 218.6 kB / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.4019, allocations: 25.7 kB / 401 MB, free: 15.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.402, allocations: 166.6 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.402, allocations: 15.81 kB / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-06/0.4021, allocations: 0 / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4022, allocations: 318.8 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.4023, allocations: 20 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.4024, allocations: 24 kB / 401.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.4025, allocations: 27.92 kB / 401.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-06/0.4025, allocations: 96 / 401.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002333/0.4028, allocations: 93.61 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.4028, allocations: 34.47 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.334e-06/0.4028, allocations: 0 / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4029, allocations: 4 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.4029, allocations: 7.938 kB / 401.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.054e-06/0.403, allocations: 4 kB / 401.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.403, allocations: 0 / 401.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.4031, allocations: 8.062 kB / 401.7 MB, free: 14.5 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.974e-05/0.4032, allocations: 116.9 kB / 401.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.4032, allocations: 15.81 kB / 401.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.4035, allocations: 91.44 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-06/0.4035, allocations: 0 / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.619e-06/0.4035, allocations: 0 / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4035, allocations: 3.938 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.404, allocations: 358.9 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-06/0.4041, allocations: 4 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.4041, allocations: 8 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.786e-06/0.4041, allocations: 0 / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4042, allocations: 4 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.383e-06/0.4042, allocations: 0 / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.439e-06/0.4042, allocations: 0 / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.4044, allocations: 179.2 kB / 402.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.4045, allocations: 93.02 kB / 402.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.4046, allocations: 8 kB / 402.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.4047, allocations: 3.984 kB / 402.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.4047, allocations: 4 kB / 402.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4048, allocations: 0 / 402.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.405, allocations: 177.2 kB / 402.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.405, allocations: 0 / 402.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003863/0.4054, allocations: 32 kB / 402.8 MB, free: 13.34 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.001068/0.4065, allocations: 319.6 kB / 403.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.4068, allocations: 111.3 kB / 403.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.88e-06/0.4068, allocations: 0 / 403.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.4068, allocations: 16 kB / 403.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.4071, allocations: 21.55 kB / 403.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.4076, allocations: 214.5 kB / 403.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4081, allocations: 0.7196 MB / 404.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.4082, allocations: 15.42 kB / 404.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.577e-06/0.4082, allocations: 0 / 404.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of Templates: time 0.004667/0.4128, allocations: 1.918 MB / 406.1 MB, free: 10 MB / 346.7 MB