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.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.003/2.003, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004566, allocations: 8 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3428, allocations: 48.71 MB / 331.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.4797, allocations: 75.84 MB / 407.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.48, allocations: 71.95 kB / 407.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02617/0.5062, allocations: 6.269 MB / 413.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5063, allocations: 3.938 kB / 413.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.273e-05/0.5063, allocations: 4 kB / 413.5 MB, free: 12.13 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001041/0.5074, allocations: 0.7403 MB / 414.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5074, allocations: 8.031 kB / 414.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.5075, allocations: 38.56 kB / 414.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.5076, allocations: 43.48 kB / 414.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.5082, allocations: 287.1 kB / 414.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5082, allocations: 11.94 kB / 414.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.5083, allocations: 15.91 kB / 414.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.5086, allocations: 113.6 kB / 414.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5086, allocations: 0 / 414.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.5087, allocations: 8 kB / 414.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.5087, allocations: 0 / 414.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.509, allocations: 79.91 kB / 414.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.5099, allocations: 473 kB / 415.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.5102, allocations: 102.4 kB / 415.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.5102, allocations: 11.97 kB / 415.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5103, allocations: 30.56 kB / 415.5 MB, free: 9.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.5103, allocations: 0 / 415.5 MB, free: 9.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001467/0.5117, allocations: 385 kB / 415.9 MB, free: 9.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.5118, allocations: 55.41 kB / 415.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.5126, allocations: 432.6 kB / 416.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.5126, allocations: 29.7 kB / 416.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.5128, allocations: 218.9 kB / 416.6 MB, free: 8.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/0.5129, allocations: 55.25 kB / 416.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.5129, allocations: 4 kB / 416.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5131, allocations: 330.7 kB / 417 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.5133, allocations: 68.34 kB / 417 MB, free: 8.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.5135, allocations: 71.72 kB / 417.1 MB, free: 8.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.5139, allocations: 201.4 kB / 417.3 MB, free: 8.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5139, allocations: 0 / 417.3 MB, free: 8.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007353/0.5146, allocations: 347.9 kB / 417.6 MB, free: 7.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.5148, allocations: 132.5 kB / 417.8 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5148, allocations: 0 / 417.8 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5148, allocations: 4 kB / 417.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.5151, allocations: 43.89 kB / 417.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5151, allocations: 4 kB / 417.8 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.5153, allocations: 15.94 kB / 417.8 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.5153, allocations: 12 kB / 417.8 MB, free: 7.492 MB / 346.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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0002534/0.5156, allocations: 165.8 kB / 418 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.5157, allocations: 31.62 kB / 418 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/0.5165, allocations: 256.6 kB / 418.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5165, allocations: 4 kB / 418.3 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5165, allocations: 0 / 418.3 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5165, allocations: 3.984 kB / 418.3 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.5179, allocations: 0.6504 MB / 418.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5179, allocations: 0 / 418.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.5181, allocations: 39.97 kB / 419 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5181, allocations: 0 / 419 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.5182, allocations: 4 kB / 419 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.5182, allocations: 7.891 kB / 419 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5182, allocations: 0 / 419 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.5189, allocations: 303 kB / 419.3 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.5191, allocations: 120.7 kB / 419.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.5191, allocations: 8 kB / 419.4 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.5193, allocations: 7.984 kB / 419.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.5194, allocations: 23.94 kB / 419.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.5194, allocations: 7.938 kB / 419.5 MB, free: 5.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006003/0.52, allocations: 339.1 kB / 419.8 MB, free: 5.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.52, allocations: 0 / 419.8 MB, free: 5.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005292/0.5206, allocations: 95.8 kB / 419.9 MB, free: 5.348 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 (17): * Single equations (assignments): 17 * 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.002648/0.5232, allocations: 1.362 MB / 421.2 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.524, allocations: 428.8 kB / 421.7 MB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.524, allocations: 0 / 421.7 MB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.5243, allocations: 87.91 kB / 421.7 MB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.5247, allocations: 33.36 kB / 421.8 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.5272, allocations: 1.033 MB / 422.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.5279, allocations: 0.7868 MB / 423.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.5282, allocations: 99.39 kB / 423.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5282, allocations: 7.875 kB / 423.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.741/3.269, allocations: 5.411 MB / 429.1 MB, free: 12.05 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat