Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.66/1.66, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09883, allocations: 38.77 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.747/1.846, allocations: 0.5804 GB / 0.8462 GB, free: 6.207 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/1.847, allocations: 94.38 kB / 0.8463 GB, free: 6.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7239/2.571, allocations: 153.7 MB / 0.9964 GB, free: 6.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/2.571, allocations: 0 / 0.9964 GB, free: 6.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.893e-05/2.571, allocations: 4 kB / 0.9964 GB, free: 6.137 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001249/2.572, allocations: 0.6284 MB / 0.997 GB, free: 5.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/2.572, allocations: 8.031 kB / 0.997 GB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.965e-05/2.572, allocations: 70.48 kB / 0.9971 GB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/2.573, allocations: 39.62 kB / 0.9971 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/2.573, allocations: 279 kB / 0.9974 GB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/2.573, allocations: 20.56 kB / 0.9974 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/2.573, allocations: 24 kB / 0.9974 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/2.574, allocations: 319.7 kB / 0.9977 GB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/2.574, allocations: 11.83 kB / 0.9977 GB, free: 4.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/2.574, allocations: 12 kB / 0.9978 GB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/2.574, allocations: 7.953 kB / 0.9978 GB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/2.574, allocations: 197.6 kB / 0.9979 GB, free: 4.414 MB / 362.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.002195/2.577, allocations: 1.578 MB / 0.9995 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/2.577, allocations: 163 kB / 0.9996 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/2.577, allocations: 12.16 kB / 0.9997 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/2.577, allocations: 38.75 kB / 0.9997 GB, free: 2.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.426e-06/2.577, allocations: 4 kB / 0.9997 GB, free: 2.449 MB / 362.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008948/2.586, allocations: 1.61 MB / 1.001 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/2.586, allocations: 63.33 kB / 1.001 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/2.587, allocations: 228 kB / 1.002 GB, free: 416 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/2.587, allocations: 33.7 kB / 1.002 GB, free: 376 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/2.587, allocations: 176.3 kB / 1.002 GB, free: 196 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/2.587, allocations: 94.59 kB / 1.002 GB, free: 100 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/2.587, allocations: 8 kB / 1.002 GB, free: 92 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.2548/2.842, allocations: 335.4 kB / 1.002 GB, free: 73.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/2.842, allocations: 89.45 kB / 1.002 GB, free: 73.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/2.843, allocations: 190.4 kB / 1.002 GB, free: 73.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/2.843, allocations: 121.3 kB / 1.003 GB, free: 73.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/2.843, allocations: 0.875 kB / 1.003 GB, free: 73.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001082/2.844, allocations: 388.7 kB / 1.003 GB, free: 73.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/2.844, allocations: 9.375 kB / 1.003 GB, free: 73.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/2.844, allocations: 3.125 kB / 1.003 GB, free: 73.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/2.844, allocations: 74.83 kB / 1.003 GB, free: 73.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/2.845, allocations: 86.39 kB / 1.003 GB, free: 73.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/2.847, allocations: 1.855 MB / 1.005 GB, free: 71.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/2.847, allocations: 23.72 kB / 1.005 GB, free: 71.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/2.847, allocations: 39.45 kB / 1.005 GB, free: 71.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002717/2.848, allocations: 157 kB / 1.005 GB, free: 71.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/2.848, allocations: 26.16 kB / 1.005 GB, free: 71.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/2.849, allocations: 439.5 kB / 1.006 GB, free: 71.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/2.849, allocations: 3.438 kB / 1.006 GB, free: 71.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/2.849, allocations: 1.562 kB / 1.006 GB, free: 71.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007611/2.85, allocations: 0.5665 MB / 1.006 GB, free: 71.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/2.852, allocations: 0.7249 MB / 1.007 GB, free: 70.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/2.852, allocations: 0 / 1.007 GB, free: 70.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/2.852, allocations: 75.97 kB / 1.007 GB, free: 70.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/2.852, allocations: 19.27 kB / 1.007 GB, free: 70.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/2.853, allocations: 13.33 kB / 1.007 GB, free: 70.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008977/2.853, allocations: 1.285 MB / 1.008 GB, free: 69.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.853, allocations: 4.031 kB / 1.008 GB, free: 69.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/2.854, allocations: 492.8 kB / 1.009 GB, free: 69.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/2.855, allocations: 106.1 kB / 1.009 GB, free: 69.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/2.855, allocations: 12.41 kB / 1.009 GB, free: 69.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/2.855, allocations: 16.33 kB / 1.009 GB, free: 69.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/2.855, allocations: 28.8 kB / 1.009 GB, free: 69.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/2.855, allocations: 32.36 kB / 1.009 GB, free: 69.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000276/2.856, allocations: 190 kB / 1.009 GB, free: 69.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.856, allocations: 3.219 kB / 1.009 GB, free: 69.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001129/2.857, allocations: 182.7 kB / 1.009 GB, free: 69.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002874/2.86, allocations: 1.857 MB / 1.011 GB, free: 68.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/2.861, allocations: 377.6 kB / 1.011 GB, free: 68.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.861, allocations: 1 kB / 1.011 GB, free: 68.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/2.861, allocations: 228.7 kB / 1.012 GB, free: 68.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/2.863, allocations: 157.8 kB / 1.012 GB, free: 68.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/2.868, allocations: 3.839 MB / 1.015 GB, free: 65.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/2.868, allocations: 0.7719 MB / 1.016 GB, free: 64.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001065/2.869, allocations: 116.3 kB / 1.016 GB, free: 64.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/2.87, allocations: 122.1 kB / 1.016 GB, free: 64.62 MB / 362.7 MB Notification: Performance of SimCode: time 2.205e-06/2.87, allocations: 4.219 kB / 1.016 GB, free: 64.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06614/2.936, allocations: 23.09 MB / 1.039 GB, free: 64.03 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/2.936, allocations: 234.7 kB / 1.039 GB, free: 63.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/6.458, allocations: 0 / 1.039 GB, free: 63.79 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat