Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.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.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004453, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3938, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.795/2.189, allocations: 0.6067 GB / 0.9674 GB, free: 53.37 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/2.189, allocations: 78.31 kB / 0.9675 GB, free: 53.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1481/2.337, allocations: 45.47 MB / 1.012 GB, free: 13.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.234e-06/2.337, allocations: 0 / 1.012 GB, free: 13.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.555e-06/2.337, allocations: 0 / 1.012 GB, free: 13.73 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007253/2.338, allocations: 442.9 kB / 1.012 GB, free: 13.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/2.338, allocations: 8.031 kB / 1.012 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/2.338, allocations: 38.56 kB / 1.012 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/2.338, allocations: 3.984 kB / 1.012 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.114e-05/2.338, allocations: 167 kB / 1.012 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/2.338, allocations: 7.938 kB / 1.013 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/2.338, allocations: 8 kB / 1.013 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/2.339, allocations: 61.67 kB / 1.013 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/2.339, allocations: 11.86 kB / 1.013 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/2.339, allocations: 4 kB / 1.013 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/2.339, allocations: 0 / 1.013 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/2.339, allocations: 55.89 kB / 1.013 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/2.339, allocations: 389.8 kB / 1.013 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/2.339, allocations: 62.48 kB / 1.013 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/2.341, allocations: 1.001 MB / 1.014 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/2.341, allocations: 38.56 kB / 1.014 GB, free: 11.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 2.384e-06/2.341, allocations: 0 / 1.014 GB, free: 11.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.009515/2.35, allocations: 0.6456 MB / 1.015 GB, free: 10.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/2.351, allocations: 55.97 kB / 1.015 GB, free: 10.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/2.351, allocations: 100.9 kB / 1.015 GB, free: 10.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/2.351, allocations: 29.7 kB / 1.015 GB, free: 10.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/2.351, allocations: 162.7 kB / 1.015 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.954e-05/2.351, allocations: 47.34 kB / 1.015 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/2.351, allocations: 4 kB / 1.015 GB, free: 9.988 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/2.351, allocations: 326.8 kB / 1.015 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/2.352, allocations: 79.88 kB / 1.015 GB, free: 9.582 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/2.352, allocations: 99.08 kB / 1.016 GB, free: 9.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/2.352, allocations: 87.97 kB / 1.016 GB, free: 9.391 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.352, allocations: 0 / 1.016 GB, free: 9.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001231/2.354, allocations: 241.4 kB / 1.016 GB, free: 9.148 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/2.354, allocations: 4 kB / 1.016 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/2.354, allocations: 4 kB / 1.016 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/2.354, allocations: 0 / 1.016 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/2.355, allocations: 59.88 kB / 1.016 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/2.355, allocations: 4 kB / 1.016 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009795/2.356, allocations: 19.92 kB / 1.016 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/2.356, allocations: 15.94 kB / 1.016 GB, free: 9.043 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 prepare postOptimizeDAE: time 0.0001863/2.356, allocations: 121.9 kB / 1.016 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/2.357, allocations: 3.906 kB / 1.016 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/2.358, allocations: 345.3 kB / 1.016 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/2.358, allocations: 4 kB / 1.016 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.358, allocations: 0 / 1.016 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/2.358, allocations: 0 / 1.016 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/2.36, allocations: 0.7517 MB / 1.017 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/2.36, allocations: 0 / 1.017 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/2.361, allocations: 39.97 kB / 1.017 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.002e-05/2.362, allocations: 3.984 kB / 1.017 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/2.362, allocations: 7.984 kB / 1.017 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/2.362, allocations: 0 / 1.017 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.362, allocations: 0 / 1.017 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/2.363, allocations: 358 kB / 1.018 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/2.363, allocations: 105 kB / 1.018 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/2.363, allocations: 8 kB / 1.018 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000899/2.364, allocations: 7.984 kB / 1.018 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/2.364, allocations: 15.98 kB / 1.018 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/2.364, allocations: 8.234 kB / 1.018 GB, free: 7.145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.009e-05/2.364, allocations: 87.28 kB / 1.018 GB, free: 7.059 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.364, allocations: 0 / 1.018 GB, free: 7.059 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001159/2.365, allocations: 143.8 kB / 1.018 GB, free: 6.918 MB / 490.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 (19): * Single equations (assignments): 19 * 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.003109/2.369, allocations: 1.416 MB / 1.019 GB, free: 5.473 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/2.37, allocations: 203.8 kB / 1.02 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/2.37, allocations: 0 / 1.02 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005736/2.37, allocations: 122.4 kB / 1.02 GB, free: 5.156 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/2.371, allocations: 19.98 kB / 1.02 GB, free: 5.137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/2.373, allocations: 422.2 kB / 1.02 GB, free: 4.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/2.373, allocations: 0.6968 MB / 1.021 GB, free: 3.953 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/2.374, allocations: 43.41 kB / 1.021 GB, free: 3.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/2.374, allocations: 0 / 1.021 GB, free: 3.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.042/5.415, allocations: 7.231 MB / 1.028 GB, free: 157.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat