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.CombiTable1Ds.Test4.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.912e-05, allocations: 7.984 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09095, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4586, allocations: 74.47 MB / 401 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4589, allocations: 67.94 kB / 401.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.4702, allocations: 3.251 MB / 404.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.038e-06/0.4702, allocations: 4 kB / 404.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.4703, allocations: 3.938 kB / 404.3 MB, free: 9.047 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003648/0.4706, allocations: 416.5 kB / 404.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4707, allocations: 11.44 kB / 404.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.4707, allocations: 11.69 kB / 404.8 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.471, allocations: 212.4 kB / 405 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.471, allocations: 0 / 405 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.471, allocations: 3.875 kB / 405 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.4711, allocations: 58.53 kB / 405 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4712, allocations: 0 / 405 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4712, allocations: 0 / 405 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4712, allocations: 0 / 405 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.4713, allocations: 29.77 kB / 405.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.4717, allocations: 305 kB / 405.4 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.4718, allocations: 53.41 kB / 405.4 MB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.4718, allocations: 16.48 kB / 405.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.4719, allocations: 0 / 405.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.4719, allocations: 34.5 kB / 405.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.617e-06/0.4719, allocations: 3.844 kB / 405.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005034/0.4724, allocations: 151.9 kB / 405.6 MB, free: 7.906 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.4725, allocations: 51.41 kB / 405.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.4727, allocations: 209.2 kB / 405.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.4727, allocations: 25.7 kB / 405.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.4728, allocations: 161.5 kB / 406 MB, free: 7.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.4728, allocations: 26.91 kB / 406.1 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-06/0.4728, allocations: 3.188 kB / 406.1 MB, free: 7.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.4729, allocations: 320 kB / 406.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.473, allocations: 18.72 kB / 406.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.473, allocations: 18.72 kB / 406.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.4731, allocations: 48.05 kB / 406.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-06/0.4731, allocations: 0 / 406.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001841/0.4733, allocations: 118.8 kB / 406.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.4733, allocations: 29.55 kB / 406.6 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-06/0.4733, allocations: 0 / 406.6 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4734, allocations: 0 / 406.6 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4735, allocations: 26.83 kB / 406.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.989e-06/0.4735, allocations: 0 / 406.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.4736, allocations: 3.531 kB / 406.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4736, allocations: 11.64 kB / 406.7 MB, free: 7.043 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 4.813e-05/0.4737, allocations: 104.7 kB / 406.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.4737, allocations: 19.83 kB / 406.8 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.474, allocations: 101.5 kB / 406.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.485e-06/0.474, allocations: 3.875 kB / 406.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.474, allocations: 3.938 kB / 406.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.336e-06/0.474, allocations: 0 / 406.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.4745, allocations: 396.2 kB / 407.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-06/0.4745, allocations: 0 / 407.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4746, allocations: 23.02 kB / 407.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4746, allocations: 3.984 kB / 407.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4747, allocations: 3.188 kB / 407.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.651e-06/0.4747, allocations: 11.88 kB / 407.3 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4747, allocations: 3.953 kB / 407.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.4749, allocations: 191.7 kB / 407.5 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.4749, allocations: 91.92 kB / 407.6 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.475, allocations: 0 / 407.6 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4751, allocations: 11.67 kB / 407.6 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.4752, allocations: 3.844 kB / 407.6 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4752, allocations: 11.56 kB / 407.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.4753, allocations: 162.5 kB / 407.8 MB, free: 6.164 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4753, allocations: 0 / 407.8 MB, free: 6.164 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.4757, allocations: 22.44 kB / 407.8 MB, free: 6.16 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006554/0.4764, allocations: 236.5 kB / 408 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.4766, allocations: 107.5 kB / 408.1 MB, free: 5.945 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.533e-06/0.4766, allocations: 0 / 408.1 MB, free: 5.945 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.129e-05/0.4766, allocations: 33.53 kB / 408.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4769, allocations: 11.14 kB / 408.2 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.4773, allocations: 211.9 kB / 408.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.4775, allocations: 0.718 MB / 409.1 MB, free: 5.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.4776, allocations: 15.25 kB / 409.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of SimCode: time 2.028e-06/0.4776, allocations: 0 / 409.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of Templates: time 0.003405/0.481, allocations: 1.561 MB / 410.7 MB, free: 4.309 MB / 314.7 MB