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.CombiTable2D.Test9.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004357, allocations: 12 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3076, allocations: 48.71 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002725/0.3104, allocations: 1.197 MB / 332.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009028/0.3114, allocations: 246.9 kB / 332.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.3114, allocations: 0 / 332.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009848/0.3125, allocations: 438.5 kB / 333.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005853/0.3131, allocations: 231.1 kB / 333.3 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.3133, allocations: 30.31 kB / 333.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.3136, allocations: 111.6 kB / 333.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3137, allocations: 10.44 kB / 333.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.314, allocations: 100.7 kB / 333.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.3144, allocations: 143.5 kB / 333.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.3144, allocations: 1.094 kB / 333.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.589e-05/0.3145, allocations: 15.56 kB / 333.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3147, allocations: 73.44 kB / 333.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.3148, allocations: 67.36 kB / 333.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3152, allocations: 160.5 kB / 334 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3152, allocations: 0 / 334 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3152, allocations: 1.906 kB / 334 MB, free: 5.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.624e-06/0.3152, allocations: 4 kB / 334 MB, free: 5.5 MB / 266.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.0009845/0.3162, allocations: 0.596 MB / 334.6 MB, free: 4.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3163, allocations: 9.438 kB / 334.6 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3164, allocations: 41.89 kB / 334.6 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.3168, allocations: 268.5 kB / 334.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3169, allocations: 5.016 kB / 334.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.3169, allocations: 2.406 kB / 334.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.3172, allocations: 61.5 kB / 335 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3173, allocations: 0 / 335 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3173, allocations: 4 kB / 335 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.335e-06/0.3173, allocations: 1.531 kB / 335 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.3176, allocations: 39.91 kB / 335 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.3184, allocations: 365.5 kB / 335.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.3186, allocations: 41.12 kB / 335.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3187, allocations: 9.062 kB / 335.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3187, allocations: 35.66 kB / 335.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 3.712e-06/0.3187, allocations: 3.938 kB / 335.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006874/0.3194, allocations: 127.8 kB / 335.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.3195, allocations: 57.5 kB / 335.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.3212, allocations: 0.8479 MB / 336.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3213, allocations: 26.83 kB / 336.5 MB, free: 3.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.3215, allocations: 236.7 kB / 336.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3216, allocations: 5.719 kB / 336.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-06/0.3216, allocations: 0 / 336.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.3217, allocations: 315.7 kB / 337.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3219, allocations: 25.67 kB / 337.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3221, allocations: 26.27 kB / 337.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3222, allocations: 47.75 kB / 337.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.02e-06/0.3223, allocations: 0 / 337.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004172/0.3227, allocations: 108.4 kB / 337.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.3228, allocations: 36.55 kB / 337.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.112e-06/0.3228, allocations: 0 / 337.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3228, allocations: 1.141 kB / 337.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.323, allocations: 12.55 kB / 337.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.323, allocations: 3.984 kB / 337.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.3232, allocations: 9.969 kB / 337.3 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3233, allocations: 1.281 kB / 337.3 MB, free: 2.926 MB / 266.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 (4): * Single equations (assignments): 3 * 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.0003355/0.3236, allocations: 209.4 kB / 337.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3238, allocations: 36.62 kB / 337.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.3243, allocations: 128.8 kB / 337.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.3243, allocations: 5.375 kB / 337.7 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.66e-06/0.3244, allocations: 0 / 337.7 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.604e-06/0.3244, allocations: 0 / 337.7 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.3249, allocations: 285.7 kB / 338 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.325, allocations: 5.281 kB / 338 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.3251, allocations: 8.969 kB / 338 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.339e-06/0.3251, allocations: 0 / 338 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3252, allocations: 0 / 338 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-06/0.3252, allocations: 1.125 kB / 338 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.669e-06/0.3252, allocations: 0 / 338 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.3257, allocations: 215 kB / 338.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3258, allocations: 109.8 kB / 338.3 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.3259, allocations: 0 / 338.3 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.3262, allocations: 13.42 kB / 338.3 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.3262, allocations: 1.438 kB / 338.3 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3263, allocations: 1.375 kB / 338.3 MB, free: 2.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001277/0.3276, allocations: 0.6407 MB / 339 MB, free: 1.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.451e-06/0.3276, allocations: 3.938 kB / 339 MB, free: 1.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006265/0.3282, allocations: 22.5 kB / 339 MB, free: 1.777 MB / 266.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 (3): * Single equations (assignments): 3 * 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.0008544/0.3291, allocations: 218 kB / 339.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000434/0.3296, allocations: 106.5 kB / 339.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.336e-06/0.3296, allocations: 1.906 kB / 339.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.3298, allocations: 18.89 kB / 339.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.3303, allocations: 21.55 kB / 339.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3324, allocations: 0.826 MB / 340.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.333, allocations: 0.8157 MB / 341 MB, free: 280 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.3331, allocations: 9.688 kB / 341 MB, free: 272 kB / 266.7 MB Notification: Performance of SimCode: time 2.161e-06/0.3331, allocations: 1.406 kB / 341 MB, free: 272 kB / 266.7 MB Notification: Performance of Templates: time 0.01452/0.3476, allocations: 3.154 MB / 344.1 MB, free: 14.64 MB / 282.7 MB