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.002326/0.002326, allocations: 99.02 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.00281/0.00281, allocations: 192 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 3.03/3.03, 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.002537/0.002537, allocations: 55.92 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1682, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.7671/0.9354, allocations: 172.7 MB / 0.4884 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.9461, allocations: 3.197 MB / 0.4915 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008825/0.9472, allocations: 7.938 kB / 0.4915 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.9487, allocations: 167 kB / 0.4917 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.9508, allocations: 415.5 kB / 0.4921 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.9529, allocations: 344.4 kB / 0.4924 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002378/0.9553, allocations: 0.8875 MB / 0.4933 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.9558, allocations: 117.1 kB / 0.4934 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.9598, allocations: 0.7959 MB / 0.4942 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008324/0.9606, allocations: 270.9 kB / 0.4944 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.9608, allocations: 32 kB / 0.4944 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007754/0.9616, allocations: 127.9 kB / 0.4946 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.9619, allocations: 91.72 kB / 0.4947 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000544/0.9625, allocations: 187.2 kB / 0.4948 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.9638, allocations: 0.5025 MB / 0.4953 GB, free: 3.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.9638, allocations: 4 kB / 0.4953 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.9638, allocations: 0 / 0.4953 GB, free: 3.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.9639, allocations: 0 / 0.4953 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.001729/0.9656, allocations: 0.5971 MB / 0.4959 GB, free: 2.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.195e-05/0.9657, allocations: 8.031 kB / 0.4959 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.9659, allocations: 58.55 kB / 0.496 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005818/0.9665, allocations: 47.61 kB / 0.496 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.9672, allocations: 294.3 kB / 0.4963 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.9673, allocations: 20.56 kB / 0.4963 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.9674, allocations: 24 kB / 0.4963 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.9684, allocations: 319.6 kB / 0.4966 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.9685, allocations: 0 / 0.4966 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.9686, allocations: 16 kB / 0.4967 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.9686, allocations: 4 kB / 0.4967 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.9692, allocations: 213.5 kB / 0.4969 GB, free: 1.305 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.003375/0.9726, allocations: 1.585 MB / 0.4984 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.9732, allocations: 175.1 kB / 0.4986 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.9736, allocations: 100.8 kB / 0.4987 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.9736, allocations: 4 kB / 0.4987 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.9737, allocations: 42.56 kB / 0.4987 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 4.107e-06/0.9737, allocations: 0 / 0.4987 GB, free: 15.23 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.01063/0.9844, allocations: 1.616 MB / 0.5003 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.9845, allocations: 51.41 kB / 0.5004 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.985, allocations: 256.9 kB / 0.5006 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.9851, allocations: 29.7 kB / 0.5006 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.9853, allocations: 180.2 kB / 0.5008 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.9855, allocations: 94.64 kB / 0.5009 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.9857, allocations: 85.38 kB / 0.501 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.986, allocations: 342.8 kB / 0.5013 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.9863, allocations: 91.95 kB / 0.5014 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.9868, allocations: 199.6 kB / 0.5016 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008787/0.9877, allocations: 299.8 kB / 0.5019 GB, free: 11.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9877, allocations: 0 / 0.5019 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00141/0.9891, allocations: 394.7 kB / 0.5022 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.9892, allocations: 8 kB / 0.5022 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.9892, allocations: 0 / 0.5022 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004286/0.9897, allocations: 78.08 kB / 0.5023 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.9903, allocations: 87.89 kB / 0.5024 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.9933, allocations: 1.951 MB / 0.5043 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.9938, allocations: 12 kB / 0.5043 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/0.994, allocations: 39.98 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.0003496/0.9944, allocations: 158.8 kB / 0.5045 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.9946, allocations: 31.62 kB / 0.5045 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.9965, allocations: 437 kB / 0.505 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.9965, allocations: 8 kB / 0.505 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9965, allocations: 0 / 0.505 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.9976, allocations: 0.5591 MB / 0.5055 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.9998, allocations: 0.731 MB / 0.5062 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.9998, allocations: 0 / 0.5062 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/1, allocations: 71.95 kB / 0.5063 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/1.001, allocations: 24.84 kB / 0.5063 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/1.001, allocations: 8 kB / 0.5063 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/1.002, allocations: 1.382 MB / 0.5077 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.002, allocations: 0 / 0.5077 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/1.004, allocations: 490.5 kB / 0.5081 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/1.004, allocations: 100.8 kB / 0.5082 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.004, allocations: 4 kB / 0.5082 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/1.005, allocations: 8 kB / 0.5082 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/1.005, allocations: 27.97 kB / 0.5083 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.804e-05/1.005, allocations: 27.98 kB / 0.5083 GB, free: 4.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003855/1.005, allocations: 194 kB / 0.5085 GB, free: 4.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.005, allocations: 0 / 0.5085 GB, free: 4.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001067/1.006, allocations: 120 kB / 0.5086 GB, free: 4.305 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.002498/1.009, allocations: 1.074 MB / 0.5096 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/1.01, allocations: 390.7 kB / 0.51 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.01, allocations: 0 / 0.51 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006675/1.011, allocations: 234.5 kB / 0.5102 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.013, allocations: 168.8 kB / 0.5104 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008687/1.022, allocations: 3.202 MB / 0.5135 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/1.023, allocations: 0.7645 MB / 0.5143 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001335/1.024, allocations: 110.9 kB / 0.5144 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005731/1.025, allocations: 123.4 kB / 0.5145 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/1.025, allocations: 0 / 0.5145 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07936/1.104, allocations: 11.77 MB / 0.526 GB, free: 2.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.54/20.64, allocations: 16.53 kB / 0.526 GB, free: 2.137 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