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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.821/1.821, allocations: 209.3 MB / 224.8 MB, free: 1.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004271, allocations: 12 kB / 282.5 MB, free: 9.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08995, allocations: 48.71 MB / 331.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002185/0.09219, allocations: 1.222 MB / 332.4 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006212/0.09284, allocations: 257.1 kB / 332.7 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.0929, allocations: 0 / 332.7 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006229/0.09355, allocations: 431.2 kB / 333.1 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.09393, allocations: 235.6 kB / 333.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.09407, allocations: 31.91 kB / 333.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.09429, allocations: 111.8 kB / 333.5 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.0944, allocations: 19.97 kB / 333.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.09455, allocations: 103.8 kB / 333.6 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.09481, allocations: 135.8 kB / 333.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.09484, allocations: 0 / 333.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.09493, allocations: 19.98 kB / 333.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.09504, allocations: 75.69 kB / 333.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.09512, allocations: 65.52 kB / 333.9 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.0954, allocations: 175.8 kB / 334 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.09541, allocations: 0 / 334 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.922e-06/0.09543, allocations: 4 kB / 334 MB, free: 6.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.09545, allocations: 0 / 334 MB, free: 6.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008129/0.09627, allocations: 0.6008 MB / 334.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.09631, allocations: 8.031 kB / 334.7 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.0964, allocations: 39.44 kB / 334.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.09676, allocations: 267.4 kB / 335 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.09679, allocations: 4 kB / 335 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.09683, allocations: 8 kB / 335 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.097, allocations: 53.67 kB / 335 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.09703, allocations: 0 / 335 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.09705, allocations: 4 kB / 335 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.09707, allocations: 0 / 335 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.09721, allocations: 31.97 kB / 335.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.09781, allocations: 384.6 kB / 335.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.09807, allocations: 50.55 kB / 335.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.09811, allocations: 0 / 335.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.09815, allocations: 30.56 kB / 335.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.261e-06/0.09816, allocations: 4 kB / 335.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008008/0.09897, allocations: 232.2 kB / 335.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.09904, allocations: 59.41 kB / 335.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.1002, allocations: 0.8456 MB / 336.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1002, allocations: 25.7 kB / 336.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.1005, allocations: 242.5 kB / 336.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1005, allocations: 19.69 kB / 336.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-06/0.1005, allocations: 0 / 336.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1007, allocations: 314.8 kB / 337.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1008, allocations: 31.92 kB / 337.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.1009, allocations: 27.98 kB / 337.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1011, allocations: 49.69 kB / 337.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-06/0.1011, allocations: 0 / 337.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000321/0.1014, allocations: 119.4 kB / 337.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.1015, allocations: 37.14 kB / 337.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.674e-06/0.1015, allocations: 0 / 337.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1015, allocations: 0 / 337.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1017, allocations: 19.98 kB / 337.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.549e-06/0.1017, allocations: 3.938 kB / 337.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.1018, allocations: 11.95 kB / 337.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1018, allocations: 4 kB / 337.5 MB, free: 2.395 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.0002617/0.1021, allocations: 209.7 kB / 337.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.1022, allocations: 43.44 kB / 337.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.1026, allocations: 141.2 kB / 337.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1026, allocations: 8 kB / 337.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.631e-06/0.1026, allocations: 0 / 337.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1026, allocations: 0 / 337.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007694/0.1034, allocations: 466.4 kB / 338.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1034, allocations: 4 kB / 338.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.1035, allocations: 15.98 kB / 338.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.04e-06/0.1036, allocations: 0 / 338.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.013e-06/0.1036, allocations: 0 / 338.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.103e-06/0.1036, allocations: 4 kB / 338.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.402e-06/0.1036, allocations: 3.953 kB / 338.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.104, allocations: 219.2 kB / 338.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.1041, allocations: 116.6 kB / 338.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1041, allocations: 3.984 kB / 338.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1043, allocations: 4 kB / 338.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.1043, allocations: 7.984 kB / 338.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-06/0.1043, allocations: 3.953 kB / 338.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008603/0.1052, allocations: 0.6433 MB / 339.4 MB, free: 436 kB / 282.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.1052, allocations: 0 / 339.4 MB, free: 436 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.1056, allocations: 20 kB / 339.4 MB, free: 416 kB / 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.000766/0.1064, allocations: 254.3 kB / 339.7 MB, free: 204 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1067, allocations: 119.4 kB / 339.8 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.19e-06/0.1068, allocations: 0 / 339.8 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1069, allocations: 31.92 kB / 339.8 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.1072, allocations: 17.95 kB / 339.8 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.204/0.3113, allocations: 0.8376 MB / 340.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3117, allocations: 0.8224 MB / 341.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3117, allocations: 13.28 kB / 341.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.631e-06/0.3117, allocations: 5.375 kB / 341.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Templates: time 0.009361/0.3211, allocations: 3.334 MB / 344.8 MB, free: 14.62 MB / 282.7 MB