Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.001108/0.001108, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001192/0.001193, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.398/1.398, 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.2239/0.2239, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.396, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2002/0.5963, allocations: 177.3 MB / 0.6916 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00998/0.6063, allocations: 6.503 MB / 0.6979 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00096/0.6073, allocations: 19.88 kB / 0.6979 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.6088, allocations: 429.6 kB / 0.6983 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.615, allocations: 1.761 MB / 0.7001 GB, free: 1.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.6199, allocations: 1.495 MB / 0.7015 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003351/0.6232, allocations: 2.114 MB / 0.7036 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.6245, allocations: 0.5363 MB / 0.7041 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.6288, allocations: 1.717 MB / 0.7058 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.632, allocations: 1.472 MB / 0.7072 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.6324, allocations: 72 kB / 0.7073 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.636, allocations: 1.31 MB / 0.7086 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007212/0.6367, allocations: 450.9 kB / 0.709 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.6381, allocations: 0.5562 MB / 0.7095 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.6425, allocations: 2.068 MB / 0.7116 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6425, allocations: 0 / 0.7116 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6426, allocations: 0 / 0.7116 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.957e-05/0.6426, allocations: 3.938 kB / 0.7116 GB, free: 5.641 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004413/0.6471, allocations: 1.478 MB / 0.713 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.6471, allocations: 12.03 kB / 0.713 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/0.6474, allocations: 130.7 kB / 0.7131 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.6491, allocations: 291.1 kB / 0.7134 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.6508, allocations: 0.6368 MB / 0.714 GB, free: 3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.651, allocations: 116.7 kB / 0.7141 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.6511, allocations: 67.98 kB / 0.7142 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.6534, allocations: 1.271 MB / 0.7155 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.6535, allocations: 4 kB / 0.7155 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.6536, allocations: 28 kB / 0.7155 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.6537, allocations: 85.27 kB / 0.7156 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.6556, allocations: 1.051 MB / 0.7166 GB, free: 304 kB / 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.2815/0.937, allocations: 4.933 MB / 0.7214 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.9376, allocations: 307.4 kB / 0.7217 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.9379, allocations: 146.9 kB / 0.7218 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.441e-05/0.938, allocations: 93.59 kB / 0.7219 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.938, allocations: 42.06 kB / 0.722 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.9381, allocations: 0 / 0.722 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.007142/0.9452, allocations: 1.84 MB / 0.7238 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.9453, allocations: 138.3 kB / 0.7239 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.9466, allocations: 0.9346 MB / 0.7248 GB, free: 185 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.9467, allocations: 32.45 kB / 0.7248 GB, free: 185 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.947, allocations: 0.5896 MB / 0.7254 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.9471, allocations: 133.3 kB / 0.7255 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.9474, allocations: 217.5 kB / 0.7258 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9475, allocations: 401.9 kB / 0.7261 GB, free: 184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/0.948, allocations: 273.9 kB / 0.7264 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/0.9488, allocations: 0.8678 MB / 0.7272 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.95, allocations: 1.179 MB / 0.7284 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.95, allocations: 7.953 kB / 0.7284 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002043/0.952, allocations: 1.252 MB / 0.7296 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.9521, allocations: 15.62 kB / 0.7296 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.9521, allocations: 24.16 kB / 0.7297 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.9534, allocations: 290.6 kB / 0.7299 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.954, allocations: 205.4 kB / 0.7301 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009203/0.9549, allocations: 0.9157 MB / 0.731 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.9558, allocations: 39.34 kB / 0.7311 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.9559, allocations: 75.67 kB / 0.7311 GB, free: 180.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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.0004831/0.9564, allocations: 352.3 kB / 0.7315 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.9566, allocations: 97.73 kB / 0.7316 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/0.9575, allocations: 0.507 MB / 0.7321 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.9575, allocations: 4.125 kB / 0.7321 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9575, allocations: 3.938 kB / 0.7321 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9576, allocations: 6.094 kB / 0.7321 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.9593, allocations: 1.137 MB / 0.7332 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9593, allocations: 0 / 0.7332 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/0.9603, allocations: 180.3 kB / 0.7334 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.511e-05/0.9604, allocations: 26.31 kB / 0.7334 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.9604, allocations: 8.656 kB / 0.7334 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.9619, allocations: 2.871 MB / 0.7362 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9619, allocations: 5.188 kB / 0.7362 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.963, allocations: 0.7061 MB / 0.7369 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.9633, allocations: 205.8 kB / 0.7371 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.9635, allocations: 7.219 kB / 0.7371 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.9639, allocations: 15.59 kB / 0.7371 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.964, allocations: 31.61 kB / 0.7371 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.964, allocations: 17.22 kB / 0.7372 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008491/0.9649, allocations: 0.6276 MB / 0.7378 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9649, allocations: 0 / 0.7378 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001807/0.9667, allocations: 386 kB / 0.7381 GB, free: 175.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.002798/0.9695, allocations: 1.78 MB / 0.7399 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.9711, allocations: 0.6875 MB / 0.7406 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.9711, allocations: 3.219 kB / 0.7406 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009442/0.972, allocations: 372.4 kB / 0.7409 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.9742, allocations: 426.8 kB / 0.7413 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.9845, allocations: 8.197 MB / 0.7493 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.9851, allocations: 1.032 MB / 0.7503 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001055/0.9861, allocations: 385.8 kB / 0.7507 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.9866, allocations: 323.3 kB / 0.751 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.9866, allocations: 0 / 0.751 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06021/1.047, allocations: 30.96 MB / 0.7812 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.83/18.88, allocations: 15.41 kB / 0.7813 GB, free: 134.3 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches