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.Test20.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.218e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3703, allocations: 54.86 MB / 364.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4964, allocations: 82.1 MB / 446.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.4966, allocations: 76.8 kB / 446.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02671/0.5234, allocations: 6.433 MB / 453.1 MB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.5234, allocations: 0 / 453.1 MB, free: 7.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.296e-05/0.5235, allocations: 8 kB / 453.2 MB, free: 7.797 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008779/0.5244, allocations: 0.6817 MB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5244, allocations: 8.031 kB / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.688e-05/0.5245, allocations: 39.53 kB / 453.9 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.5251, allocations: 291.9 kB / 454.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.5251, allocations: 12 kB / 454.2 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.5252, allocations: 15.95 kB / 454.2 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.5254, allocations: 101.6 kB / 454.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5255, allocations: 3.906 kB / 454.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.5255, allocations: 8 kB / 454.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5255, allocations: 0 / 454.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.5257, allocations: 63.92 kB / 454.4 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008255/0.5265, allocations: 468.4 kB / 454.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.5268, allocations: 98.48 kB / 454.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.5269, allocations: 32.86 kB / 455 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.5269, allocations: 3.984 kB / 455 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.5269, allocations: 34.56 kB / 455 MB, free: 5.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.527, allocations: 0 / 455 MB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009847/0.528, allocations: 325 kB / 455.3 MB, free: 5.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.528, allocations: 51.41 kB / 455.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.5287, allocations: 423.4 kB / 455.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.5288, allocations: 33.7 kB / 455.8 MB, free: 4.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.5289, allocations: 214.9 kB / 456 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.529, allocations: 63.08 kB / 456.1 MB, free: 4.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.5291, allocations: 4 kB / 456.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5292, allocations: 314.8 kB / 456.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5294, allocations: 60.31 kB / 456.4 MB, free: 4.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.5295, allocations: 48.73 kB / 456.5 MB, free: 4.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.5298, allocations: 195.6 kB / 456.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-06/0.5298, allocations: 0 / 456.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005332/0.5303, allocations: 311.9 kB / 457 MB, free: 3.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.5305, allocations: 146 kB / 457.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-06/0.5305, allocations: 4 kB / 457.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5305, allocations: 0 / 457.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.5307, allocations: 35.92 kB / 457.2 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5308, allocations: 4 kB / 457.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.5309, allocations: 15.98 kB / 457.2 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.5309, allocations: 8 kB / 457.2 MB, free: 3.414 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001039/0.531, allocations: 109 kB / 457.3 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.564e-05/0.5312, allocations: 31.62 kB / 457.3 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.5317, allocations: 228.6 kB / 457.6 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.5317, allocations: 4 kB / 457.6 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.702e-06/0.5318, allocations: 4 kB / 457.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.808e-06/0.5318, allocations: 0 / 457.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.5329, allocations: 0.6166 MB / 458.2 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5329, allocations: 4 kB / 458.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.5331, allocations: 43.91 kB / 458.2 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.799e-06/0.5331, allocations: 8 kB / 458.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5331, allocations: 0 / 458.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.022e-06/0.5332, allocations: 0 / 458.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.626e-06/0.5332, allocations: 4 kB / 458.2 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.5336, allocations: 275.6 kB / 458.5 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.5338, allocations: 124.7 kB / 458.6 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.5339, allocations: 4 kB / 458.6 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.534, allocations: 12 kB / 458.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.5341, allocations: 15.89 kB / 458.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.5341, allocations: 8 kB / 458.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005145/0.5346, allocations: 330.1 kB / 459 MB, free: 1.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.442e-06/0.5347, allocations: 0 / 459 MB, free: 1.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005054/0.5352, allocations: 99.73 kB / 459.1 MB, free: 1.414 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 (17): * Single equations (assignments): 17 * 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.00256/0.5377, allocations: 0.7099 MB / 459.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.5383, allocations: 400.9 kB / 460.2 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.5384, allocations: 3.938 kB / 460.2 MB, free: 332 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5385, allocations: 63.94 kB / 460.3 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.539, allocations: 41.14 kB / 460.3 MB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.5401, allocations: 0.5043 MB / 460.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.5407, allocations: 0.779 MB / 461.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.5408, allocations: 35.42 kB / 461.6 MB, free: 14.85 MB / 394.7 MB Notification: Performance of SimCode: time 1.779e-06/0.5408, allocations: 0 / 461.6 MB, free: 14.85 MB / 394.7 MB Notification: Performance of Templates: time 0.008311/0.5491, allocations: 4.094 MB / 465.7 MB, free: 10.74 MB / 394.7 MB