Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.848/1.848, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004298, allocations: 8 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 48.71 MB / 331.8 MB, free: 8.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5409, allocations: 74.53 MB / 406.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5413, allocations: 75.97 kB / 406.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.5604, allocations: 5.181 MB / 411.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5605, allocations: 0 / 411.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.805e-05/0.5605, allocations: 8 kB / 411.6 MB, free: 5.363 MB / 330.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.0009322/0.5615, allocations: 0.6408 MB / 412.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5615, allocations: 8.031 kB / 412.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.5617, allocations: 43.44 kB / 412.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.5623, allocations: 320.2 kB / 412.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5623, allocations: 0 / 412.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.5624, allocations: 11.88 kB / 412.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.5626, allocations: 57.67 kB / 412.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5626, allocations: 4 kB / 412.7 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5626, allocations: 0 / 412.7 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5627, allocations: 0 / 412.7 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.5628, allocations: 31.91 kB / 412.7 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.5637, allocations: 432.7 kB / 413.1 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.5639, allocations: 42.56 kB / 413.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.564, allocations: 3.938 kB / 413.2 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.564, allocations: 38.64 kB / 413.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.726e-06/0.564, allocations: 4 kB / 413.2 MB, free: 3.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009802/0.565, allocations: 244 kB / 413.5 MB, free: 3.332 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.5651, allocations: 51.41 kB / 413.5 MB, free: 3.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.5671, allocations: 0.8377 MB / 414.3 MB, free: 2.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.5672, allocations: 25.7 kB / 414.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.5674, allocations: 234.6 kB / 414.6 MB, free: 2.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.5675, allocations: 11.75 kB / 414.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.5675, allocations: 4 kB / 414.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5676, allocations: 318.8 kB / 414.9 MB, free: 1.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.5678, allocations: 23.98 kB / 414.9 MB, free: 1.801 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.568, allocations: 27.98 kB / 415 MB, free: 1.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.5681, allocations: 53.69 kB / 415 MB, free: 1.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5682, allocations: 0 / 415 MB, free: 1.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003714/0.5685, allocations: 115.4 kB / 415.1 MB, free: 1.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.5686, allocations: 33.7 kB / 415.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5686, allocations: 3.938 kB / 415.2 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5686, allocations: 0 / 415.2 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5688, allocations: 19.94 kB / 415.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5688, allocations: 0 / 415.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.569, allocations: 7.984 kB / 415.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.569, allocations: 4 kB / 415.2 MB, free: 1.516 MB / 330.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.0003398/0.5693, allocations: 213.8 kB / 415.4 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5695, allocations: 39.44 kB / 415.5 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.57, allocations: 144.9 kB / 415.6 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.57, allocations: 7.875 kB / 415.6 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.57, allocations: 7.953 kB / 415.6 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.57, allocations: 288 / 415.6 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.5714, allocations: 0.5765 MB / 416.2 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5715, allocations: 0 / 416.2 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5716, allocations: 15.98 kB / 416.2 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.5716, allocations: 4 kB / 416.2 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5716, allocations: 8.312 kB / 416.2 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5717, allocations: 3.938 kB / 416.2 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5717, allocations: 4 kB / 416.2 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.5722, allocations: 226.9 kB / 416.4 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.5726, allocations: 152.6 kB / 416.6 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.865e-05/0.5727, allocations: 0 / 416.6 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.5729, allocations: 19.94 kB / 416.6 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.573, allocations: 0 / 416.6 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.573, allocations: 4 kB / 416.6 MB, free: 0 / 330.7 MB Notification: Performance of sorting global known variables: time 0.001313/0.5743, allocations: 0.6276 MB / 417.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5744, allocations: 0 / 417.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004571/0.5749, allocations: 52 kB / 417.3 MB, free: 15.32 MB / 346.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.0007428/0.5756, allocations: 253.1 kB / 417.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004305/0.5761, allocations: 115.3 kB / 417.7 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5761, allocations: 0 / 417.7 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.5762, allocations: 27.98 kB / 417.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.5766, allocations: 21.95 kB / 417.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.5788, allocations: 0.9248 MB / 418.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.5794, allocations: 0.8301 MB / 419.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.5796, allocations: 19.69 kB / 419.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of SimCode: time 3.035e-06/0.5796, allocations: 0 / 419.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of Templates: time 0.01176/0.5914, allocations: 3.932 MB / 423.4 MB, free: 9.176 MB / 346.7 MB