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.001084/0.001084, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001099/0.001099, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.211/0.211, allocations: 44.2 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 67.98 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4224, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2099/0.6322, allocations: 177.6 MB / 0.6924 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.6423, allocations: 6.509 MB / 0.6987 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008847/0.6431, allocations: 19.88 kB / 0.6987 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.6446, allocations: 449.5 kB / 0.6992 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.6501, allocations: 1.777 MB / 0.7009 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/0.6548, allocations: 1.523 MB / 0.7024 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004478/0.6593, allocations: 2.235 MB / 0.7046 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.6608, allocations: 0.6679 MB / 0.7052 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.6655, allocations: 1.768 MB / 0.707 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.6689, allocations: 1.581 MB / 0.7085 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003827/0.6693, allocations: 104 kB / 0.7086 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.6728, allocations: 1.333 MB / 0.7099 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009186/0.6738, allocations: 0.6976 MB / 0.7106 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.6752, allocations: 0.7547 MB / 0.7113 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.6796, allocations: 2.632 MB / 0.7139 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6796, allocations: 4 kB / 0.7139 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6796, allocations: 0 / 0.7139 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.487e-05/0.6797, allocations: 0 / 0.7139 GB, free: 3.691 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.004632/0.6843, allocations: 1.752 MB / 0.7156 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6844, allocations: 8.031 kB / 0.7156 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.6861, allocations: 315 kB / 0.7159 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.6877, allocations: 0.7771 MB / 0.7167 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.6878, allocations: 137.4 kB / 0.7168 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.6881, allocations: 108 kB / 0.7169 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2953/0.9834, allocations: 1.833 MB / 0.7187 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.9834, allocations: 13.42 kB / 0.7187 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.9836, allocations: 41.05 kB / 0.7188 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.9837, allocations: 93.98 kB / 0.7188 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.9866, allocations: 1.697 MB / 0.7205 GB, free: 189.2 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.008857/0.9955, allocations: 6.901 MB / 0.7272 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.9968, allocations: 0.8495 MB / 0.7281 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/0.9975, allocations: 444.3 kB / 0.7285 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.9976, allocations: 101.4 kB / 0.7286 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.9976, allocations: 49.56 kB / 0.7286 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 3.347e-06/0.9976, allocations: 0 / 0.7286 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.01066/1.008, allocations: 4.119 MB / 0.7327 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.008, allocations: 114 kB / 0.7328 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.01, allocations: 1.111 MB / 0.7339 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-05/1.01, allocations: 40.39 kB / 0.7339 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/1.01, allocations: 0.5377 MB / 0.7344 GB, free: 180 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/1.011, allocations: 273.9 kB / 0.7347 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/1.011, allocations: 210.7 kB / 0.7349 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/1.011, allocations: 348.9 kB / 0.7352 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009109/1.012, allocations: 0.5869 MB / 0.7358 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/1.013, allocations: 0.8675 MB / 0.7366 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/1.015, allocations: 1.452 MB / 0.738 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.015, allocations: 1.875 kB / 0.7381 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003303/1.018, allocations: 1.981 MB / 0.74 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/1.018, allocations: 10.72 kB / 0.74 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.018, allocations: 7.906 kB / 0.74 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004427/1.023, allocations: 1.346 MB / 0.7413 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/1.023, allocations: 147.6 kB / 0.7415 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/1.026, allocations: 1.929 MB / 0.7433 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.027, allocations: 43.97 kB / 0.7434 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.027, allocations: 71.98 kB / 0.7435 GB, free: 174.1 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.0006349/1.028, allocations: 399.3 kB / 0.7438 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/1.028, allocations: 118.6 kB / 0.7439 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/1.03, allocations: 1.495 MB / 0.7454 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.03, allocations: 8 kB / 0.7454 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.03, allocations: 3.938 kB / 0.7454 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.03, allocations: 3.984 kB / 0.7454 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.034, allocations: 2.693 MB / 0.7481 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.034, allocations: 0 / 0.7481 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/1.035, allocations: 323.5 kB / 0.7484 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/1.035, allocations: 69.97 kB / 0.7484 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/1.035, allocations: 35.97 kB / 0.7485 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/1.037, allocations: 3.037 MB / 0.7514 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.037, allocations: 0 / 0.7514 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/1.039, allocations: 1.912 MB / 0.7533 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/1.04, allocations: 340.2 kB / 0.7536 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.04, allocations: 29.11 kB / 0.7536 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/1.041, allocations: 51.95 kB / 0.7537 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.041, allocations: 60.56 kB / 0.7538 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.041, allocations: 63.95 kB / 0.7538 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008037/1.042, allocations: 0.7931 MB / 0.7546 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.042, allocations: 4 kB / 0.7546 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001341/1.044, allocations: 483.5 kB / 0.7551 GB, free: 161.9 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.001621/1.045, allocations: 0.6876 MB / 0.7557 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002274/1.047, allocations: 1.427 MB / 0.7571 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.047, allocations: 0.6562 kB / 0.7571 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/1.049, allocations: 0.8428 MB / 0.7579 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/1.052, allocations: 0.7502 MB / 0.7587 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/1.056, allocations: 2.939 MB / 0.7615 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/1.056, allocations: 1.183 MB / 0.7627 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001154/1.058, allocations: 489.4 kB / 0.7632 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/1.058, allocations: 111.4 kB / 0.7633 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/1.058, allocations: 0 / 0.7633 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.0494/1.107, allocations: 39.39 MB / 0.8017 GB, free: 114.3 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