Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.001401/0.001401, allocations: 100.2 kB / 17.58 MB, free: 5.418 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.001199/0.001199, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.33/1.33, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001528/0.001528, allocations: 56.14 kB / 280.8 MB, free: 3.055 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09778, allocations: 46.63 MB / 327.4 MB, free: 4.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3768/0.4746, allocations: 172.7 MB / 0.4884 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.4797, allocations: 3.197 MB / 0.4915 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.4803, allocations: 4 kB / 0.4915 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007225/0.481, allocations: 178.9 kB / 0.4917 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.4823, allocations: 411.5 kB / 0.4921 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4833, allocations: 341.4 kB / 0.4924 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.4846, allocations: 0.8992 MB / 0.4933 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.4849, allocations: 105.1 kB / 0.4934 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.4873, allocations: 0.7948 MB / 0.4942 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.4878, allocations: 274.9 kB / 0.4944 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.4879, allocations: 32 kB / 0.4944 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.4884, allocations: 127.9 kB / 0.4946 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4885, allocations: 91.72 kB / 0.4947 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.4888, allocations: 187.2 kB / 0.4948 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006934/0.4895, allocations: 0.5025 MB / 0.4953 GB, free: 3.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4895, allocations: 4 kB / 0.4953 GB, free: 3.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4895, allocations: 0 / 0.4953 GB, free: 3.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4895, allocations: 0 / 0.4953 GB, free: 3.02 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.001002/0.4905, allocations: 0.5932 MB / 0.4959 GB, free: 2.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.4906, allocations: 8.031 kB / 0.4959 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.824e-05/0.4907, allocations: 66.53 kB / 0.496 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.491, allocations: 39.62 kB / 0.496 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.4914, allocations: 290.4 kB / 0.4963 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.4915, allocations: 20.56 kB / 0.4963 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.4915, allocations: 24 kB / 0.4963 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.4921, allocations: 327.6 kB / 0.4966 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4921, allocations: 0 / 0.4966 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.4922, allocations: 19.98 kB / 0.4967 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.4922, allocations: 8 kB / 0.4967 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.4925, allocations: 197.6 kB / 0.4969 GB, free: 1.324 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.002219/0.4948, allocations: 1.592 MB / 0.4984 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.4951, allocations: 175.1 kB / 0.4986 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.4953, allocations: 96.77 kB / 0.4987 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4953, allocations: 4 kB / 0.4987 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.4954, allocations: 42.56 kB / 0.4987 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.4954, allocations: 0 / 0.4987 GB, free: 15.25 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.00604/0.5014, allocations: 1.622 MB / 0.5003 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.5015, allocations: 55.41 kB / 0.5004 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.5018, allocations: 249 kB / 0.5006 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.5019, allocations: 37.69 kB / 0.5006 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.502, allocations: 176.2 kB / 0.5008 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.5021, allocations: 90.66 kB / 0.5009 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.5022, allocations: 85.38 kB / 0.501 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5024, allocations: 346.7 kB / 0.5013 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5026, allocations: 87.97 kB / 0.5014 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.5028, allocations: 191.6 kB / 0.5016 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.5034, allocations: 303.8 kB / 0.5019 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5034, allocations: 4 kB / 0.5019 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006824/0.5041, allocations: 398.7 kB / 0.5022 GB, free: 11.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5041, allocations: 8 kB / 0.5022 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5041, allocations: 0 / 0.5022 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.5044, allocations: 70.09 kB / 0.5023 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.5047, allocations: 87.89 kB / 0.5024 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.5065, allocations: 1.954 MB / 0.5043 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.5067, allocations: 12.03 kB / 0.5043 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.5068, allocations: 39.98 kB / 0.5044 GB, free: 9.027 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.000182/0.507, allocations: 154.8 kB / 0.5045 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.5071, allocations: 31.62 kB / 0.5045 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.5081, allocations: 437.6 kB / 0.505 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5081, allocations: 8 kB / 0.505 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5081, allocations: 0 / 0.505 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005855/0.5087, allocations: 0.563 MB / 0.5055 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.5098, allocations: 0.731 MB / 0.5062 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5098, allocations: 0 / 0.5062 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.5101, allocations: 75.95 kB / 0.5063 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-05/0.5102, allocations: 20.84 kB / 0.5063 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.5103, allocations: 19.98 kB / 0.5063 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.5113, allocations: 1.375 MB / 0.5077 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5114, allocations: 0 / 0.5077 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.5121, allocations: 482.5 kB / 0.5081 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5122, allocations: 104.8 kB / 0.5082 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.5123, allocations: 0 / 0.5082 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.5125, allocations: 8 kB / 0.5082 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.5126, allocations: 27.97 kB / 0.5083 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.5126, allocations: 31.98 kB / 0.5083 GB, free: 4.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.5128, allocations: 190 kB / 0.5085 GB, free: 4.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5129, allocations: 0 / 0.5085 GB, free: 4.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005225/0.5134, allocations: 124 kB / 0.5086 GB, free: 4.316 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.001284/0.5147, allocations: 1.074 MB / 0.5096 GB, free: 3.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.5155, allocations: 390.7 kB / 0.51 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5155, allocations: 0 / 0.51 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.5158, allocations: 230.5 kB / 0.5102 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.5169, allocations: 168.8 kB / 0.5104 GB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.522, allocations: 3.199 MB / 0.5135 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.5224, allocations: 0.7645 MB / 0.5143 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006369/0.5231, allocations: 114.9 kB / 0.5144 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.5234, allocations: 131.4 kB / 0.5145 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5234, allocations: 0 / 0.5145 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.5619, allocations: 11.76 MB / 0.526 GB, free: 2.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.11, allocations: 16.53 kB / 0.526 GB, free: 2.145 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches