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.Test16.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004266, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 48.71 MB / 331.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.531, allocations: 74.81 MB / 406.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5314, allocations: 71.95 kB / 406.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.5416, allocations: 2.885 MB / 409.1 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5417, allocations: 0 / 409.1 MB, free: 7.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.5417, allocations: 0 / 409.1 MB, free: 7.184 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004404/0.5422, allocations: 361.6 kB / 409.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5422, allocations: 12.03 kB / 409.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.5423, allocations: 38.56 kB / 409.5 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.5423, allocations: 7.906 kB / 409.5 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.5425, allocations: 179.3 kB / 409.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5425, allocations: 0 / 409.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.5426, allocations: 11.94 kB / 409.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.5429, allocations: 183.3 kB / 409.9 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5429, allocations: 7.938 kB / 409.9 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.5429, allocations: 3.984 kB / 409.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.543, allocations: 12 kB / 409.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.5431, allocations: 59.78 kB / 410 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.5443, allocations: 1.701 MB / 411.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.578e-05/0.5445, allocations: 165.1 kB / 411.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.5445, allocations: 83.28 kB / 411.9 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/0.5446, allocations: 117.8 kB / 412.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 4.539e-06/0.5446, allocations: 3.938 kB / 412.1 MB, free: 3.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.368e-05/0.5447, allocations: 37.55 kB / 412.1 MB, free: 3.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.5448, allocations: 126.7 kB / 412.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.545, allocations: 173.2 kB / 412.4 MB, free: 3.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.545, allocations: 25.7 kB / 412.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.5452, allocations: 217.6 kB / 412.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.5452, allocations: 0 / 412.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.5452, allocations: 8 kB / 412.6 MB, free: 3.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5453, allocations: 322.8 kB / 412.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.5454, allocations: 27.98 kB / 413 MB, free: 3.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.5456, allocations: 161.5 kB / 413.1 MB, free: 2.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.5458, allocations: 67.91 kB / 413.2 MB, free: 2.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5458, allocations: 0 / 413.2 MB, free: 2.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004558/0.5463, allocations: 189.8 kB / 413.4 MB, free: 2.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5463, allocations: 7.125 kB / 413.4 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5463, allocations: 11.97 kB / 413.4 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.5464, allocations: 8 kB / 413.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.5466, allocations: 39.92 kB / 413.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.5466, allocations: 15.94 kB / 413.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.5467, allocations: 20.62 kB / 413.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.5468, allocations: 12 kB / 413.5 MB, free: 2.441 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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): 20 * 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 prepare postOptimizeDAE: time 0.0001621/0.5469, allocations: 217 kB / 413.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.547, allocations: 108.9 kB / 413.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.5471, allocations: 120.8 kB / 413.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.651e-05/0.5472, allocations: 184.2 kB / 414.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-05/0.5473, allocations: 180.2 kB / 414.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-05/0.5474, allocations: 184.2 kB / 414.5 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.5477, allocations: 421.2 kB / 414.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.756e-05/0.5477, allocations: 112.9 kB / 415 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.5478, allocations: 101 kB / 415.1 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.049e-05/0.5479, allocations: 180.2 kB / 415.3 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.378e-05/0.548, allocations: 186.1 kB / 415.4 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-05/0.5481, allocations: 180.2 kB / 415.6 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-05/0.5482, allocations: 180.2 kB / 415.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.5483, allocations: 319.6 kB / 416.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5485, allocations: 189.9 kB / 416.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.5486, allocations: 184.2 kB / 416.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.5487, allocations: 101 kB / 416.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.5488, allocations: 180.3 kB / 416.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.5488, allocations: 112.9 kB / 416.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.549, allocations: 140 kB / 417 MB, free: 14.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.549, allocations: 0 / 417 MB, free: 14.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000404/0.5494, allocations: 19.94 kB / 417 MB, free: 14.7 MB / 346.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 (0): * Single equations (assignments): 0 * 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.001094/0.5505, allocations: 0.8923 MB / 417.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.5508, allocations: 68.14 kB / 418 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5508, allocations: 0 / 418 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-06/0.5508, allocations: 5.188 kB / 418 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.5512, allocations: 0.5302 MB / 418.5 MB, free: 13.2 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.5563, allocations: 4.388 MB / 422.9 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.5567, allocations: 0.7009 MB / 423.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.5568, allocations: 31.36 kB / 423.6 MB, free: 7.895 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5568, allocations: 0 / 423.6 MB, free: 7.895 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.699/3.255, allocations: 1.78 MB / 425.4 MB, free: 6.117 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test16_res.mat does not exist to compare? outputFormat=mat