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.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.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.182/2.182, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.702e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3036, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.4396, allocations: 80.46 MB / 438.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4399, allocations: 75.95 kB / 438.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01243/0.4523, allocations: 3.191 MB / 441.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.376e-06/0.4524, allocations: 0 / 441.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4524, allocations: 0 / 441.8 MB, free: 11.09 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.0004574/0.4529, allocations: 380.9 kB / 442.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4529, allocations: 8.031 kB / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.453, allocations: 11.86 kB / 442.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.4532, allocations: 183 kB / 442.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.937e-06/0.4533, allocations: 0 / 442.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.4533, allocations: 4 kB / 442.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.608e-05/0.4534, allocations: 11.94 kB / 442.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4535, allocations: 57.47 kB / 442.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4535, allocations: 0 / 442.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.4535, allocations: 0 / 442.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.921e-06/0.4536, allocations: 3.953 kB / 442.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.454, allocations: 253.4 kB / 442.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4542, allocations: 34.52 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.4542, allocations: 12.8 kB / 442.7 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.4542, allocations: 4 kB / 442.7 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4543, allocations: 34.56 kB / 442.7 MB, free: 9.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 4.386e-06/0.4543, allocations: 4 kB / 442.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004581/0.4548, allocations: 109.4 kB / 442.9 MB, free: 9.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.4548, allocations: 77.11 kB / 442.9 MB, free: 9.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.455, allocations: 116.9 kB / 443 MB, free: 9.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.455, allocations: 25.7 kB / 443.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.269e-05/0.4551, allocations: 150.6 kB / 443.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.4552, allocations: 19.75 kB / 443.2 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-06/0.4552, allocations: 0 / 443.2 MB, free: 9.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4553, allocations: 318.8 kB / 443.5 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.4554, allocations: 12 kB / 443.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.4554, allocations: 25.72 kB / 443.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.4555, allocations: 16.19 kB / 443.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4555, allocations: 0 / 443.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001651/0.4557, allocations: 65.59 kB / 443.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.4557, allocations: 37.64 kB / 443.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4558, allocations: 0 / 443.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4558, allocations: 4.031 kB / 443.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4559, allocations: 19.94 kB / 443.7 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.35e-06/0.4559, allocations: 3.938 kB / 443.7 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.456, allocations: 4 kB / 443.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.456, allocations: 8.125 kB / 443.7 MB, free: 8.895 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.626e-05/0.4561, allocations: 101 kB / 443.8 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.4562, allocations: 7.984 kB / 443.8 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.4564, allocations: 74.08 kB / 443.9 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-06/0.4564, allocations: 0 / 443.9 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.632e-06/0.4564, allocations: 3.953 kB / 443.9 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4564, allocations: 3.938 kB / 443.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.4568, allocations: 299.1 kB / 444.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-06/0.4569, allocations: 3.938 kB / 444.2 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.457, allocations: 12 kB / 444.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.499e-06/0.457, allocations: 3.984 kB / 444.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-06/0.457, allocations: 4 kB / 444.2 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.616e-06/0.457, allocations: 3.953 kB / 444.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.472e-06/0.457, allocations: 0 / 444.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.4572, allocations: 151.7 kB / 444.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.4573, allocations: 89.08 kB / 444.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.4573, allocations: 4 kB / 444.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4574, allocations: 7.984 kB / 444.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.4575, allocations: 11.95 kB / 444.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.544e-06/0.4575, allocations: 0 / 444.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.513e-05/0.4576, allocations: 95.27 kB / 444.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.4576, allocations: 0 / 444.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.458, allocations: 24 kB / 444.6 MB, free: 7.926 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.001067/0.4591, allocations: 321.4 kB / 444.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.4593, allocations: 91.34 kB / 445 MB, free: 7.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.319e-06/0.4593, allocations: 0 / 445 MB, free: 7.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.4594, allocations: 19.94 kB / 445 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4596, allocations: 7.984 kB / 445 MB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.4599, allocations: 113.8 kB / 445.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4603, allocations: 0.6923 MB / 445.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.4604, allocations: 15.44 kB / 445.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.4604, allocations: 0 / 445.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of Templates: time 0.003907/0.4643, allocations: 1.45 MB / 447.3 MB, free: 5.195 MB / 378.7 MB