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.CombiTable1D.Test3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.835/1.835, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004325, allocations: 16 kB / 282.5 MB, free: 9.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08624, allocations: 48.7 MB / 331.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002052/0.08833, allocations: 1.191 MB / 332.4 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.089, allocations: 257 kB / 332.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.08907, allocations: 4 kB / 332.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.08932, allocations: 63.78 kB / 332.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.08948, allocations: 43.94 kB / 332.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.08963, allocations: 35.89 kB / 332.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.08977, allocations: 39.95 kB / 332.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.08988, allocations: 7.984 kB / 332.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.08995, allocations: 31.89 kB / 332.9 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.09007, allocations: 39.84 kB / 332.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.09009, allocations: 0 / 332.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.09017, allocations: 19.94 kB / 332.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.09022, allocations: 11.92 kB / 332.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.09027, allocations: 33.7 kB / 333 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.09041, allocations: 51.92 kB / 333 MB, free: 7.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.237e-06/0.09043, allocations: 0 / 333 MB, free: 7.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09044, allocations: 0 / 333 MB, free: 7.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.364e-06/0.09045, allocations: 0 / 333 MB, free: 7.137 MB / 282.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.0004958/0.09096, allocations: 405 kB / 333.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.091, allocations: 12.03 kB / 333.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.09105, allocations: 7.906 kB / 333.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.09129, allocations: 190.3 kB / 333.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.09131, allocations: 0 / 333.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.09135, allocations: 4 kB / 333.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.09151, allocations: 53.67 kB / 333.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.09154, allocations: 0 / 333.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.173e-06/0.09156, allocations: 3.938 kB / 333.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-06/0.09158, allocations: 4 kB / 333.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.09171, allocations: 31.97 kB / 333.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.09218, allocations: 284.8 kB / 334 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.09243, allocations: 54.59 kB / 334 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.09248, allocations: 7.984 kB / 334 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.09251, allocations: 30.56 kB / 334.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.958e-06/0.09252, allocations: 0 / 334.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007238/0.09325, allocations: 173.1 kB / 334.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.09332, allocations: 51.41 kB / 334.3 MB, free: 5.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.09355, allocations: 182.4 kB / 334.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.09359, allocations: 25.7 kB / 334.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.0937, allocations: 162.6 kB / 334.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.09374, allocations: 19.75 kB / 334.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/0.09376, allocations: 0 / 334.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.09394, allocations: 318.8 kB / 335 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.09406, allocations: 23.98 kB / 335 MB, free: 4.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.09418, allocations: 31.92 kB / 335 MB, free: 4.895 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.09433, allocations: 57.69 kB / 335.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.09435, allocations: 0 / 335.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003078/0.09466, allocations: 123.4 kB / 335.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.09472, allocations: 33.14 kB / 335.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.281e-06/0.09474, allocations: 0 / 335.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.09476, allocations: 4 kB / 335.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.09486, allocations: 19.94 kB / 335.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.192e-06/0.09488, allocations: 0 / 335.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.09495, allocations: 11.98 kB / 335.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.09497, allocations: 0 / 335.3 MB, free: 4.629 MB / 282.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 () * Number of clocked 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 0.0001246/0.09511, allocations: 121.8 kB / 335.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.09517, allocations: 11.81 kB / 335.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.09551, allocations: 114.3 kB / 335.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.043e-06/0.09554, allocations: 8 kB / 335.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.517e-06/0.09556, allocations: 3.953 kB / 335.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.696e-06/0.09557, allocations: 0 / 335.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.09619, allocations: 370.4 kB / 335.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.799e-06/0.09621, allocations: 0 / 335.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.0963, allocations: 15.98 kB / 335.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.613e-06/0.09632, allocations: 0 / 335.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.09634, allocations: 7.953 kB / 335.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-06/0.09636, allocations: 0 / 335.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.606e-06/0.09637, allocations: 4 kB / 335.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.09671, allocations: 191.4 kB / 336.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.0968, allocations: 81.02 kB / 336.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.09683, allocations: 7.938 kB / 336.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.09694, allocations: 11.95 kB / 336.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.09699, allocations: 3.984 kB / 336.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-06/0.09702, allocations: 7.938 kB / 336.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.09718, allocations: 138.6 kB / 336.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.09719, allocations: 4 kB / 336.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003264/0.09753, allocations: 19.98 kB / 336.4 MB, free: 3.422 MB / 282.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 () * Number of clocked 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.0007343/0.09828, allocations: 245.6 kB / 336.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.09863, allocations: 119.4 kB / 336.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.774e-06/0.09865, allocations: 0 / 336.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.09879, allocations: 35.92 kB / 336.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.09905, allocations: 11.98 kB / 336.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.09958, allocations: 242.8 kB / 337 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1, allocations: 0.712 MB / 337.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.1001, allocations: 11.44 kB / 337.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of SimCode: time 1.344e-06/0.1001, allocations: 0 / 337.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of Templates: time 0.003468/0.1035, allocations: 1.272 MB / 339 MB, free: 0.7578 MB / 282.7 MB