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.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.665e-05/4.704e-05, allocations: 0 / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3471, allocations: 54.86 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4708, allocations: 80.85 MB / 445.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.4711, allocations: 67.97 kB / 445.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.4825, allocations: 2.711 MB / 448.2 MB, free: 12.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.836e-06/0.4825, allocations: 1.219 kB / 448.2 MB, free: 12.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.4826, allocations: 0 / 448.2 MB, free: 12.87 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.0004626/0.483, allocations: 388.1 kB / 448.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4831, allocations: 8.031 kB / 448.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.4832, allocations: 11.89 kB / 448.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.4834, allocations: 179 kB / 448.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4834, allocations: 4 kB / 448.7 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4835, allocations: 8 kB / 448.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.4836, allocations: 45.62 kB / 448.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4836, allocations: 0 / 448.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4837, allocations: 0 / 448.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-06/0.4837, allocations: 3.953 kB / 448.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.185e-05/0.4837, allocations: 16 kB / 448.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4842, allocations: 269.5 kB / 449.1 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.4844, allocations: 46.5 kB / 449.1 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.4844, allocations: 12.86 kB / 449.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4845, allocations: 0 / 449.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4845, allocations: 34.52 kB / 449.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.4845, allocations: 0 / 449.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004737/0.485, allocations: 117.9 kB / 449.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.4851, allocations: 55.41 kB / 449.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.4852, allocations: 121.1 kB / 449.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4853, allocations: 25.7 kB / 449.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.4854, allocations: 154.6 kB / 449.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.4854, allocations: 19.75 kB / 449.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-06/0.4854, allocations: 0 / 449.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4856, allocations: 314.8 kB / 450 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.4857, allocations: 12 kB / 450 MB, free: 10.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.4857, allocations: 16 kB / 450 MB, free: 10.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.4858, allocations: 37.7 kB / 450 MB, free: 10.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-06/0.4858, allocations: 1.5 kB / 450 MB, free: 10.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001855/0.486, allocations: 95.33 kB / 450.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.4861, allocations: 37.59 kB / 450.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-06/0.4861, allocations: 0 / 450.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4861, allocations: 4 kB / 450.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.4862, allocations: 11.98 kB / 450.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4862, allocations: 4 kB / 450.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.184e-05/0.4863, allocations: 8 kB / 450.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.4863, allocations: 4 kB / 450.2 MB, free: 10.62 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.815e-05/0.4864, allocations: 105 kB / 450.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.4865, allocations: 11.89 kB / 450.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.4867, allocations: 77.66 kB / 450.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.962e-06/0.4867, allocations: 0 / 450.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.996e-06/0.4867, allocations: 0 / 450.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-06/0.4867, allocations: 0 / 450.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.4872, allocations: 327.5 kB / 450.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-06/0.4873, allocations: 3.938 kB / 450.7 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.191e-05/0.4874, allocations: 19.89 kB / 450.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.367e-06/0.4874, allocations: 0 / 450.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.276e-06/0.4874, allocations: 0 / 450.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.668e-06/0.4874, allocations: 4.359 kB / 450.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.045e-06/0.4874, allocations: 4 kB / 450.7 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.4876, allocations: 163.5 kB / 450.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.4877, allocations: 85.02 kB / 451 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.4877, allocations: 7.953 kB / 451 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4879, allocations: 4 kB / 451 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.4879, allocations: 7.984 kB / 451 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-06/0.4879, allocations: 0 / 451 MB, free: 9.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.488, allocations: 103.3 kB / 451.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.488, allocations: 0 / 451.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.4884, allocations: 16 kB / 451.1 MB, free: 9.59 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.0009248/0.4893, allocations: 288.5 kB / 451.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.4895, allocations: 87.41 kB / 451.5 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.83e-06/0.4896, allocations: 0 / 451.5 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.4896, allocations: 24.06 kB / 451.5 MB, free: 9.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.4899, allocations: 8 kB / 451.5 MB, free: 9.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.4903, allocations: 122.7 kB / 451.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.4906, allocations: 0.7004 MB / 452.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.4907, allocations: 15.44 kB / 452.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.634e-06/0.4907, allocations: 0 / 452.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of Templates: time 0.00338/0.4941, allocations: 1.151 MB / 453.5 MB, free: 7.207 MB / 378.7 MB