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.001315/0.001315, allocations: 104.5 kB / 17.58 MB, free: 5.441 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.001211/0.001211, allocations: 195.9 kB / 18.51 MB, free: 4.52 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.437/1.437, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001754/0.001754, allocations: 55.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1193, 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.Nitrogen): time 0.4447/0.564, allocations: 172.7 MB / 0.4884 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005638/0.5697, allocations: 3.201 MB / 0.4915 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.57, allocations: 11.94 kB / 0.4915 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.5706, allocations: 167 kB / 0.4917 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008802/0.5715, allocations: 415.5 kB / 0.4921 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.5724, allocations: 345.5 kB / 0.4924 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.5734, allocations: 0.8875 MB / 0.4933 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.5736, allocations: 113.1 kB / 0.4934 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.5754, allocations: 0.7948 MB / 0.4942 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.5758, allocations: 270.9 kB / 0.4944 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.5759, allocations: 32 kB / 0.4944 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.5762, allocations: 127.9 kB / 0.4946 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.5763, allocations: 99.64 kB / 0.4947 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.5766, allocations: 183.3 kB / 0.4948 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.5772, allocations: 0.5141 MB / 0.4953 GB, free: 3.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5772, allocations: 0 / 0.4953 GB, free: 3.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5773, allocations: 0 / 0.4953 GB, free: 3.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.5773, allocations: 0 / 0.4953 GB, free: 3.023 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.0009193/0.5782, allocations: 0.5893 MB / 0.4959 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.5782, allocations: 8.031 kB / 0.4959 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.5783, allocations: 58.55 kB / 0.496 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.5786, allocations: 51.61 kB / 0.496 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.579, allocations: 290.3 kB / 0.4963 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.579, allocations: 20.56 kB / 0.4963 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.5791, allocations: 24 kB / 0.4963 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.5796, allocations: 319.6 kB / 0.4967 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5796, allocations: 4 kB / 0.4967 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.5797, allocations: 12 kB / 0.4967 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5797, allocations: 4 kB / 0.4967 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.58, allocations: 209.5 kB / 0.4969 GB, free: 1.332 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.001984/0.582, allocations: 1.589 MB / 0.4984 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.5823, allocations: 171.1 kB / 0.4986 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.5825, allocations: 100.8 kB / 0.4987 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.5826, allocations: 8 kB / 0.4987 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.5826, allocations: 38.56 kB / 0.4987 GB, free: 15.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.5826, allocations: 0 / 0.4987 GB, free: 15.26 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.006026/0.5886, allocations: 1.62 MB / 0.5003 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.5887, allocations: 51.41 kB / 0.5004 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.589, allocations: 252.9 kB / 0.5006 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.5891, allocations: 33.64 kB / 0.5006 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.5893, allocations: 184.1 kB / 0.5008 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.411e-05/0.5893, allocations: 94.66 kB / 0.5009 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.5895, allocations: 89.31 kB / 0.501 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5897, allocations: 342.8 kB / 0.5013 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.5899, allocations: 91.95 kB / 0.5014 GB, free: 12.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.5901, allocations: 183.7 kB / 0.5016 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.5906, allocations: 303.8 kB / 0.5019 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5906, allocations: 0 / 0.5019 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007061/0.5914, allocations: 398.7 kB / 0.5022 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5914, allocations: 4 kB / 0.5022 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.5914, allocations: 4 kB / 0.5022 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.5917, allocations: 78.08 kB / 0.5023 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.5921, allocations: 83.89 kB / 0.5024 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.594, allocations: 1.95 MB / 0.5043 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.5943, allocations: 11.98 kB / 0.5043 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.5943, allocations: 41.25 kB / 0.5044 GB, free: 9.043 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.0002088/0.5946, allocations: 158.6 kB / 0.5045 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.5946, allocations: 31.62 kB / 0.5045 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5957, allocations: 432.3 kB / 0.505 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5957, allocations: 4 kB / 0.505 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5957, allocations: 0 / 0.505 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006579/0.5964, allocations: 0.5668 MB / 0.5055 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5976, allocations: 0.7349 MB / 0.5062 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5976, allocations: 4.062 kB / 0.5062 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.598, allocations: 67.89 kB / 0.5063 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.574e-05/0.5981, allocations: 24.84 kB / 0.5063 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.5981, allocations: 8 kB / 0.5063 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.5993, allocations: 1.379 MB / 0.5077 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5993, allocations: 0 / 0.5077 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.6001, allocations: 490.5 kB / 0.5081 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.6002, allocations: 96.86 kB / 0.5082 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.6002, allocations: 8 kB / 0.5082 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.6005, allocations: 15.92 kB / 0.5083 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.6005, allocations: 28.03 kB / 0.5083 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.6006, allocations: 35.98 kB / 0.5083 GB, free: 4.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.6008, allocations: 182 kB / 0.5085 GB, free: 4.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6008, allocations: 0 / 0.5085 GB, free: 4.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.6013, allocations: 128 kB / 0.5086 GB, free: 4.32 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.001316/0.6027, allocations: 1.062 MB / 0.5096 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000812/0.6035, allocations: 394.4 kB / 0.51 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6035, allocations: 3.938 kB / 0.51 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.6038, allocations: 226.6 kB / 0.5102 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6048, allocations: 165.1 kB / 0.5104 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.6094, allocations: 3.198 MB / 0.5135 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.6098, allocations: 0.7645 MB / 0.5143 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005689/0.6104, allocations: 122.9 kB / 0.5144 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.6107, allocations: 123.4 kB / 0.5145 GB, free: 14.02 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6107, allocations: 0 / 0.5145 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/0.652, allocations: 11.77 MB / 0.526 GB, free: 2.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.72, allocations: 16.53 kB / 0.526 GB, free: 2.148 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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_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.csv","/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