Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test5.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 234.9 MB / 251.1 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006448/0.0006447, allocations: 16 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3761, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.5303, allocations: 81 MB / 450.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.5306, allocations: 75.95 kB / 450.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01934/0.55, allocations: 5.337 MB / 456.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.55, allocations: 0 / 456.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.193e-05/0.5501, allocations: 4 kB / 456.2 MB, free: 6.254 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.0009454/0.551, allocations: 0.6449 MB / 456.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5511, allocations: 8.031 kB / 456.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.5512, allocations: 43.44 kB / 456.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.5518, allocations: 311.4 kB / 457.2 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5519, allocations: 4 kB / 457.2 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.5519, allocations: 7.984 kB / 457.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.5522, allocations: 57.61 kB / 457.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5522, allocations: 3.953 kB / 457.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.5522, allocations: 4 kB / 457.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5522, allocations: 4 kB / 457.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.5524, allocations: 27.97 kB / 457.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008389/0.5533, allocations: 424.7 kB / 457.7 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.5536, allocations: 54.5 kB / 457.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.5536, allocations: 3.938 kB / 457.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.5536, allocations: 32.38 kB / 457.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.5537, allocations: 0 / 457.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009619/0.5546, allocations: 244.1 kB / 458.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5547, allocations: 51.41 kB / 458.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.5567, allocations: 0.8261 MB / 458.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.5568, allocations: 25.7 kB / 459 MB, free: 3.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.557, allocations: 242.5 kB / 459.2 MB, free: 3.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.5571, allocations: 19.75 kB / 459.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.5571, allocations: 0 / 459.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5572, allocations: 314.8 kB / 459.5 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.5574, allocations: 23.98 kB / 459.5 MB, free: 2.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.5576, allocations: 27.98 kB / 459.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.5577, allocations: 57.88 kB / 459.6 MB, free: 2.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5578, allocations: 7.891 kB / 459.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003917/0.5582, allocations: 119.3 kB / 459.8 MB, free: 2.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.5582, allocations: 29.7 kB / 459.8 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.5583, allocations: 4 kB / 459.8 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5583, allocations: 4 kB / 459.8 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.5584, allocations: 19.98 kB / 459.8 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5584, allocations: 0 / 459.8 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.5586, allocations: 4 kB / 459.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.5586, allocations: 4 kB / 459.8 MB, free: 2.398 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.0003466/0.559, allocations: 205.8 kB / 460 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5591, allocations: 47.39 kB / 460.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.5596, allocations: 148.9 kB / 460.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5596, allocations: 0 / 460.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5597, allocations: 0 / 460.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5597, allocations: 0 / 460.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.561, allocations: 0.5843 MB / 460.8 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.561, allocations: 7.938 kB / 460.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5611, allocations: 8 kB / 460.8 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.5612, allocations: 4 kB / 460.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.5612, allocations: 7.984 kB / 460.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5612, allocations: 7.938 kB / 460.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.5612, allocations: 0 / 460.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.5617, allocations: 215.3 kB / 461 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.562, allocations: 164.5 kB / 461.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.562, allocations: 0 / 461.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.5622, allocations: 8 kB / 461.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.5623, allocations: 7.984 kB / 461.2 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.5623, allocations: 0 / 461.2 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00115/0.5634, allocations: 0.6315 MB / 461.8 MB, free: 268 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.565e-06/0.5635, allocations: 0 / 461.8 MB, free: 268 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.5639, allocations: 59.94 kB / 461.9 MB, free: 208 kB / 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.0009293/0.5649, allocations: 291.6 kB / 462.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.5653, allocations: 119.4 kB / 462.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5653, allocations: 0 / 462.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.5655, allocations: 31.92 kB / 462.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.5658, allocations: 17.92 kB / 462.4 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.5678, allocations: 0.9365 MB / 463.3 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.5684, allocations: 0.8223 MB / 464.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.5686, allocations: 23.69 kB / 464.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5686, allocations: 0 / 464.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of Templates: time 0.0116/0.5802, allocations: 3.932 MB / 468.1 MB, free: 10.02 MB / 394.7 MB