Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.125/2.125, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.033e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.279, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.3894, allocations: 73.66 MB / 393.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3897, allocations: 71.97 kB / 393.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01605/0.4058, allocations: 4.995 MB / 398.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.166e-06/0.4058, allocations: 0 / 398.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.4058, allocations: 8 kB / 398.7 MB, free: 1.699 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006702/0.4065, allocations: 0.5576 MB / 399.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4066, allocations: 12.03 kB / 399.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.4067, allocations: 43.47 kB / 399.4 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.4072, allocations: 323.3 kB / 399.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4072, allocations: 0 / 399.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.4073, allocations: 3.984 kB / 399.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.14e-05/0.4074, allocations: 12 kB / 399.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.4075, allocations: 41.69 kB / 399.7 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.422e-06/0.4075, allocations: 3.938 kB / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-06/0.4075, allocations: 0 / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-06/0.4075, allocations: 0 / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.4082, allocations: 389.4 kB / 400.1 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.4082, allocations: 30.52 kB / 400.1 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.4083, allocations: 8.844 kB / 400.1 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.4083, allocations: 4.062 kB / 400.2 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.4084, allocations: 34.56 kB / 400.2 MB, free: 96 kB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 4.265e-06/0.4084, allocations: 0 / 400.2 MB, free: 96 kB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002292/0.4086, allocations: 77.17 kB / 400.3 MB, free: 12 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4087, allocations: 51.41 kB / 400.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.4102, allocations: 0.7393 MB / 401.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4103, allocations: 25.7 kB / 401.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.4105, allocations: 234.6 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.4105, allocations: 3.906 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-06/0.4105, allocations: 0 / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4107, allocations: 322.8 kB / 401.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.4108, allocations: 8 kB / 401.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.4108, allocations: 4 kB / 401.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.4108, allocations: 8 kB / 401.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-06/0.4108, allocations: 0 / 401.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001294/0.411, allocations: 49.62 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.411, allocations: 30.48 kB / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.717e-06/0.4111, allocations: 0 / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4111, allocations: 0 / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.4112, allocations: 12 kB / 401.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.4112, allocations: 3.984 kB / 401.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.4113, allocations: 4 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4113, allocations: 4 kB / 401.7 MB, free: 14.48 MB / 346.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 (3): * Single equations (assignments): 2 * 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 8.937e-05/0.4114, allocations: 112 kB / 401.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4116, allocations: 39.53 kB / 401.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.4118, allocations: 92.75 kB / 402 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-06/0.4118, allocations: 4.031 kB / 402 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.617e-06/0.4118, allocations: 0 / 402 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.705e-06/0.4118, allocations: 0 / 402 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.4122, allocations: 302 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.233e-06/0.4123, allocations: 3.938 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.4123, allocations: 7.938 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.779e-06/0.4123, allocations: 0 / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4124, allocations: 4 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-06/0.4124, allocations: 3.938 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-06/0.4124, allocations: 0 / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.4126, allocations: 171.1 kB / 402.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.4129, allocations: 156.6 kB / 402.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.4129, allocations: 7.984 kB / 402.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4131, allocations: 0 / 402.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.4131, allocations: 4 kB / 402.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-06/0.4131, allocations: 0 / 402.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008865/0.414, allocations: 0.5965 MB / 403.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-07/0.414, allocations: 4.031 kB / 403.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003955/0.4144, allocations: 44 kB / 403.3 MB, free: 12.87 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005408/0.415, allocations: 186 kB / 403.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.4152, allocations: 63.41 kB / 403.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.914e-06/0.4152, allocations: 4 kB / 403.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.4152, allocations: 11.98 kB / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.4155, allocations: 14.09 kB / 403.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.4169, allocations: 0.7204 MB / 404.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.4175, allocations: 0.8224 MB / 405.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.4176, allocations: 19.44 kB / 405.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of SimCode: time 1.531e-06/0.4176, allocations: 0 / 405.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of Templates: time 0.009235/0.4269, allocations: 3.655 MB / 408.8 MB, free: 7.324 MB / 346.7 MB