Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test20.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.157/2.157, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004433, allocations: 16 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4009, allocations: 81.23 MB / 450.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4012, allocations: 75.89 kB / 450.6 MB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.415, allocations: 3.511 MB / 454.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.501e-06/0.415, allocations: 0 / 454.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.4151, allocations: 0 / 454.1 MB, free: 5.773 MB / 378.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.000497/0.4156, allocations: 407 kB / 454.5 MB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4156, allocations: 12.03 kB / 454.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.4157, allocations: 15.8 kB / 454.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4159, allocations: 175.1 kB / 454.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.416, allocations: 4 kB / 454.7 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.416, allocations: 3.984 kB / 454.7 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.4162, allocations: 71.34 kB / 454.8 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4162, allocations: 0 / 454.8 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4162, allocations: 0 / 454.8 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-06/0.4163, allocations: 0 / 454.8 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.4164, allocations: 35.92 kB / 454.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.4169, allocations: 284.8 kB / 455.1 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.4171, allocations: 46.5 kB / 455.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4172, allocations: 0 / 455.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4172, allocations: 34.56 kB / 455.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.758e-06/0.4172, allocations: 0 / 455.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007306/0.418, allocations: 169.4 kB / 455.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.418, allocations: 77.11 kB / 455.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4182, allocations: 117 kB / 455.5 MB, free: 4.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.4182, allocations: 25.7 kB / 455.5 MB, free: 4.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.4183, allocations: 162.5 kB / 455.7 MB, free: 3.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.4184, allocations: 11.75 kB / 455.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.4184, allocations: 0 / 455.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4185, allocations: 318.8 kB / 456 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.4187, allocations: 23.98 kB / 456 MB, free: 3.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4188, allocations: 45.69 kB / 456.1 MB, free: 3.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.4189, allocations: 53.69 kB / 456.1 MB, free: 3.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.419, allocations: 0 / 456.1 MB, free: 3.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003199/0.4193, allocations: 131.3 kB / 456.3 MB, free: 3.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.4193, allocations: 33.7 kB / 456.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-06/0.4194, allocations: 3.938 kB / 456.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4194, allocations: 3.953 kB / 456.3 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.4195, allocations: 15.98 kB / 456.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4195, allocations: 0 / 456.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.4196, allocations: 15.94 kB / 456.3 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4196, allocations: 0 / 456.3 MB, free: 3.273 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001179/0.4197, allocations: 117.8 kB / 456.4 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.4198, allocations: 7.906 kB / 456.5 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.4202, allocations: 105.8 kB / 456.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.703e-06/0.4202, allocations: 11.95 kB / 456.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.29e-06/0.4202, allocations: 4.062 kB / 456.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-06/0.4202, allocations: 0 / 456.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.4208, allocations: 350.6 kB / 456.9 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.571e-06/0.4209, allocations: 4 kB / 456.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.421, allocations: 19.92 kB / 456.9 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.421, allocations: 7.953 kB / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-06/0.421, allocations: 0 / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.882e-06/0.421, allocations: 0 / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-06/0.421, allocations: 0 / 456.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.4214, allocations: 195.4 kB / 457.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.4214, allocations: 81.3 kB / 457.2 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.4215, allocations: 3.953 kB / 457.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4216, allocations: 11.98 kB / 457.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.4217, allocations: 4 kB / 457.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4217, allocations: 7.984 kB / 457.2 MB, free: 2.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.845e-05/0.4218, allocations: 91.7 kB / 457.3 MB, free: 2.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.4218, allocations: 4 kB / 457.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.4222, allocations: 39.92 kB / 457.4 MB, free: 2.113 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001285/0.4235, allocations: 396.6 kB / 457.8 MB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.4238, allocations: 111.4 kB / 457.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.564e-06/0.4239, allocations: 4 kB / 457.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.424, allocations: 35.91 kB / 457.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4242, allocations: 12 kB / 457.9 MB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.4247, allocations: 190.5 kB / 458.1 MB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.4251, allocations: 0.6887 MB / 458.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.4252, allocations: 15.42 kB / 458.8 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4252, allocations: 4 kB / 458.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of Templates: time 0.003974/0.4292, allocations: 1.479 MB / 460.3 MB, free: 15.2 MB / 394.7 MB