Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001827/0.001827, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.458/1.458, allocations: 222.9 MB / 242.4 MB, free: 15.21 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.2089/0.2089, allocations: 44.18 MB / 336.7 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4933, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2382/0.7316, allocations: 177.1 MB / 0.6919 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008757/0.7404, allocations: 6.501 MB / 0.6982 GB, free: 3.789 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006795/0.7411, allocations: 23.88 kB / 0.6983 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.7424, allocations: 441.5 kB / 0.6987 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.7475, allocations: 1.769 MB / 0.7004 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.7519, allocations: 1.528 MB / 0.7019 GB, free: 40 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003162/0.7551, allocations: 2.231 MB / 0.7041 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/0.7567, allocations: 0.7733 MB / 0.7048 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004539/0.7613, allocations: 1.768 MB / 0.7066 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.7649, allocations: 1.57 MB / 0.7081 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.7654, allocations: 100 kB / 0.7082 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.769, allocations: 1.345 MB / 0.7095 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009511/0.77, allocations: 0.6821 MB / 0.7102 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.7717, allocations: 0.7665 MB / 0.7109 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.7759, allocations: 2.606 MB / 0.7135 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7759, allocations: 0 / 0.7135 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7759, allocations: 3.938 kB / 0.7135 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.7759, allocations: 0 / 0.7135 GB, free: 4.156 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00383/0.7798, allocations: 1.715 MB / 0.7151 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7798, allocations: 12.03 kB / 0.7152 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.7815, allocations: 310.2 kB / 0.7155 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.7829, allocations: 0.7727 MB / 0.7162 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.783, allocations: 145.4 kB / 0.7163 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.7832, allocations: 104 kB / 0.7164 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3/1.083, allocations: 1.826 MB / 0.7182 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/1.083, allocations: 12.8 kB / 0.7182 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/1.083, allocations: 48.55 kB / 0.7183 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/1.084, allocations: 91.98 kB / 0.7184 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/1.087, allocations: 1.699 MB / 0.72 GB, free: 189.1 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.009245/1.096, allocations: 6.871 MB / 0.7267 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/1.097, allocations: 0.8712 MB / 0.7276 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/1.098, allocations: 458.2 kB / 0.728 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/1.098, allocations: 105.4 kB / 0.7281 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.098, allocations: 41.88 kB / 0.7282 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 4.178e-06/1.098, allocations: 3.094 kB / 0.7282 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.01083/1.109, allocations: 4.125 MB / 0.7322 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.109, allocations: 110.5 kB / 0.7323 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/1.11, allocations: 1.105 MB / 0.7334 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.724e-05/1.11, allocations: 44.02 kB / 0.7334 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/1.111, allocations: 0.5189 MB / 0.7339 GB, free: 180 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.111, allocations: 269.7 kB / 0.7342 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/1.111, allocations: 206.1 kB / 0.7344 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/1.111, allocations: 353.3 kB / 0.7347 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/1.112, allocations: 0.5832 MB / 0.7353 GB, free: 179 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.113, allocations: 0.8707 MB / 0.7361 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/1.115, allocations: 1.449 MB / 0.7376 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.115, allocations: 3.344 kB / 0.7376 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002962/1.118, allocations: 2.011 MB / 0.7395 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.118, allocations: 7.875 kB / 0.7395 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.118, allocations: 7.938 kB / 0.7395 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004427/1.122, allocations: 1.35 MB / 0.7409 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/1.123, allocations: 140.7 kB / 0.741 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/1.125, allocations: 1.934 MB / 0.7429 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/1.126, allocations: 43.97 kB / 0.7429 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/1.126, allocations: 63.98 kB / 0.743 GB, free: 174.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.00058/1.127, allocations: 395.7 kB / 0.7434 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/1.127, allocations: 114.7 kB / 0.7435 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/1.129, allocations: 1.502 MB / 0.7449 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.129, allocations: 8 kB / 0.745 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.129, allocations: 0 / 0.745 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.129, allocations: 3.984 kB / 0.745 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/1.133, allocations: 2.691 MB / 0.7476 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.133, allocations: 3.938 kB / 0.7476 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/1.134, allocations: 327.5 kB / 0.7479 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/1.135, allocations: 72.56 kB / 0.748 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/1.135, allocations: 35.97 kB / 0.748 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/1.136, allocations: 3.026 MB / 0.751 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.136, allocations: 3.938 kB / 0.751 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.139, allocations: 1.913 MB / 0.7528 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/1.14, allocations: 331.7 kB / 0.7531 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/1.14, allocations: 31.89 kB / 0.7532 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009423/1.141, allocations: 47.95 kB / 0.7532 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.141, allocations: 56.56 kB / 0.7533 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.141, allocations: 71.95 kB / 0.7533 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000861/1.142, allocations: 0.797 MB / 0.7541 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.142, allocations: 0 / 0.7541 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001381/1.143, allocations: 477.3 kB / 0.7546 GB, free: 162.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.001646/1.145, allocations: 0.671 MB / 0.7552 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00236/1.147, allocations: 1.477 MB / 0.7567 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.147, allocations: 4.656 kB / 0.7567 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/1.149, allocations: 0.8663 MB / 0.7575 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/1.152, allocations: 0.7595 MB / 0.7583 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/1.157, allocations: 2.897 MB / 0.7611 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/1.158, allocations: 1.18 MB / 0.7622 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0013/1.159, allocations: 481.3 kB / 0.7627 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/1.159, allocations: 115.4 kB / 0.7628 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.333e-06/1.159, allocations: 0 / 0.7628 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04948/1.209, allocations: 39.24 MB / 0.8011 GB, free: 114.9 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches