Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004393, allocations: 12 kB / 314.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 54.86 MB / 369.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5172, allocations: 80.93 MB / 450.3 MB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5176, allocations: 71.91 kB / 450.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01983/0.5374, allocations: 5.4 MB / 455.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5375, allocations: 0 / 455.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.813e-05/0.5375, allocations: 4 kB / 455.8 MB, free: 6.105 MB / 378.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.000985/0.5385, allocations: 0.6393 MB / 456.4 MB, free: 5.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.5386, allocations: 12.03 kB / 456.4 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.5386, allocations: 38.55 kB / 456.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.5388, allocations: 47.44 kB / 456.5 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.5394, allocations: 311.4 kB / 456.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.5394, allocations: 8 kB / 456.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.5394, allocations: 8 kB / 456.8 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.5397, allocations: 65.61 kB / 456.9 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5397, allocations: 0 / 456.9 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5398, allocations: 0 / 456.9 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.5398, allocations: 7.938 kB / 456.9 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.54, allocations: 43.97 kB / 456.9 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007918/0.5408, allocations: 436.5 kB / 457.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.541, allocations: 46.56 kB / 457.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.5411, allocations: 12.08 kB / 457.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5411, allocations: 30.56 kB / 457.5 MB, free: 4.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.767e-06/0.5411, allocations: 3.984 kB / 457.5 MB, free: 4.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001381/0.5425, allocations: 317.7 kB / 457.8 MB, free: 3.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.5426, allocations: 51.41 kB / 457.8 MB, free: 3.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.5446, allocations: 0.7706 MB / 458.6 MB, free: 3.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.5446, allocations: 25.7 kB / 458.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5448, allocations: 230.6 kB / 458.8 MB, free: 2.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.5449, allocations: 23.66 kB / 458.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.5449, allocations: 3.938 kB / 458.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5451, allocations: 322.8 kB / 459.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.5453, allocations: 31.98 kB / 459.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.5455, allocations: 47.97 kB / 459.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.5458, allocations: 73.62 kB / 459.3 MB, free: 2.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5458, allocations: 0 / 459.3 MB, free: 2.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005833/0.5464, allocations: 159.4 kB / 459.5 MB, free: 2.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.5465, allocations: 29.7 kB / 459.5 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5465, allocations: 3.938 kB / 459.5 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5465, allocations: 4 kB / 459.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.5467, allocations: 27.97 kB / 459.5 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5468, allocations: 0 / 459.5 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.5469, allocations: 15.94 kB / 459.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.547, allocations: 4 kB / 459.6 MB, free: 2.059 MB / 378.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 (8): * Single equations (assignments): 7 * 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.0003366/0.5473, allocations: 219.4 kB / 459.8 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5474, allocations: 43.44 kB / 459.8 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006492/0.5481, allocations: 177.3 kB / 460 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5481, allocations: 4 kB / 460 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5481, allocations: 0 / 460 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5481, allocations: 3.984 kB / 460 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.5496, allocations: 0.631 MB / 460.6 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.5496, allocations: 0 / 460.6 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.5498, allocations: 23.98 kB / 460.7 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.5498, allocations: 0 / 460.7 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5499, allocations: 4 kB / 460.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.5499, allocations: 4.453 kB / 460.7 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5499, allocations: 4 kB / 460.7 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.5506, allocations: 266.8 kB / 460.9 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.5509, allocations: 152.6 kB / 461.1 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/0.551, allocations: 4 kB / 461.1 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.5512, allocations: 11.98 kB / 461.1 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.5513, allocations: 11.98 kB / 461.1 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.5513, allocations: 0 / 461.1 MB, free: 416 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.5525, allocations: 0.6276 MB / 461.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5526, allocations: 4 kB / 461.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004743/0.553, allocations: 59.94 kB / 461.8 MB, free: 15.72 MB / 394.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 (7): * Single equations (assignments): 7 * 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.001867/0.5549, allocations: 0.9992 MB / 462.8 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005738/0.5555, allocations: 151.3 kB / 462.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5555, allocations: 0 / 462.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.5558, allocations: 47.91 kB / 463 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.5561, allocations: 17.97 kB / 463 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.5588, allocations: 1.388 MB / 464.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.5595, allocations: 0.8301 MB / 465.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.5598, allocations: 103.6 kB / 465.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5598, allocations: 0 / 465.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.92/3.48, allocations: 6.946 MB / 472.3 MB, free: 5.156 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat