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.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.14/2.14, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.107e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2752, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.3997, allocations: 81.24 MB / 439.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4, allocations: 71.95 kB / 439.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02221/0.4223, allocations: 5.533 MB / 444.9 MB, free: 7.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.387e-06/0.4223, allocations: 0 / 444.9 MB, free: 7.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.389e-05/0.4224, allocations: 11.94 kB / 444.9 MB, free: 7.973 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000813/0.4232, allocations: 0.6233 MB / 445.5 MB, free: 7.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4233, allocations: 12.03 kB / 445.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.4234, allocations: 39.52 kB / 445.6 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.424, allocations: 291.9 kB / 445.8 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.424, allocations: 4 kB / 445.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.424, allocations: 4 kB / 445.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001532/0.4242, allocations: 36 kB / 445.9 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.4243, allocations: 65.62 kB / 446 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4244, allocations: 4 kB / 446 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4244, allocations: 7.922 kB / 446 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.265e-06/0.4244, allocations: 3.953 kB / 446 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.4251, allocations: 385.1 kB / 446.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.4253, allocations: 54.56 kB / 446.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.4253, allocations: 28.98 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.4254, allocations: 3.984 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4254, allocations: 38.55 kB / 446.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.538e-06/0.4254, allocations: 3.938 kB / 446.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002892/0.4257, allocations: 81.42 kB / 446.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.4258, allocations: 63.39 kB / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.4264, allocations: 402.3 kB / 447 MB, free: 5.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.4265, allocations: 29.7 kB / 447 MB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4267, allocations: 206.5 kB / 447.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.4267, allocations: 23.66 kB / 447.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-06/0.4267, allocations: 3.938 kB / 447.3 MB, free: 5.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4269, allocations: 310.8 kB / 447.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.427, allocations: 23.98 kB / 447.6 MB, free: 5.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.427, allocations: 24 kB / 447.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.878e-05/0.4271, allocations: 23.98 kB / 447.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.848e-06/0.4271, allocations: 0 / 447.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002371/0.4274, allocations: 89.78 kB / 447.7 MB, free: 4.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.4275, allocations: 144.5 kB / 447.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.095e-06/0.4276, allocations: 0 / 447.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4276, allocations: 4 kB / 447.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4277, allocations: 8 kB / 447.9 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.687e-06/0.4277, allocations: 4 kB / 447.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4279, allocations: 23.89 kB / 447.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.4279, allocations: 4 kB / 447.9 MB, free: 4.695 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 (11): * Single equations (assignments): 6 * 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 9.606e-05/0.428, allocations: 108.9 kB / 448 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/0.4281, allocations: 27.62 kB / 448 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.4284, allocations: 116.5 kB / 448.2 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.303e-06/0.4284, allocations: 0 / 448.2 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-06/0.4285, allocations: 0 / 448.2 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-06/0.4285, allocations: 0 / 448.2 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.4289, allocations: 254 kB / 448.4 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-06/0.4289, allocations: 0 / 448.4 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.429, allocations: 15.98 kB / 448.4 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.048e-06/0.429, allocations: 0 / 448.4 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.714e-06/0.429, allocations: 3.938 kB / 448.4 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.333e-06/0.429, allocations: 0 / 448.4 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.429, allocations: 3.953 kB / 448.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.4293, allocations: 187.2 kB / 448.6 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.4295, allocations: 128.7 kB / 448.7 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.4295, allocations: 4 kB / 448.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4297, allocations: 0 / 448.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.4297, allocations: 11.94 kB / 448.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.442e-06/0.4298, allocations: 0 / 448.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004641/0.4302, allocations: 316.5 kB / 449.1 MB, free: 3.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.4302, allocations: 7.938 kB / 449.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004329/0.4307, allocations: 55.78 kB / 449.1 MB, free: 3.387 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 (6): * Single equations (assignments): 6 * 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.001549/0.4323, allocations: 441.8 kB / 449.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.4327, allocations: 321 kB / 449.9 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.511e-06/0.4327, allocations: 0 / 449.9 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.4328, allocations: 27.94 kB / 449.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.4332, allocations: 37.19 kB / 449.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.4342, allocations: 423.9 kB / 450.3 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.4347, allocations: 0.7665 MB / 451.1 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.321e-05/0.4348, allocations: 19.44 kB / 451.1 MB, free: 1.324 MB / 378.7 MB Notification: Performance of SimCode: time 1.853e-06/0.4348, allocations: 4 kB / 451.1 MB, free: 1.32 MB / 378.7 MB Notification: Performance of Templates: time 0.007085/0.4419, allocations: 3.097 MB / 454.2 MB, free: 14.23 MB / 394.7 MB