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/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.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.168/2.168, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.412e-05/1.422e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3241, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.4514, allocations: 81.43 MB / 439.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4517, allocations: 67.97 kB / 439.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02621/0.4779, allocations: 6.38 MB / 445.9 MB, free: 6.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.341e-06/0.478, allocations: 0 / 445.9 MB, free: 6.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.478, allocations: 4 kB / 445.9 MB, free: 6.926 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.00091/0.479, allocations: 0.6855 MB / 446.6 MB, free: 6.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.479, allocations: 12.03 kB / 446.6 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4791, allocations: 35.56 kB / 446.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.4797, allocations: 287.9 kB / 446.9 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4797, allocations: 4 kB / 446.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.4798, allocations: 11.98 kB / 447 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002052/0.48, allocations: 63.88 kB / 447 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4802, allocations: 85.61 kB / 447.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4803, allocations: 224 / 447.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.4803, allocations: 4 kB / 447.1 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.519e-06/0.4803, allocations: 7.938 kB / 447.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.4812, allocations: 440.8 kB / 447.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.4814, allocations: 86.5 kB / 447.6 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.838e-05/0.4815, allocations: 32.8 kB / 447.7 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.4815, allocations: 7.984 kB / 447.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4816, allocations: 30.56 kB / 447.7 MB, free: 4.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.108e-06/0.4816, allocations: 0 / 447.7 MB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001046/0.4826, allocations: 308.4 kB / 448 MB, free: 4.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4827, allocations: 55.41 kB / 448.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.4835, allocations: 402.3 kB / 448.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.4835, allocations: 25.7 kB / 448.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.4837, allocations: 218.9 kB / 448.7 MB, free: 3.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.4838, allocations: 59.11 kB / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.4838, allocations: 0 / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.484, allocations: 322.8 kB / 449.1 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4841, allocations: 40.38 kB / 449.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4842, allocations: 49.31 kB / 449.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4844, allocations: 54.78 kB / 449.2 MB, free: 3.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-06/0.4844, allocations: 7.938 kB / 449.2 MB, free: 3.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003946/0.4848, allocations: 164.2 kB / 449.4 MB, free: 3.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.4849, allocations: 136.5 kB / 449.5 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.478e-06/0.485, allocations: 7.938 kB / 449.5 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.485, allocations: 3.953 kB / 449.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.4852, allocations: 35.98 kB / 449.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.333e-06/0.4852, allocations: 4 kB / 449.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.4854, allocations: 11.89 kB / 449.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.4854, allocations: 12 kB / 449.6 MB, free: 3.02 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.0001048/0.4855, allocations: 104.9 kB / 449.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.4857, allocations: 31.62 kB / 449.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.4862, allocations: 211.1 kB / 449.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4862, allocations: 4 kB / 449.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.707e-06/0.4863, allocations: 3.953 kB / 449.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.601e-06/0.4863, allocations: 0 / 449.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4874, allocations: 0.5807 MB / 450.5 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-06/0.4874, allocations: 0 / 450.5 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.4876, allocations: 43.91 kB / 450.5 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.4876, allocations: 3.953 kB / 450.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4876, allocations: 4 kB / 450.6 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.655e-06/0.4877, allocations: 4 kB / 450.6 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4877, allocations: 4 kB / 450.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.4881, allocations: 264 kB / 450.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.4883, allocations: 124.7 kB / 450.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.4884, allocations: 3.953 kB / 450.9 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.4885, allocations: 4 kB / 450.9 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.4886, allocations: 11.98 kB / 451 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4886, allocations: 8 kB / 451 MB, free: 1.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004906/0.4891, allocations: 316.5 kB / 451.3 MB, free: 1.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.87e-07/0.4891, allocations: 0 / 451.3 MB, free: 1.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005239/0.4897, allocations: 91.8 kB / 451.4 MB, free: 1.129 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.002265/0.492, allocations: 0.6258 MB / 452 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.4926, allocations: 400.8 kB / 452.4 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.34e-06/0.4926, allocations: 0 / 452.4 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4927, allocations: 63.94 kB / 452.4 MB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.4932, allocations: 33.19 kB / 452.5 MB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4944, allocations: 495.8 kB / 453 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.4949, allocations: 0.7865 MB / 453.7 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.4951, allocations: 35.41 kB / 453.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.755e-06/0.4951, allocations: 8 kB / 453.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of Templates: time 0.008986/0.5041, allocations: 4.101 MB / 457.9 MB, free: 10.57 MB / 394.7 MB