Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3383, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.71/2.048, allocations: 0.5929 GB / 0.9536 GB, free: 70.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/2.049, allocations: 74.09 kB / 0.9537 GB, free: 70.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2285/2.277, allocations: 61.13 MB / 1.013 GB, free: 16.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.375e-06/2.277, allocations: 4 kB / 1.013 GB, free: 16.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/2.277, allocations: 4 kB / 1.013 GB, free: 16 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002063/2.279, allocations: 0.7216 MB / 1.014 GB, free: 15.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/2.279, allocations: 8.031 kB / 1.014 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/2.279, allocations: 58.55 kB / 1.014 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/2.292, allocations: 0.5927 MB / 1.015 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/2.292, allocations: 250.7 kB / 1.015 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/2.293, allocations: 131.3 kB / 1.015 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/2.293, allocations: 28 kB / 1.015 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/2.295, allocations: 0.5594 MB / 1.016 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/2.295, allocations: 4 kB / 1.016 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/2.295, allocations: 11.98 kB / 1.016 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/2.295, allocations: 8 kB / 1.016 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/2.297, allocations: 0.6026 MB / 1.016 GB, free: 12.88 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/2.3, allocations: 1.642 MB / 1.018 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/2.3, allocations: 154.5 kB / 1.018 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009431/2.301, allocations: 0.666 MB / 1.019 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/2.301, allocations: 42.45 kB / 1.019 GB, free: 10.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.485e-06/2.301, allocations: 0 / 1.019 GB, free: 10.15 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001507/2.303, allocations: 329.1 kB / 1.019 GB, free: 9.828 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/2.303, allocations: 51.41 kB / 1.019 GB, free: 9.766 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/2.303, allocations: 174.5 kB / 1.019 GB, free: 9.582 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/2.303, allocations: 29.7 kB / 1.019 GB, free: 9.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/2.303, allocations: 257.6 kB / 1.02 GB, free: 9.293 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/2.303, allocations: 71.08 kB / 1.02 GB, free: 9.223 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/2.303, allocations: 8 kB / 1.02 GB, free: 9.215 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/2.303, allocations: 326.8 kB / 1.02 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/2.304, allocations: 64.7 kB / 1.02 GB, free: 8.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/2.304, allocations: 256 kB / 1.02 GB, free: 8.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/2.304, allocations: 104.8 kB / 1.02 GB, free: 8.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/2.304, allocations: 3.984 kB / 1.02 GB, free: 8.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008901/2.305, allocations: 363.9 kB / 1.021 GB, free: 8.012 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/2.305, allocations: 8.938 kB / 1.021 GB, free: 8.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/2.305, allocations: 12 kB / 1.021 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/2.305, allocations: 11.95 kB / 1.021 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/2.306, allocations: 127.8 kB / 1.021 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003341/2.306, allocations: 0.6054 MB / 1.021 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/2.307, allocations: 43.59 kB / 1.021 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/2.307, allocations: 39.98 kB / 1.021 GB, free: 7.145 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001885/2.307, allocations: 153.7 kB / 1.022 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/2.307, allocations: 23.77 kB / 1.022 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/2.308, allocations: 296.8 kB / 1.022 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/2.308, allocations: 0 / 1.022 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/2.308, allocations: 0 / 1.022 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/2.308, allocations: 4 kB / 1.022 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/2.309, allocations: 0.5249 MB / 1.022 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/2.31, allocations: 8.125 kB / 1.022 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/2.31, allocations: 55.97 kB / 1.023 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/2.31, allocations: 4 kB / 1.023 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/2.31, allocations: 11.98 kB / 1.023 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002987/2.31, allocations: 0.5937 MB / 1.023 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.31, allocations: 4.031 kB / 1.023 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/2.311, allocations: 329.5 kB / 1.023 GB, free: 4.984 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/2.311, allocations: 120.8 kB / 1.024 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/2.311, allocations: 0 / 1.024 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/2.312, allocations: 19.98 kB / 1.024 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/2.312, allocations: 11.98 kB / 1.024 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/2.312, allocations: 35.81 kB / 1.024 GB, free: 4.781 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001558/2.312, allocations: 135 kB / 1.024 GB, free: 4.648 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.312, allocations: 0 / 1.024 GB, free: 4.648 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001364/2.313, allocations: 243.8 kB / 1.024 GB, free: 4.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002656/2.316, allocations: 1.767 MB / 1.026 GB, free: 2.594 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008448/2.317, allocations: 215.1 kB / 1.026 GB, free: 2.387 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/2.317, allocations: 8.438 kB / 1.026 GB, free: 2.379 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/2.317, allocations: 79.84 kB / 1.026 GB, free: 2.301 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/2.318, allocations: 52.12 kB / 1.026 GB, free: 2.246 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4255/2.743, allocations: 38.04 MB / 1.063 GB, free: 145 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/2.744, allocations: 0.7266 MB / 1.064 GB, free: 144.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/2.744, allocations: 100 kB / 1.064 GB, free: 144.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.124e-06/2.744, allocations: 3.219 kB / 1.064 GB, free: 144.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.744/5.488, allocations: 9.185 MB / 1.073 GB, free: 143.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat