Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.tableR.1, 1..|.tableR.1, 2..|.tableR.1, 3..|.tableR.1, 4..|.tableR.2, 1..|.tableR.2, 2..|.tableR.2, 3..|.tableR.2, 4..|.tableR.3, 1..|.tableR.3, 2..|.tableR.3, 3..|.tableR.3, 4..|.tableR.4, 1..|.tableR.4, 2..|.tableR.4, 3..|.tableR.4, 4..|.tableL.1, 1..|.tableL.1, 2..|.tableL.1, 3..|.tableL.1, 4..|.tableL.2, 1..|.tableL.2, 2..|.tableL.2, 3..|.tableL.2, 4..|.tableL.3, 1..|.tableL.3, 2..|.tableL.3, 3..|.tableL.3, 4..|.tableL.4, 1..|.tableL.4, 2..|.tableL.4, 3..|.tableL.4, 4..|combiTable2D_1R.y|der_1R.y|combiTable2D_2R.y|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.076/2.076, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3657, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.506, allocations: 75.58 MB / 407.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5064, allocations: 79.89 kB / 407.5 MB, free: 2.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02793/0.5343, allocations: 6.186 MB / 413.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5344, allocations: 0 / 413.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.5344, allocations: 4 kB / 413.7 MB, free: 12.58 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001449/0.5359, allocations: 0.8275 MB / 414.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5359, allocations: 8.031 kB / 414.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.5361, allocations: 55.38 kB / 414.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009583/0.5371, allocations: 431.1 kB / 415 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.5371, allocations: 12 kB / 415 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.5372, allocations: 15.94 kB / 415 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.5376, allocations: 127.3 kB / 415.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5376, allocations: 0 / 415.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.5377, allocations: 12 kB / 415.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.5377, allocations: 0 / 415.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.5381, allocations: 99.77 kB / 415.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.5395, allocations: 0.6799 MB / 415.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.5399, allocations: 113.2 kB / 416 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.54, allocations: 7.984 kB / 416 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.54, allocations: 34.69 kB / 416.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.374e-06/0.54, allocations: 0 / 416.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.002276/0.5423, allocations: 0.5296 MB / 416.6 MB, free: 9.426 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.5424, allocations: 85.09 kB / 416.7 MB, free: 9.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.5439, allocations: 0.7956 MB / 417.5 MB, free: 8.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.544, allocations: 29.7 kB / 417.5 MB, free: 8.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.5442, allocations: 242.8 kB / 417.7 MB, free: 8.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.5443, allocations: 55.2 kB / 417.8 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.5443, allocations: 4.219 kB / 417.8 MB, free: 8.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5444, allocations: 318.8 kB / 418.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.5448, allocations: 75.89 kB / 418.2 MB, free: 7.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.5451, allocations: 93.61 kB / 418.3 MB, free: 7.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.5455, allocations: 187.1 kB / 418.4 MB, free: 7.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5456, allocations: 0 / 418.4 MB, free: 7.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008829/0.5465, allocations: 328.1 kB / 418.8 MB, free: 7.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/0.5466, allocations: 118.8 kB / 418.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5466, allocations: 0 / 418.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5466, allocations: 3.953 kB / 418.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.547, allocations: 39.97 kB / 418.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.547, allocations: 4 kB / 418.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.5473, allocations: 23.98 kB / 419 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.5473, allocations: 4 kB / 419 MB, free: 6.918 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0003297/0.5476, allocations: 201.7 kB / 419.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5478, allocations: 51.34 kB / 419.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.5489, allocations: 285.7 kB / 419.5 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.5489, allocations: 3.953 kB / 419.5 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.5489, allocations: 4 kB / 419.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5489, allocations: 0 / 419.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.5508, allocations: 0.8333 MB / 420.3 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.5508, allocations: 4.703 kB / 420.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.5512, allocations: 43.91 kB / 420.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.5512, allocations: 4 kB / 420.4 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.5512, allocations: 4 kB / 420.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.5512, allocations: 0 / 420.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5512, allocations: 8.469 kB / 420.4 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.5522, allocations: 422 kB / 420.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.5525, allocations: 180.4 kB / 421 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.5526, allocations: 4 kB / 421 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.5529, allocations: 15.98 kB / 421 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.553, allocations: 11.98 kB / 421 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.5531, allocations: 11.98 kB / 421 MB, free: 4.738 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.5542, allocations: 0.5769 MB / 421.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5542, allocations: 7.938 kB / 421.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005997/0.5548, allocations: 91.88 kB / 421.7 MB, free: 4.066 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001375/0.5562, allocations: 495.2 kB / 422.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.5571, allocations: 385.5 kB / 422.6 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5572, allocations: 0 / 422.6 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.5575, allocations: 95.89 kB / 422.6 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.5581, allocations: 50.22 kB / 422.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.5602, allocations: 0.9542 MB / 423.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.5608, allocations: 0.8418 MB / 424.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.5611, allocations: 43.36 kB / 424.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5611, allocations: 0 / 424.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of Templates: time 0.01327/0.5744, allocations: 5.411 MB / 429.9 MB, free: 11.79 MB / 362.7 MB