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.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006417, allocations: 12 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3923, allocations: 54.85 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.5371, allocations: 80.8 MB / 450.6 MB, free: 9.836 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.5374, allocations: 75.97 kB / 450.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02565/0.5631, allocations: 5.26 MB / 455.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5631, allocations: 0 / 455.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.198e-05/0.5632, allocations: 4 kB / 455.9 MB, free: 4.484 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.001075/0.5643, allocations: 0.647 MB / 456.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.5643, allocations: 12.02 kB / 456.6 MB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.5645, allocations: 43.44 kB / 456.6 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.5652, allocations: 315.4 kB / 456.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.5652, allocations: 0 / 456.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.5652, allocations: 0 / 456.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.5655, allocations: 57.69 kB / 457 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5655, allocations: 3.938 kB / 457 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.5656, allocations: 11.95 kB / 457 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.5656, allocations: 3.984 kB / 457 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.5658, allocations: 31.98 kB / 457 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009163/0.5668, allocations: 412.9 kB / 457.5 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.567, allocations: 42.56 kB / 457.5 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.5671, allocations: 4 kB / 457.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.5671, allocations: 38.45 kB / 457.5 MB, free: 2.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.006e-06/0.5671, allocations: 0 / 457.5 MB, free: 2.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006026/0.5677, allocations: 137.2 kB / 457.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.5678, allocations: 55.34 kB / 457.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.5699, allocations: 0.8299 MB / 458.6 MB, free: 1.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.57, allocations: 25.7 kB / 458.6 MB, free: 1.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.5702, allocations: 232.3 kB / 458.8 MB, free: 1.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.5703, allocations: 11.91 kB / 458.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.5703, allocations: 0 / 458.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5705, allocations: 314.8 kB / 459.1 MB, free: 1.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.5706, allocations: 19.98 kB / 459.1 MB, free: 1.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.5708, allocations: 19.92 kB / 459.2 MB, free: 1.031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.5709, allocations: 53.69 kB / 459.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.571, allocations: 3.938 kB / 459.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003595/0.5713, allocations: 107.3 kB / 459.3 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.5714, allocations: 37.66 kB / 459.4 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5714, allocations: 0 / 459.4 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5714, allocations: 4 kB / 459.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.5716, allocations: 8 kB / 459.4 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5716, allocations: 0 / 459.4 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.5718, allocations: 11.98 kB / 459.4 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.5718, allocations: 0 / 459.4 MB, free: 0.7852 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 (4): * Single equations (assignments): 3 * 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.0004765/0.5723, allocations: 209.8 kB / 459.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5724, allocations: 35.53 kB / 459.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.5728, allocations: 141.1 kB / 459.8 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.5729, allocations: 4 kB / 459.8 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5729, allocations: 0 / 459.8 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5729, allocations: 0 / 459.8 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.5733, allocations: 313.5 kB / 460.1 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5733, allocations: 3.984 kB / 460.1 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.5735, allocations: 12 kB / 460.1 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.5735, allocations: 0 / 460.1 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.5735, allocations: 0 / 460.1 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.5735, allocations: 7.953 kB / 460.1 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5735, allocations: 0 / 460.1 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.574, allocations: 214.9 kB / 460.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.5743, allocations: 156.6 kB / 460.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.5744, allocations: 3.984 kB / 460.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5745, allocations: 8 kB / 460.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.5746, allocations: 11.89 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.5746, allocations: 4 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.5758, allocations: 0.6237 MB / 461.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5758, allocations: 4 kB / 461.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004353/0.5763, allocations: 48 kB / 461.2 MB, free: 14.91 MB / 394.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 (3): * Single equations (assignments): 3 * 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.000735/0.577, allocations: 248.1 kB / 461.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003861/0.5774, allocations: 107.3 kB / 461.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5774, allocations: 0 / 461.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5776, allocations: 23.98 kB / 461.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.5779, allocations: 13.97 kB / 461.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.58, allocations: 0.9163 MB / 462.5 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.5807, allocations: 0.8184 MB / 463.3 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.5808, allocations: 15.44 kB / 463.3 MB, free: 12.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.502e-06/0.5808, allocations: 0 / 463.3 MB, free: 12.74 MB / 394.7 MB Notification: Performance of Templates: time 0.01126/0.5921, allocations: 3.738 MB / 467 MB, free: 8.996 MB / 394.7 MB