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/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.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.526/2.526, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000705/0.000705, allocations: 12 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3987, allocations: 54.85 MB / 369.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.5728, allocations: 82.02 MB / 451.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.5732, allocations: 79.88 kB / 451.5 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02873/0.6019, allocations: 6.442 MB / 457.9 MB, free: 3.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.602, allocations: 0 / 457.9 MB, free: 3.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.053e-05/0.602, allocations: 16 kB / 457.9 MB, free: 3.98 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.001495/0.6035, allocations: 0.8197 MB / 458.7 MB, free: 3.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6036, allocations: 8.031 kB / 458.7 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.786e-05/0.6037, allocations: 46.55 kB / 458.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.6039, allocations: 51.34 kB / 458.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.6049, allocations: 427.2 kB / 459.3 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.6049, allocations: 15.95 kB / 459.3 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.605, allocations: 16 kB / 459.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.6054, allocations: 135.3 kB / 459.4 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6054, allocations: 7.906 kB / 459.4 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.6055, allocations: 0 / 459.4 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6055, allocations: 4 kB / 459.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.6059, allocations: 91.89 kB / 459.5 MB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.6075, allocations: 0.6761 MB / 460.2 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.6079, allocations: 113.4 kB / 460.3 MB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.608, allocations: 7.984 kB / 460.3 MB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.608, allocations: 42.69 kB / 460.4 MB, free: 1.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.835e-06/0.608, allocations: 3.938 kB / 460.4 MB, free: 1.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002443/0.6105, allocations: 0.5219 MB / 460.9 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.6106, allocations: 85.05 kB / 461 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.6122, allocations: 0.7284 MB / 461.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.6123, allocations: 29.7 kB / 461.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.6126, allocations: 242.9 kB / 462 MB, free: 15.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.6127, allocations: 55.19 kB / 462 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.872e-05/0.6127, allocations: 4 kB / 462 MB, free: 15.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6129, allocations: 322.8 kB / 462.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.6132, allocations: 71.95 kB / 462.4 MB, free: 15.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.6136, allocations: 89.84 kB / 462.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.614, allocations: 182.8 kB / 462.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.614, allocations: 7.938 kB / 462.7 MB, free: 14.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009923/0.6151, allocations: 328.2 kB / 463 MB, free: 14.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6152, allocations: 115 kB / 463.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6152, allocations: 0 / 463.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6152, allocations: 3.938 kB / 463.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.6156, allocations: 39.97 kB / 463.1 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.6156, allocations: 11.94 kB / 463.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.616, allocations: 19.98 kB / 463.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.616, allocations: 4 kB / 463.2 MB, free: 14.35 MB / 394.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 () * Number of clocked 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.000384/0.6164, allocations: 202.4 kB / 463.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.6166, allocations: 52.08 kB / 463.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.6177, allocations: 293.3 kB / 463.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6178, allocations: 0 / 463.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6178, allocations: 0 / 463.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.6178, allocations: 4 kB / 463.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.6199, allocations: 0.8335 MB / 464.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.62, allocations: 7.938 kB / 464.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.6203, allocations: 39.97 kB / 464.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.6203, allocations: 0 / 464.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.6204, allocations: 12 kB / 464.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.6204, allocations: 0 / 464.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6204, allocations: 0 / 464.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.6214, allocations: 430.4 kB / 465 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.6217, allocations: 160.5 kB / 465.2 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.6218, allocations: 4 kB / 465.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.6222, allocations: 19.98 kB / 465.2 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.6223, allocations: 19.94 kB / 465.2 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.6223, allocations: 7.984 kB / 465.2 MB, free: 12.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001192/0.6235, allocations: 0.573 MB / 465.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6235, allocations: 0 / 465.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.6242, allocations: 99.88 kB / 465.9 MB, free: 11.51 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 () * Number of clocked 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.003085/0.6273, allocations: 1.536 MB / 467.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.6284, allocations: 389.4 kB / 467.8 MB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6284, allocations: 0 / 467.8 MB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.6288, allocations: 95.89 kB / 467.9 MB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.6294, allocations: 42.25 kB / 468 MB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.6326, allocations: 1.553 MB / 469.5 MB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.6332, allocations: 0.834 MB / 470.4 MB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.6337, allocations: 151.3 kB / 470.5 MB, free: 6.816 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6337, allocations: 0 / 470.5 MB, free: 6.816 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.618/3.252, allocations: 7.437 MB / 477.9 MB, free: 15.37 MB / 410.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