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.001107/0.001107, allocations: 117.2 kB / 17.78 MB, free: 5.254 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.001151/0.001151, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.327/1.327, 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.2138/0.2138, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4046, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1924/0.597, allocations: 174.3 MB / 0.6887 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008114/0.6052, allocations: 5.338 MB / 0.6939 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.6064, allocations: 27.81 kB / 0.6939 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.6077, allocations: 314 kB / 0.6942 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.6119, allocations: 1.348 MB / 0.6955 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.6149, allocations: 1.055 MB / 0.6966 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002424/0.6173, allocations: 1.848 MB / 0.6984 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007082/0.618, allocations: 469.3 kB / 0.6988 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.6203, allocations: 1.086 MB / 0.6999 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.6215, allocations: 0.7393 MB / 0.7006 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.6216, allocations: 64 kB / 0.7007 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.6232, allocations: 0.6242 MB / 0.7013 GB, free: 248 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.6235, allocations: 267.2 kB / 0.7015 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.6239, allocations: 398.2 kB / 0.7019 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.6257, allocations: 1.308 MB / 0.7032 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6257, allocations: 4 kB / 0.7032 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6257, allocations: 0 / 0.7032 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.6257, allocations: 0 / 0.7032 GB, free: 14.27 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.002194/0.6279, allocations: 1.125 MB / 0.7043 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.628, allocations: 8.031 kB / 0.7043 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.6281, allocations: 94.52 kB / 0.7044 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.6289, allocations: 139.5 kB / 0.7045 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.6299, allocations: 0.5357 MB / 0.705 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.63, allocations: 100.4 kB / 0.7051 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.6301, allocations: 51.98 kB / 0.7052 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.6313, allocations: 0.8175 MB / 0.706 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.6313, allocations: 4 kB / 0.706 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.6314, allocations: 27.94 kB / 0.706 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.6315, allocations: 40.92 kB / 0.706 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.6326, allocations: 0.6205 MB / 0.7067 GB, free: 10.52 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.004612/0.6372, allocations: 3.973 MB / 0.7105 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.6378, allocations: 355.6 kB / 0.7109 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.6381, allocations: 177.3 kB / 0.711 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.6382, allocations: 97.36 kB / 0.7111 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.6382, allocations: 34.84 kB / 0.7112 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.385e-06/0.6383, allocations: 0 / 0.7112 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005549/0.6438, allocations: 1.677 MB / 0.7128 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.6439, allocations: 132.5 kB / 0.7129 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.6446, allocations: 0.625 MB / 0.7135 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.6447, allocations: 37.7 kB / 0.7136 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.6449, allocations: 367.9 kB / 0.7139 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.6451, allocations: 146.7 kB / 0.7141 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.6454, allocations: 158.6 kB / 0.7142 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.6456, allocations: 378.8 kB / 0.7146 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.6459, allocations: 205.9 kB / 0.7148 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.6466, allocations: 0.5086 MB / 0.7153 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.6475, allocations: 0.7591 MB / 0.716 GB, free: 224 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6476, allocations: 0 / 0.716 GB, free: 224 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2611/0.9087, allocations: 0.8774 MB / 0.7169 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.9088, allocations: 9.5 kB / 0.7169 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.9088, allocations: 10.03 kB / 0.7169 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.9103, allocations: 320.7 kB / 0.7172 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.9107, allocations: 123 kB / 0.7173 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009824/0.9117, allocations: 0.9381 MB / 0.7182 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.9122, allocations: 27.23 kB / 0.7183 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.513e-05/0.9123, allocations: 65.89 kB / 0.7183 GB, free: 188.9 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.0003252/0.9127, allocations: 239.7 kB / 0.7185 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.9128, allocations: 74.81 kB / 0.7186 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.9144, allocations: 0.8624 MB / 0.7195 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.9144, allocations: 4.406 kB / 0.7195 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9144, allocations: 5.031 kB / 0.7195 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.9144, allocations: 2.672 kB / 0.7195 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.9164, allocations: 1.458 MB / 0.7209 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.9164, allocations: 3.703 kB / 0.7209 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.9175, allocations: 214.4 kB / 0.7211 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.058e-05/0.9176, allocations: 24.16 kB / 0.7211 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.9177, allocations: 22.14 kB / 0.7211 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.9191, allocations: 2.879 MB / 0.724 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.9191, allocations: 6.719 kB / 0.724 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.9203, allocations: 0.8301 MB / 0.7248 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.9205, allocations: 185.8 kB / 0.725 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.9206, allocations: 14.16 kB / 0.725 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.9211, allocations: 18 kB / 0.725 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.9212, allocations: 40.2 kB / 0.725 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.9212, allocations: 45.56 kB / 0.7251 GB, free: 184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005128/0.9217, allocations: 437.1 kB / 0.7255 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9218, allocations: 3.5 kB / 0.7255 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009068/0.9227, allocations: 254.7 kB / 0.7257 GB, free: 183.8 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.001944/0.9246, allocations: 1.555 MB / 0.7272 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.9259, allocations: 0.5565 MB / 0.7278 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9259, allocations: 2.062 kB / 0.7278 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.927, allocations: 421.4 kB / 0.7282 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.9288, allocations: 364.2 kB / 0.7285 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009111/0.9379, allocations: 6.345 MB / 0.7347 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.9384, allocations: 0.9307 MB / 0.7356 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001101/0.9395, allocations: 467 kB / 0.7361 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.9399, allocations: 287.7 kB / 0.7364 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.9399, allocations: 0 / 0.7364 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/0.9857, allocations: 24.39 MB / 0.7602 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.64, allocations: 27.39 kB / 0.7602 GB, free: 156.1 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