Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.001101/0.001101, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001147/0.001147, allocations: 191.9 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 1.367/1.367, 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.001192/0.001192, allocations: 52.52 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09968, allocations: 46.64 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3779/0.4776, allocations: 172.7 MB / 0.4884 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.4814, allocations: 3.217 MB / 0.4916 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.4816, allocations: 7.938 kB / 0.4916 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.4821, allocations: 159 kB / 0.4917 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007744/0.4829, allocations: 419.5 kB / 0.4921 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.4837, allocations: 345.4 kB / 0.4924 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007561/0.4845, allocations: 0.8953 MB / 0.4933 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.4847, allocations: 97.17 kB / 0.4934 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.4864, allocations: 0.8017 MB / 0.4942 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.4868, allocations: 266.9 kB / 0.4945 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.4868, allocations: 35.98 kB / 0.4945 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.4872, allocations: 127.9 kB / 0.4946 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.4873, allocations: 91.72 kB / 0.4947 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.4875, allocations: 187.2 kB / 0.4949 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.4881, allocations: 0.5064 MB / 0.4954 GB, free: 3.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4881, allocations: 0 / 0.4954 GB, free: 3.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4881, allocations: 0 / 0.4954 GB, free: 3.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4882, allocations: 4 kB / 0.4954 GB, free: 3.008 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.0008402/0.489, allocations: 0.5932 MB / 0.496 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4891, allocations: 8.031 kB / 0.496 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.414e-05/0.4891, allocations: 58.55 kB / 0.496 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.4894, allocations: 47.61 kB / 0.4961 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.4898, allocations: 290.3 kB / 0.4963 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4898, allocations: 20.56 kB / 0.4964 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.4899, allocations: 28 kB / 0.4964 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.4904, allocations: 319.6 kB / 0.4967 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4904, allocations: 0 / 0.4967 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.4904, allocations: 12 kB / 0.4967 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4904, allocations: 4 kB / 0.4967 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.4908, allocations: 213.5 kB / 0.4969 GB, free: 1.312 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.001916/0.4927, allocations: 1.593 MB / 0.4985 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.493, allocations: 171.1 kB / 0.4986 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.4932, allocations: 96.77 kB / 0.4987 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.4932, allocations: 11.97 kB / 0.4987 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4932, allocations: 34.56 kB / 0.4988 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.4933, allocations: 4 kB / 0.4988 GB, free: 15.24 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.005583/0.4988, allocations: 1.61 MB / 0.5003 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.4989, allocations: 55.41 kB / 0.5004 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.4992, allocations: 256.9 kB / 0.5006 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.4992, allocations: 29.7 kB / 0.5007 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4993, allocations: 180.2 kB / 0.5008 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.4994, allocations: 94.64 kB / 0.5009 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4995, allocations: 85.38 kB / 0.501 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4996, allocations: 342.8 kB / 0.5013 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.4998, allocations: 87.95 kB / 0.5014 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.5, allocations: 187.7 kB / 0.5016 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.5004, allocations: 311.7 kB / 0.5019 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5004, allocations: 0 / 0.5019 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006185/0.501, allocations: 398.8 kB / 0.5023 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5011, allocations: 4 kB / 0.5023 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5011, allocations: 11.97 kB / 0.5023 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.5013, allocations: 77.67 kB / 0.5024 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.5016, allocations: 76.25 kB / 0.5024 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.5031, allocations: 1.962 MB / 0.5044 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.5033, allocations: 8 kB / 0.5044 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.5033, allocations: 40 kB / 0.5044 GB, free: 9.016 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.0001632/0.5035, allocations: 162.8 kB / 0.5046 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.5036, allocations: 31.62 kB / 0.5046 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/0.5045, allocations: 429.7 kB / 0.505 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5045, allocations: 4 kB / 0.505 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.5045, allocations: 0 / 0.505 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005188/0.505, allocations: 0.5708 MB / 0.5056 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.506, allocations: 0.7271 MB / 0.5063 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.506, allocations: 7.922 kB / 0.5063 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.5063, allocations: 63.97 kB / 0.5063 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-05/0.5064, allocations: 32.89 kB / 0.5064 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.5065, allocations: 8 kB / 0.5064 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008546/0.5073, allocations: 1.379 MB / 0.5077 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5073, allocations: 0 / 0.5077 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.508, allocations: 490.4 kB / 0.5082 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.5081, allocations: 100.9 kB / 0.5083 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.5081, allocations: 4 kB / 0.5083 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.5084, allocations: 15.97 kB / 0.5083 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.5084, allocations: 23.97 kB / 0.5083 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.5085, allocations: 31.98 kB / 0.5084 GB, free: 4.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.5086, allocations: 186 kB / 0.5085 GB, free: 4.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.182e-06/0.5087, allocations: 4.062 kB / 0.5085 GB, free: 4.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.5091, allocations: 127.9 kB / 0.5087 GB, free: 4.289 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.001102/0.5103, allocations: 1.058 MB / 0.5097 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007056/0.511, allocations: 399.2 kB / 0.5101 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.511, allocations: 0 / 0.5101 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.5113, allocations: 230.6 kB / 0.5103 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000917/0.5122, allocations: 157.3 kB / 0.5104 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.5162, allocations: 3.191 MB / 0.5136 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.5165, allocations: 0.7684 MB / 0.5143 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000548/0.5171, allocations: 118.9 kB / 0.5144 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.5174, allocations: 123.4 kB / 0.5145 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5174, allocations: 0 / 0.5145 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.5521, allocations: 11.76 MB / 0.526 GB, free: 2.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.12, allocations: 12.67 kB / 0.526 GB, free: 2.156 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches