Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_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.001243/0.001243, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001208/0.001207, allocations: 181 kB / 18.71 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.223/0.223, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001848, allocations: 75.86 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3715, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2258/0.5973, allocations: 174.3 MB / 0.6887 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008435/0.6058, allocations: 5.342 MB / 0.6939 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007871/0.6066, allocations: 19.88 kB / 0.6939 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.6077, allocations: 313.9 kB / 0.6942 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.6116, allocations: 1.329 MB / 0.6955 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.6146, allocations: 1.059 MB / 0.6965 GB, free: 5.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.6173, allocations: 1.852 MB / 0.6983 GB, free: 3.227 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007973/0.6181, allocations: 465.3 kB / 0.6988 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.6206, allocations: 1.074 MB / 0.6998 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.622, allocations: 0.7433 MB / 0.7006 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.6221, allocations: 64 kB / 0.7006 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.6238, allocations: 0.6125 MB / 0.7012 GB, free: 276 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.6241, allocations: 275.2 kB / 0.7015 GB, free: 0 / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.6246, allocations: 394.3 kB / 0.7019 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.6268, allocations: 1.3 MB / 0.7031 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6268, allocations: 3.938 kB / 0.7031 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6268, allocations: 0 / 0.7031 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.6269, allocations: 0 / 0.7031 GB, free: 14.3 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002548/0.6294, allocations: 1.128 MB / 0.7042 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.6295, allocations: 8.031 kB / 0.7042 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.6296, allocations: 98.52 kB / 0.7043 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/0.6305, allocations: 143.4 kB / 0.7045 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.6314, allocations: 0.5357 MB / 0.705 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.6315, allocations: 96.41 kB / 0.7051 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.6316, allocations: 51.98 kB / 0.7051 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.633, allocations: 0.8136 MB / 0.7059 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.633, allocations: 7.938 kB / 0.7059 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.6331, allocations: 19.98 kB / 0.706 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.6332, allocations: 44.92 kB / 0.706 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.6343, allocations: 0.6244 MB / 0.7066 GB, free: 10.55 MB / 0.5606 GB 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.005291/0.6396, allocations: 3.977 MB / 0.7105 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.6402, allocations: 355.6 kB / 0.7108 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.6406, allocations: 169.3 kB / 0.711 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.6407, allocations: 89.38 kB / 0.7111 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.6408, allocations: 38.84 kB / 0.7111 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.226e-06/0.6408, allocations: 0 / 0.7111 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00621/0.647, allocations: 1.685 MB / 0.7128 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.6472, allocations: 136.5 kB / 0.7129 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/0.6482, allocations: 0.6172 MB / 0.7135 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.6482, allocations: 33.7 kB / 0.7135 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.6486, allocations: 367.9 kB / 0.7139 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.6488, allocations: 150.7 kB / 0.714 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.649, allocations: 162.6 kB / 0.7142 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.6492, allocations: 382.6 kB / 0.7146 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.6496, allocations: 201.9 kB / 0.7147 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.6503, allocations: 0.5163 MB / 0.7152 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6513, allocations: 0.7514 MB / 0.716 GB, free: 248 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6513, allocations: 4 kB / 0.716 GB, free: 244 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2598/0.9112, allocations: 0.8776 MB / 0.7168 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.9113, allocations: 9.688 kB / 0.7169 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.9113, allocations: 11.22 kB / 0.7169 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.9134, allocations: 315.4 kB / 0.7172 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.9139, allocations: 129.9 kB / 0.7173 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.9155, allocations: 0.9321 MB / 0.7182 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.9163, allocations: 28.94 kB / 0.7182 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.9165, allocations: 63.73 kB / 0.7183 GB, free: 189 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0006046/0.9171, allocations: 246.9 kB / 0.7185 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.9174, allocations: 69.14 kB / 0.7186 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.92, allocations: 0.8667 MB / 0.7194 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.92, allocations: 4.875 kB / 0.7194 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.9201, allocations: 4.672 kB / 0.7194 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.9201, allocations: 3.266 kB / 0.7194 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.9234, allocations: 1.453 MB / 0.7209 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.9235, allocations: 2.938 kB / 0.7209 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.925, allocations: 216.1 kB / 0.7211 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.9252, allocations: 25.52 kB / 0.7211 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.567e-05/0.9253, allocations: 21.84 kB / 0.7211 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.9275, allocations: 2.87 MB / 0.7239 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.9275, allocations: 5.781 kB / 0.7239 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.9295, allocations: 0.8322 MB / 0.7247 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.93, allocations: 189.4 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.9302, allocations: 14.62 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.9309, allocations: 15.25 kB / 0.7249 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.9311, allocations: 37.33 kB / 0.725 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.9312, allocations: 47.41 kB / 0.725 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009977/0.9322, allocations: 441.3 kB / 0.7254 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.9322, allocations: 0.5469 kB / 0.7255 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001641/0.9339, allocations: 254.2 kB / 0.7257 GB, free: 183.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.003059/0.937, allocations: 1.562 MB / 0.7272 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.9388, allocations: 0.5528 MB / 0.7278 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9388, allocations: 0 / 0.7278 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.9401, allocations: 417.7 kB / 0.7282 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.9428, allocations: 367.5 kB / 0.7285 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.955, allocations: 6.348 MB / 0.7347 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.9556, allocations: 0.9267 MB / 0.7356 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001594/0.9572, allocations: 464.7 kB / 0.7361 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/0.9579, allocations: 290.4 kB / 0.7363 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.9579, allocations: 3.938 kB / 0.7363 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05413/1.012, allocations: 24.39 MB / 0.7602 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.19, allocations: 25.08 kB / 0.7602 GB, free: 156.3 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches