Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 103.8 kB / 17.58 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 192.2 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.582/2.582, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003279/0.003279, allocations: 60.52 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.248, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 1.012/1.26, allocations: 172.7 MB / 0.4884 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/1.272, allocations: 3.209 MB / 0.4915 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/1.273, allocations: 4 kB / 0.4916 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/1.275, allocations: 170.9 kB / 0.4917 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/1.278, allocations: 411.6 kB / 0.4921 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002817/1.281, allocations: 341 kB / 0.4924 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/1.283, allocations: 0.903 MB / 0.4933 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/1.284, allocations: 109.1 kB / 0.4934 GB, free: 5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006104/1.29, allocations: 0.7939 MB / 0.4942 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/1.292, allocations: 270.9 kB / 0.4945 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/1.292, allocations: 32 kB / 0.4945 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/1.293, allocations: 123.9 kB / 0.4946 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005574/1.294, allocations: 95.77 kB / 0.4947 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009156/1.295, allocations: 191.2 kB / 0.4949 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/1.296, allocations: 0.5025 MB / 0.4954 GB, free: 3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.296, allocations: 0 / 0.4954 GB, free: 3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.614e-06/1.296, allocations: 0 / 0.4954 GB, free: 3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.356e-05/1.296, allocations: 4 kB / 0.4954 GB, free: 2.996 MB / 398.1 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.002699/1.299, allocations: 0.5932 MB / 0.4959 GB, free: 2.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.414e-05/1.299, allocations: 12.02 kB / 0.496 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/1.299, allocations: 58.55 kB / 0.496 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.301, allocations: 43.61 kB / 0.4961 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/1.301, allocations: 290.4 kB / 0.4963 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.302, allocations: 20.56 kB / 0.4964 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/1.302, allocations: 31.94 kB / 0.4964 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/1.303, allocations: 311.7 kB / 0.4967 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.267e-05/1.303, allocations: 11.92 kB / 0.4967 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/1.303, allocations: 12 kB / 0.4967 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/1.304, allocations: 4 kB / 0.4967 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/1.305, allocations: 209.6 kB / 0.4969 GB, free: 1.297 MB / 398.1 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.005141/1.31, allocations: 1.592 MB / 0.4985 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/1.311, allocations: 171.1 kB / 0.4986 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/1.311, allocations: 96.77 kB / 0.4987 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/1.311, allocations: 7.984 kB / 0.4987 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.068e-05/1.311, allocations: 38.5 kB / 0.4988 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 3.987e-06/1.311, allocations: 4 kB / 0.4988 GB, free: 15.22 MB / 414.1 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.01333/1.325, allocations: 1.616 MB / 0.5003 GB, free: 13.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.325, allocations: 59.41 kB / 0.5004 GB, free: 13.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/1.326, allocations: 256.9 kB / 0.5006 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/1.326, allocations: 29.7 kB / 0.5007 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/1.326, allocations: 180.2 kB / 0.5008 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/1.326, allocations: 90.64 kB / 0.5009 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000549/1.327, allocations: 89.38 kB / 0.501 GB, free: 12.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/1.327, allocations: 338.8 kB / 0.5013 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/1.328, allocations: 87.97 kB / 0.5014 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/1.328, allocations: 195.7 kB / 0.5016 GB, free: 12.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.329, allocations: 303.7 kB / 0.5019 GB, free: 11.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/1.329, allocations: 0 / 0.5019 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001614/1.331, allocations: 398.8 kB / 0.5023 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/1.331, allocations: 4 kB / 0.5023 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.331, allocations: 4 kB / 0.5023 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/1.332, allocations: 77.62 kB / 0.5024 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/1.332, allocations: 84.23 kB / 0.5024 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/1.336, allocations: 1.958 MB / 0.5044 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/1.336, allocations: 12 kB / 0.5044 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/1.337, allocations: 36 kB / 0.5044 GB, free: 8.996 MB / 414.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005951/1.337, allocations: 162.8 kB / 0.5046 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.337, allocations: 27.62 kB / 0.5046 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/1.34, allocations: 433.8 kB / 0.505 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/1.34, allocations: 4 kB / 0.505 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.34, allocations: 0 / 0.505 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/1.341, allocations: 0.5669 MB / 0.5056 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/1.343, allocations: 0.727 MB / 0.5063 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.343, allocations: 0 / 0.5063 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/1.344, allocations: 71.89 kB / 0.5063 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/1.344, allocations: 24.91 kB / 0.5064 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/1.344, allocations: 15.98 kB / 0.5064 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/1.346, allocations: 1.382 MB / 0.5077 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.346, allocations: 0 / 0.5077 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/1.348, allocations: 494.5 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/1.348, allocations: 92.83 kB / 0.5083 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.348, allocations: 8 kB / 0.5083 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/1.349, allocations: 11.98 kB / 0.5083 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.349, allocations: 15.98 kB / 0.5083 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/1.349, allocations: 31.98 kB / 0.5083 GB, free: 4.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000359/1.35, allocations: 194 kB / 0.5085 GB, free: 4.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.35, allocations: 4.062 kB / 0.5085 GB, free: 4.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001348/1.351, allocations: 120 kB / 0.5087 GB, free: 4.281 MB / 414.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002542/1.354, allocations: 1.07 MB / 0.5097 GB, free: 3.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/1.355, allocations: 391.2 kB / 0.5101 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.355, allocations: 4 kB / 0.5101 GB, free: 2.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006786/1.356, allocations: 230.5 kB / 0.5103 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.358, allocations: 161.3 kB / 0.5104 GB, free: 2.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/1.368, allocations: 3.187 MB / 0.5136 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/1.369, allocations: 0.7684 MB / 0.5143 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001391/1.37, allocations: 114.9 kB / 0.5144 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000648/1.371, allocations: 135.3 kB / 0.5145 GB, free: 13.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.223e-06/1.371, allocations: 0 / 0.5145 GB, free: 13.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09255/1.464, allocations: 11.75 MB / 0.526 GB, free: 2.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/20.81, allocations: 8.562 kB / 0.526 GB, free: 2.141 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches