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.Test22.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.892e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3528, allocations: 54.86 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5073, allocations: 81.27 MB / 439.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5077, allocations: 71.95 kB / 439.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02849/0.5362, allocations: 6.372 MB / 445.8 MB, free: 7.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5362, allocations: 4 kB / 445.8 MB, free: 7.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.185e-05/0.5363, allocations: 8 kB / 445.9 MB, free: 7.004 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001091/0.5374, allocations: 0.7263 MB / 446.6 MB, free: 6.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.5375, allocations: 15.97 kB / 446.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5376, allocations: 47.44 kB / 446.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009487/0.5386, allocations: 431.2 kB / 447.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5386, allocations: 4 kB / 447.1 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.5387, allocations: 11.89 kB / 447.1 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002262/0.5389, allocations: 59.98 kB / 447.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.5392, allocations: 100.2 kB / 447.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.5392, allocations: 0 / 447.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.5392, allocations: 0 / 447.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.5392, allocations: 4 kB / 447.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.5406, allocations: 0.6415 MB / 447.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.5409, allocations: 93.27 kB / 448 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.799e-05/0.541, allocations: 33.97 kB / 448 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.541, allocations: 11.92 kB / 448 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5411, allocations: 34.56 kB / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.016e-06/0.5411, allocations: 0 / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00162/0.5427, allocations: 422.7 kB / 448.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.5428, allocations: 77.11 kB / 448.5 MB, free: 4.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.5443, allocations: 0.677 MB / 449.2 MB, free: 3.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.5443, allocations: 25.7 kB / 449.2 MB, free: 3.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.5445, allocations: 250.7 kB / 449.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.5446, allocations: 55.2 kB / 449.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.5447, allocations: 224 / 449.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5448, allocations: 322.8 kB / 449.9 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.545, allocations: 51.92 kB / 449.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.5451, allocations: 55.78 kB / 450 MB, free: 2.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.5453, allocations: 51.97 kB / 450 MB, free: 2.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5453, allocations: 0 / 450 MB, free: 2.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004705/0.5458, allocations: 165.3 kB / 450.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-05/0.5459, allocations: 110.8 kB / 450.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5459, allocations: 0 / 450.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.546, allocations: 0 / 450.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.5464, allocations: 47.97 kB / 450.3 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.5464, allocations: 4 kB / 450.3 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.5467, allocations: 11.98 kB / 450.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.5467, allocations: 11.98 kB / 450.4 MB, free: 2.215 MB / 378.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 () * 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.0001294/0.5469, allocations: 104.9 kB / 450.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004992/0.5474, allocations: 173.1 kB / 450.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.5475, allocations: 47.44 kB / 450.7 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.5482, allocations: 233.7 kB / 450.9 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.5483, allocations: 0 / 450.9 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5483, allocations: 4 kB / 450.9 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5483, allocations: 3.984 kB / 450.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.5498, allocations: 0.7439 MB / 451.6 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5498, allocations: 0 / 451.6 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.5502, allocations: 39.97 kB / 451.7 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.5502, allocations: 4 kB / 451.7 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.5503, allocations: 3.984 kB / 451.7 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5503, allocations: 0 / 451.7 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5503, allocations: 4 kB / 451.7 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.5509, allocations: 367.8 kB / 452.1 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.5512, allocations: 156.5 kB / 452.2 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.5513, allocations: 4 kB / 452.2 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.5516, allocations: 11.98 kB / 452.2 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.5517, allocations: 19.98 kB / 452.2 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.5517, allocations: 7.953 kB / 452.3 MB, free: 208 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001043/0.5528, allocations: 0.534 MB / 452.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.276e-06/0.5528, allocations: 0 / 452.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000625/0.5534, allocations: 95.8 kB / 452.9 MB, free: 15.58 MB / 394.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 () * 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.002343/0.5558, allocations: 1.353 MB / 454.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005931/0.5564, allocations: 329.5 kB / 454.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5565, allocations: 0 / 454.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.5566, allocations: 59.92 kB / 454.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.5573, allocations: 42.03 kB / 454.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.5596, allocations: 0.7963 MB / 455.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.5603, allocations: 0.8379 MB / 456.3 MB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/0.5607, allocations: 143.4 kB / 456.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5608, allocations: 384 / 456.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.689/3.25, allocations: 7.425 MB / 463.9 MB, free: 4.52 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat does not exist to compare? outputFormat=mat