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.CombiTable2D.Test1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.137/2.137, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.47e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3194, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4428, allocations: 80.28 MB / 438.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.4431, allocations: 75.91 kB / 438.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.4613, allocations: 5.373 MB / 443.8 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.536e-06/0.4613, allocations: 0 / 443.8 MB, free: 9.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.4614, allocations: 8 kB / 443.8 MB, free: 9.082 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007196/0.4621, allocations: 0.5654 MB / 444.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4622, allocations: 8.031 kB / 444.4 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.4623, allocations: 39.53 kB / 444.4 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.4628, allocations: 319.2 kB / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4629, allocations: 4 kB / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.4629, allocations: 0 / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.898e-05/0.463, allocations: 20 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.623e-05/0.4631, allocations: 49.64 kB / 444.8 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4631, allocations: 0 / 444.8 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-06/0.4631, allocations: 0 / 444.8 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.343e-06/0.4632, allocations: 0 / 444.8 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.4638, allocations: 393.3 kB / 445.2 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.464, allocations: 50.5 kB / 445.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.4641, allocations: 12.86 kB / 445.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4641, allocations: 0 / 445.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.4642, allocations: 32.38 kB / 445.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 4.149e-06/0.4642, allocations: 0 / 445.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005548/0.4647, allocations: 192 kB / 445.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4648, allocations: 55.41 kB / 445.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.4664, allocations: 0.7394 MB / 446.2 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4665, allocations: 25.7 kB / 446.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.4667, allocations: 230.5 kB / 446.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.4667, allocations: 23.7 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-06/0.4667, allocations: 0 / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4669, allocations: 310.8 kB / 446.8 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.467, allocations: 12 kB / 446.8 MB, free: 5.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.467, allocations: 12 kB / 446.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.4671, allocations: 15.98 kB / 446.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-06/0.4671, allocations: 4 kB / 446.9 MB, free: 5.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001884/0.4673, allocations: 65.59 kB / 446.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.4673, allocations: 29.7 kB / 446.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.497e-06/0.4673, allocations: 3.984 kB / 446.9 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4674, allocations: 0 / 446.9 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4675, allocations: 12 kB / 447 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.462e-06/0.4675, allocations: 3.938 kB / 447 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.4676, allocations: 11.98 kB / 447 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4677, allocations: 4 kB / 447 MB, free: 5.664 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 () * 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 9.215e-05/0.4678, allocations: 105 kB / 447.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.4679, allocations: 43.48 kB / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.4681, allocations: 113.2 kB / 447.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-06/0.4682, allocations: 0 / 447.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.959e-06/0.4682, allocations: 0 / 447.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.144e-06/0.4682, allocations: 0 / 447.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009266/0.4691, allocations: 0.534 MB / 447.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.704e-06/0.4691, allocations: 3.953 kB / 447.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.4693, allocations: 16 kB / 447.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.463e-06/0.4693, allocations: 0 / 447.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4693, allocations: 0 / 447.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.866e-06/0.4693, allocations: 4.312 kB / 447.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.941e-06/0.4693, allocations: 3.984 kB / 447.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4696, allocations: 187.1 kB / 448 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.4698, allocations: 164.5 kB / 448.1 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.4699, allocations: 4 kB / 448.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.4701, allocations: 7.984 kB / 448.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.4701, allocations: 0 / 448.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4701, allocations: 4 kB / 448.2 MB, free: 4.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009242/0.4711, allocations: 0.5965 MB / 448.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.4711, allocations: 0 / 448.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.4715, allocations: 55.94 kB / 448.8 MB, free: 3.746 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 () * 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.0008385/0.4724, allocations: 259.8 kB / 449.1 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4726, allocations: 87.34 kB / 449.1 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.97e-06/0.4726, allocations: 0 / 449.1 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.4727, allocations: 16 kB / 449.2 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.473, allocations: 14.09 kB / 449.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.4745, allocations: 0.7394 MB / 449.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.4752, allocations: 0.8263 MB / 450.7 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.4753, allocations: 27.38 kB / 450.8 MB, free: 1.746 MB / 378.7 MB Notification: Performance of SimCode: time 1.694e-06/0.4753, allocations: 0 / 450.8 MB, free: 1.746 MB / 378.7 MB Notification: Performance of Templates: time 0.01022/0.4856, allocations: 3.891 MB / 454.7 MB, free: 13.85 MB / 394.7 MB