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.CombiTable1D.Test27.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.CombiTable1D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.207/2.207, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.627e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4096, allocations: 54.86 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.5369, allocations: 80.89 MB / 445.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5372, allocations: 67.97 kB / 445.5 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01345/0.5506, allocations: 3.355 MB / 448.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.01e-06/0.5507, allocations: 4.844 kB / 448.9 MB, free: 12.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.5508, allocations: 0 / 448.9 MB, free: 12.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007303/0.5515, allocations: 419.9 kB / 449.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.5516, allocations: 12.03 kB / 449.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.017e-05/0.5517, allocations: 19.78 kB / 449.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.5521, allocations: 204.2 kB / 449.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.5522, allocations: 8 kB / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.5522, allocations: 0 / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.5524, allocations: 47.69 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5525, allocations: 4.844 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.5525, allocations: 3.953 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.5525, allocations: 0 / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.5526, allocations: 15.98 kB / 449.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/0.5535, allocations: 308.8 kB / 449.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.5538, allocations: 38.58 kB / 449.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.5539, allocations: 16.89 kB / 449.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.554, allocations: 0 / 449.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.554, allocations: 38.56 kB / 450 MB, free: 10.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.588e-06/0.554, allocations: 1.031 kB / 450 MB, free: 10.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005298/0.5546, allocations: 125.2 kB / 450.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.5546, allocations: 55.41 kB / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.555, allocations: 226.6 kB / 450.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.555, allocations: 33.7 kB / 450.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.5552, allocations: 166.5 kB / 450.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.5552, allocations: 19.75 kB / 450.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-06/0.5552, allocations: 0 / 450.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5554, allocations: 314.8 kB / 450.9 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.5554, allocations: 16 kB / 450.9 MB, free: 9.906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.5555, allocations: 12 kB / 450.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.394e-05/0.5556, allocations: 55.91 kB / 451 MB, free: 9.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.267e-06/0.5556, allocations: 0 / 451 MB, free: 9.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001932/0.5558, allocations: 99.28 kB / 451.1 MB, free: 9.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.5559, allocations: 33.7 kB / 451.1 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.962e-06/0.5559, allocations: 0 / 451.1 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5559, allocations: 0 / 451.1 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.556, allocations: 18.36 kB / 451.1 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.476e-06/0.556, allocations: 4 kB / 451.1 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.5561, allocations: 11.98 kB / 451.1 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5561, allocations: 0 / 451.1 MB, free: 9.656 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 (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 8.972e-05/0.5562, allocations: 105 kB / 451.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.5563, allocations: 19.77 kB / 451.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.5566, allocations: 86.61 kB / 451.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-06/0.5566, allocations: 4 kB / 451.4 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-06/0.5566, allocations: 4 kB / 451.4 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.37e-06/0.5566, allocations: 3.938 kB / 451.4 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.5572, allocations: 378.4 kB / 451.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-06/0.5572, allocations: 0 / 451.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.5573, allocations: 12 kB / 451.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.894e-06/0.5574, allocations: 0 / 451.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5574, allocations: 11 kB / 451.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5574, allocations: 0 / 451.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.788e-06/0.5574, allocations: 3.984 kB / 451.8 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.5576, allocations: 171.4 kB / 451.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.5578, allocations: 92.97 kB / 452 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.5578, allocations: 4 kB / 452 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.5579, allocations: 12.12 kB / 452 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.558, allocations: 11.92 kB / 452 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.647e-06/0.558, allocations: 0 / 452 MB, free: 8.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.5583, allocations: 197.1 kB / 452.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.55e-07/0.5583, allocations: 4 kB / 452.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.5587, allocations: 16 kB / 452.3 MB, free: 8.441 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 (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.0009169/0.5596, allocations: 281.1 kB / 452.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.5598, allocations: 95.39 kB / 452.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.924e-06/0.5598, allocations: 0 / 452.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.5599, allocations: 19.94 kB / 452.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.5602, allocations: 12.17 kB / 452.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.5607, allocations: 235.7 kB / 452.9 MB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.5612, allocations: 0.716 MB / 453.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.5613, allocations: 15.42 kB / 453.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.702e-06/0.5613, allocations: 0 / 453.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of Templates: time 0.004121/0.5654, allocations: 1.552 MB / 455.2 MB, free: 5.535 MB / 378.7 MB