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.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.85/1.85, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004327, allocations: 11.98 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2823, allocations: 48.69 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.00207/0.2844, allocations: 1.396 MB / 332.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.286, allocations: 0.7172 MB / 333.3 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.2861, allocations: 0 / 333.3 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.2866, allocations: 221.6 kB / 333.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.2869, allocations: 145.5 kB / 333.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.2874, allocations: 128.6 kB / 333.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.2877, allocations: 149.8 kB / 333.9 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2878, allocations: 36.69 kB / 334 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.288, allocations: 93.08 kB / 334.1 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2882, allocations: 131.6 kB / 334.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.2882, allocations: 1.625 kB / 334.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2884, allocations: 33.88 kB / 334.2 MB, free: 5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.2885, allocations: 51.03 kB / 334.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.2885, allocations: 53.86 kB / 334.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.2888, allocations: 166.8 kB / 334.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2888, allocations: 0 / 334.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.912e-06/0.2888, allocations: 1.375 kB / 334.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.2889, allocations: 0 / 334.5 MB, free: 4.883 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005767/0.2894, allocations: 0.6373 MB / 335.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2895, allocations: 8.625 kB / 335.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.2896, allocations: 33.28 kB / 335.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.2898, allocations: 254.1 kB / 335.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2899, allocations: 12.27 kB / 335.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.2899, allocations: 9.656 kB / 335.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.2901, allocations: 77.67 kB / 335.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2902, allocations: 5.312 kB / 335.5 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2902, allocations: 0 / 335.5 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2902, allocations: 2.562 kB / 335.5 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.2904, allocations: 64.64 kB / 335.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.291, allocations: 408.9 kB / 336 MB, free: 3.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2912, allocations: 59.62 kB / 336 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.2913, allocations: 11.14 kB / 336.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.2913, allocations: 32.78 kB / 336.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.126e-06/0.2913, allocations: 0 / 336.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004024/0.2917, allocations: 128.7 kB / 336.2 MB, free: 3.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.2917, allocations: 56.45 kB / 336.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.2924, allocations: 492.9 kB / 336.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2924, allocations: 25.7 kB / 336.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.2925, allocations: 212.1 kB / 337 MB, free: 2.922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.2925, allocations: 24.5 kB / 337 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-06/0.2926, allocations: 1.219 kB / 337 MB, free: 2.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.2926, allocations: 317.6 kB / 337.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.2927, allocations: 29.58 kB / 337.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/0.2928, allocations: 32.25 kB / 337.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.293, allocations: 164.3 kB / 337.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-06/0.293, allocations: 0 / 337.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003184/0.2933, allocations: 247.7 kB / 337.8 MB, free: 2.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.2934, allocations: 137.8 kB / 337.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.97e-06/0.2934, allocations: 1.094 kB / 337.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2935, allocations: 0 / 337.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.2936, allocations: 17.73 kB / 337.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.017e-06/0.2936, allocations: 2.125 kB / 337.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.2937, allocations: 21.86 kB / 338 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2937, allocations: 4.156 kB / 338 MB, free: 2.004 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 (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 5 * 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.0001541/0.2939, allocations: 160.2 kB / 338.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.294, allocations: 27.97 kB / 338.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.2943, allocations: 133 kB / 338.3 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-06/0.2943, allocations: 1.312 kB / 338.3 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.104e-06/0.2944, allocations: 0 / 338.3 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.2944, allocations: 5.016 kB / 338.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.2947, allocations: 253.4 kB / 338.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-06/0.2947, allocations: 1.812 kB / 338.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.2948, allocations: 10.72 kB / 338.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.358e-06/0.2948, allocations: 3.938 kB / 338.5 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2948, allocations: 5.797 kB / 338.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2948, allocations: 4.312 kB / 338.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.406e-06/0.2948, allocations: 5.766 kB / 338.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2951, allocations: 212.4 kB / 338.8 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.2952, allocations: 104 kB / 338.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.2952, allocations: 1.344 kB / 338.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2954, allocations: 14.83 kB / 338.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.2954, allocations: 2.875 kB / 338.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/0.2954, allocations: 1.406 kB / 338.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004122/0.2959, allocations: 354.4 kB / 339.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.2959, allocations: 0 / 339.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003889/0.2963, allocations: 37.09 kB / 339.3 MB, free: 0.9922 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 (6): * Single equations (assignments): 6 * 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.001282/0.2976, allocations: 426.1 kB / 339.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.2979, allocations: 345.7 kB / 340 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.742e-06/0.298, allocations: 0 / 340 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.2981, allocations: 31.02 kB / 340 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.2985, allocations: 39.61 kB / 340.1 MB, free: 352 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009668/0.2995, allocations: 0.5528 MB / 340.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.3, allocations: 0.7704 MB / 341.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.3001, allocations: 20.86 kB / 341.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.68e-06/0.3001, allocations: 4 kB / 341.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of Templates: time 0.006485/0.3066, allocations: 2.866 MB / 344.3 MB, free: 13.73 MB / 282.7 MB