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.Test50.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.Test50,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.Test50") Notification: Performance of loadModel(ModelicaTest): time 1.852/1.852, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.922e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2595, allocations: 48.69 MB / 320 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.3798, allocations: 75.34 MB / 395.4 MB, free: 5.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.3801, allocations: 67.97 kB / 395.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.399, allocations: 4.617 MB / 400 MB, free: 336 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3991, allocations: 0 / 400 MB, free: 336 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3991, allocations: 0 / 400 MB, free: 336 kB / 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.0005366/0.3996, allocations: 415.4 kB / 400.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3997, allocations: 8.031 kB / 400.5 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.3997, allocations: 7.906 kB / 400.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.4, allocations: 198.8 kB / 400.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4001, allocations: 4 kB / 400.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.4001, allocations: 7.984 kB / 400.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.4002, allocations: 27.98 kB / 400.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4004, allocations: 67.33 kB / 400.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4004, allocations: 0 / 400.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4004, allocations: 0 / 400.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.754e-06/0.4004, allocations: 4 kB / 400.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.4009, allocations: 277.4 kB / 401 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.401, allocations: 50.56 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.4011, allocations: 12.86 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.4011, allocations: 4 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.4013, allocations: 67.33 kB / 401.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.469e-06/0.4013, allocations: 0 / 401.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004699/0.4018, allocations: 113.5 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.4018, allocations: 85.11 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.402, allocations: 133 kB / 401.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.4021, allocations: 25.7 kB / 401.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.4022, allocations: 170.5 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.4022, allocations: 11.81 kB / 401.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-06/0.4022, allocations: 3.938 kB / 401.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4024, allocations: 318.8 kB / 402 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.4025, allocations: 23.98 kB / 402 MB, free: 14.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.4026, allocations: 41.7 kB / 402.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.098e-05/0.4027, allocations: 39.95 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-06/0.4027, allocations: 0 / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002514/0.403, allocations: 97.61 kB / 402.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.403, allocations: 33.7 kB / 402.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.294e-06/0.403, allocations: 0 / 402.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4031, allocations: 0 / 402.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.4032, allocations: 11.98 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.215e-06/0.4032, allocations: 0 / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.4032, allocations: 8.031 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.4033, allocations: 8 kB / 402.3 MB, free: 13.87 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.0001022/0.4034, allocations: 108.9 kB / 402.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.4034, allocations: 7.906 kB / 402.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.4037, allocations: 106.1 kB / 402.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-06/0.4037, allocations: 0 / 402.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-06/0.4038, allocations: 0 / 402.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.941e-06/0.4038, allocations: 7.984 kB / 402.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.4043, allocations: 347.1 kB / 402.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-06/0.4043, allocations: 0 / 402.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.4044, allocations: 11.94 kB / 402.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4044, allocations: 0 / 402.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4044, allocations: 4.25 kB / 402.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.561e-06/0.4044, allocations: 4 kB / 402.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.065e-06/0.4045, allocations: 3.984 kB / 402.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.4047, allocations: 187.4 kB / 403 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.4048, allocations: 93 kB / 403.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4049, allocations: 0 / 403.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.405, allocations: 0 / 403.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.405, allocations: 7.984 kB / 403.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.405, allocations: 4 kB / 403.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.4052, allocations: 109 kB / 403.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.4052, allocations: 0 / 403.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.4056, allocations: 55.86 kB / 403.3 MB, free: 12.75 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.001189/0.4068, allocations: 382.9 kB / 403.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.4071, allocations: 115.4 kB / 403.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.872e-06/0.4071, allocations: 0 / 403.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.4072, allocations: 27.92 kB / 403.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.4075, allocations: 21.36 kB / 403.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.4079, allocations: 139.9 kB / 404 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4083, allocations: 0.7002 MB / 404.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.4084, allocations: 19.42 kB / 404.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.584e-06/0.4084, allocations: 0 / 404.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of Templates: time 0.004885/0.4133, allocations: 2.034 MB / 406.7 MB, free: 9.316 MB / 346.7 MB