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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.341/2.341, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005935/0.0005936, allocations: 8 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3422, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.5108, allocations: 81.04 MB / 450.4 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5111, allocations: 71.97 kB / 450.5 MB, free: 9.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01951/0.5307, allocations: 5.439 MB / 455.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5307, allocations: 0 / 455.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.868e-05/0.5308, allocations: 4 kB / 455.9 MB, free: 3.938 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.0009154/0.5317, allocations: 0.6394 MB / 456.6 MB, free: 3.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5317, allocations: 12.03 kB / 456.6 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/0.5318, allocations: 34.56 kB / 456.6 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.5319, allocations: 43.44 kB / 456.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.5325, allocations: 319.3 kB / 457 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5325, allocations: 4 kB / 457 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.5326, allocations: 4 kB / 457 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.5328, allocations: 53.64 kB / 457 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.5328, allocations: 0 / 457 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5328, allocations: 3.938 kB / 457 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5329, allocations: 8 kB / 457 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.533, allocations: 23.98 kB / 457 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008357/0.5339, allocations: 436.6 kB / 457.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.5342, allocations: 50.56 kB / 457.5 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.5342, allocations: 0 / 457.5 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.5342, allocations: 36.38 kB / 457.6 MB, free: 2.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.176e-06/0.5343, allocations: 3.984 kB / 457.6 MB, free: 2.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00094/0.5352, allocations: 244.1 kB / 457.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.5353, allocations: 51.41 kB / 457.9 MB, free: 1.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.5372, allocations: 0.7667 MB / 458.6 MB, free: 1.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.5372, allocations: 29.64 kB / 458.6 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.5374, allocations: 242.5 kB / 458.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.5375, allocations: 19.73 kB / 458.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.5375, allocations: 0 / 458.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5377, allocations: 310.8 kB / 459.2 MB, free: 432 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.5378, allocations: 23.98 kB / 459.2 MB, free: 408 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.538, allocations: 27.92 kB / 459.3 MB, free: 380 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.5382, allocations: 61.69 kB / 459.3 MB, free: 312 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5382, allocations: 3.953 kB / 459.3 MB, free: 308 kB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000362/0.5385, allocations: 111.4 kB / 459.4 MB, free: 184 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.5386, allocations: 33.69 kB / 459.5 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5386, allocations: 4 kB / 459.5 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5387, allocations: 4 kB / 459.5 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.5388, allocations: 8 kB / 459.5 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.5388, allocations: 7.938 kB / 459.5 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.5389, allocations: 11.98 kB / 459.5 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.539, allocations: 0 / 459.5 MB, free: 108 kB / 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 (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.0003314/0.5393, allocations: 205.8 kB / 459.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5394, allocations: 51.39 kB / 459.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.5399, allocations: 140.9 kB / 459.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.5399, allocations: 0 / 459.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.54, allocations: 4 kB / 459.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.54, allocations: 0 / 459.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5411, allocations: 0.5842 MB / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.5411, allocations: 0 / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.5413, allocations: 15.98 kB / 460.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5413, allocations: 0 / 460.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.5413, allocations: 4.375 kB / 460.5 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5413, allocations: 4 kB / 460.5 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5413, allocations: 4 kB / 460.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.5418, allocations: 230.8 kB / 460.7 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.5421, allocations: 152.6 kB / 460.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.5421, allocations: 3.984 kB / 460.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.5423, allocations: 8 kB / 460.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.5423, allocations: 4 kB / 460.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.5424, allocations: 3.984 kB / 460.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001169/0.5435, allocations: 0.6237 MB / 461.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5436, allocations: 0 / 461.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004452/0.544, allocations: 56 kB / 461.6 MB, free: 13.92 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 (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.001581/0.5456, allocations: 0.9656 MB / 462.5 MB, free: 12.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.5461, allocations: 111.4 kB / 462.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5461, allocations: 0 / 462.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5463, allocations: 27.98 kB / 462.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.5467, allocations: 17.97 kB / 462.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.5495, allocations: 1.371 MB / 464.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.5501, allocations: 0.8184 MB / 464.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.5504, allocations: 107.6 kB / 465 MB, free: 10.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5504, allocations: 0 / 465 MB, free: 10.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.776/3.326, allocations: 6.839 MB / 471.8 MB, free: 3.574 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat