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.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.729e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3556, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4788, allocations: 80.18 MB / 438.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4791, allocations: 67.97 kB / 438.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.4965, allocations: 5.337 MB / 443.6 MB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.586e-06/0.4965, allocations: 0 / 443.6 MB, free: 9.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.691e-05/0.4965, allocations: 8 kB / 443.6 MB, free: 9.23 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.0007511/0.4973, allocations: 0.577 MB / 444.2 MB, free: 8.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4974, allocations: 8.031 kB / 444.2 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/0.4975, allocations: 39.53 kB / 444.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.498, allocations: 323.3 kB / 444.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.498, allocations: 0 / 444.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.4981, allocations: 4 kB / 444.6 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.9e-05/0.4982, allocations: 15.94 kB / 444.6 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4983, allocations: 53.58 kB / 444.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4983, allocations: 0 / 444.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-06/0.4983, allocations: 4 kB / 444.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-06/0.4984, allocations: 0 / 444.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.499, allocations: 393.4 kB / 445 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.955e-05/0.4991, allocations: 34.58 kB / 445.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.4992, allocations: 12.81 kB / 445.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.4992, allocations: 8 kB / 445.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4993, allocations: 38.5 kB / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.15e-06/0.4993, allocations: 0 / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006544/0.4999, allocations: 212.1 kB / 445.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5, allocations: 57.2 kB / 445.4 MB, free: 7.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.5016, allocations: 0.7433 MB / 446.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.5017, allocations: 29.7 kB / 446.2 MB, free: 6.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.5019, allocations: 230.5 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.5019, allocations: 23.66 kB / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.5019, allocations: 0 / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5021, allocations: 322.8 kB / 446.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.5022, allocations: 16 kB / 446.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.5022, allocations: 12 kB / 446.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.5023, allocations: 16 kB / 446.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-06/0.5023, allocations: 0 / 446.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000191/0.5025, allocations: 77.64 kB / 446.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.5026, allocations: 34.8 kB / 446.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.915e-06/0.5026, allocations: 144 / 446.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.5026, allocations: 0 / 446.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.5028, allocations: 31.95 kB / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.016e-06/0.5028, allocations: 0 / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.5029, allocations: 12 kB / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.503, allocations: 4 kB / 446.9 MB, free: 5.727 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 (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 9.269e-05/0.5031, allocations: 108.9 kB / 447 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.5032, allocations: 47.39 kB / 447.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.5035, allocations: 125.8 kB / 447.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.193e-06/0.5035, allocations: 0 / 447.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.831e-06/0.5035, allocations: 0 / 447.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.5035, allocations: 0 / 447.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009555/0.5045, allocations: 0.5574 MB / 447.8 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5045, allocations: 0 / 447.8 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.5047, allocations: 27.98 kB / 447.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.454e-06/0.5047, allocations: 0 / 447.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-06/0.5047, allocations: 0 / 447.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5047, allocations: 3.938 kB / 447.8 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.618e-06/0.5047, allocations: 0 / 447.8 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.5051, allocations: 207.1 kB / 448 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.5053, allocations: 168.4 kB / 448.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.5054, allocations: 0 / 448.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.5055, allocations: 15.98 kB / 448.2 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.5056, allocations: 3.938 kB / 448.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-06/0.5056, allocations: 4 kB / 448.2 MB, free: 4.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008968/0.5065, allocations: 0.5965 MB / 448.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.5066, allocations: 4 kB / 448.8 MB, free: 3.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004263/0.507, allocations: 56 kB / 448.8 MB, free: 3.727 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 (7): * Single equations (assignments): 7 * 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.0008181/0.5078, allocations: 257.9 kB / 449.1 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.508, allocations: 95.41 kB / 449.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.74e-06/0.5081, allocations: 0 / 449.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.5081, allocations: 27.94 kB / 449.2 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.5084, allocations: 14.08 kB / 449.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.51, allocations: 0.7434 MB / 450 MB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.5106, allocations: 0.8341 MB / 450.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5108, allocations: 19.44 kB / 450.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of SimCode: time 1.823e-06/0.5108, allocations: 0 / 450.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of Templates: time 0.01022/0.521, allocations: 4.029 MB / 454.8 MB, free: 13.66 MB / 394.7 MB