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.0008665/0.0008665, allocations: 91.61 kB / 17.35 MB, free: 6.371 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.001102/0.001102, allocations: 172.4 kB / 18.25 MB, free: 5.527 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.347/1.347, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4247/0.547, allocations: 173.2 MB / 0.6303 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.5578, allocations: 6.62 MB / 0.6368 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.5592, allocations: 23.81 kB / 0.6368 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.5607, allocations: 390.1 kB / 0.6372 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005352/0.5661, allocations: 1.61 MB / 0.6387 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.57, allocations: 1.379 MB / 0.6401 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00418/0.5742, allocations: 3.238 MB / 0.6432 GB, free: 8.242 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.5756, allocations: 0.664 MB / 0.6439 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.5794, allocations: 1.643 MB / 0.6455 GB, free: 5.922 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/0.5826, allocations: 1.663 MB / 0.6471 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.5828, allocations: 56 kB / 0.6472 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.5864, allocations: 1.82 MB / 0.649 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006961/0.5871, allocations: 0.6468 MB / 0.6496 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000921/0.5881, allocations: 0.7291 MB / 0.6503 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.5915, allocations: 2.707 MB / 0.6529 GB, free: 14.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5915, allocations: 0 / 0.6529 GB, free: 14.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5915, allocations: 0 / 0.6529 GB, free: 14.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.5915, allocations: 0 / 0.6529 GB, free: 14.27 MB / 494.1 MB 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.003129/0.5946, allocations: 1.439 MB / 0.6543 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5947, allocations: 19.84 kB / 0.6544 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.5962, allocations: 322.2 kB / 0.6547 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.5974, allocations: 0.7454 MB / 0.6554 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.5976, allocations: 153.3 kB / 0.6555 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.5978, allocations: 107.9 kB / 0.6556 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.6007, allocations: 1.841 MB / 0.6574 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.6007, allocations: 7.938 kB / 0.6575 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.6009, allocations: 44 kB / 0.6575 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.601, allocations: 93.95 kB / 0.6576 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.6036, allocations: 1.694 MB / 0.6592 GB, free: 7.648 MB / 494.1 MB 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.009827/0.6135, allocations: 6.954 MB / 0.666 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.6149, allocations: 0.885 MB / 0.6669 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006648/0.6156, allocations: 454.2 kB / 0.6673 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.6157, allocations: 101.7 kB / 0.6674 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/0.6158, allocations: 55.06 kB / 0.6675 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/0.6158, allocations: 0 / 0.6675 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72): time 0.01074/0.6265, allocations: 4.162 MB / 0.6715 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.6266, allocations: 115.5 kB / 0.6717 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.6281, allocations: 1.101 MB / 0.6727 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.6282, allocations: 45.7 kB / 0.6728 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.6286, allocations: 0.5184 MB / 0.6733 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.6288, allocations: 272.3 kB / 0.6735 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.629, allocations: 89.61 kB / 0.6736 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6291, allocations: 349.9 kB / 0.674 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.6301, allocations: 0.5797 MB / 0.6745 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.6312, allocations: 0.876 MB / 0.6754 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.6333, allocations: 1.443 MB / 0.6768 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.6333, allocations: 8 kB / 0.6768 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003306/0.6366, allocations: 1.996 MB / 0.6787 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.6367, allocations: 15.94 kB / 0.6788 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6367, allocations: 8.781 kB / 0.6788 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005192/0.6419, allocations: 1.421 MB / 0.6802 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.6426, allocations: 143.7 kB / 0.6803 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.6455, allocations: 1.928 MB / 0.6822 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.6467, allocations: 115.8 kB / 0.6823 GB, free: 15.12 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.6469, allocations: 67.98 kB / 0.6823 GB, free: 15.05 MB / 0.5138 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.0007588/0.6476, allocations: 394.2 kB / 0.6827 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.6479, allocations: 118.7 kB / 0.6828 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.6507, allocations: 1.506 MB / 0.6843 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.6507, allocations: 8 kB / 0.6843 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.6507, allocations: 0 / 0.6843 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6507, allocations: 3.984 kB / 0.6843 GB, free: 13.01 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.655, allocations: 2.692 MB / 0.6869 GB, free: 10.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.655, allocations: 4 kB / 0.687 GB, free: 10.25 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/0.6569, allocations: 327.6 kB / 0.6873 GB, free: 9.93 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.6571, allocations: 68.78 kB / 0.6873 GB, free: 9.859 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.68e-05/0.6572, allocations: 39.97 kB / 0.6874 GB, free: 9.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.6598, allocations: 2.832 MB / 0.6901 GB, free: 6.73 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.6598, allocations: 4.031 kB / 0.6901 GB, free: 6.727 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.6629, allocations: 1.899 MB / 0.692 GB, free: 4.801 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/0.6635, allocations: 355.5 kB / 0.6923 GB, free: 4.434 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.6637, allocations: 23.98 kB / 0.6924 GB, free: 4.41 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.6647, allocations: 79.92 kB / 0.6924 GB, free: 4.332 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.6649, allocations: 64.5 kB / 0.6925 GB, free: 4.27 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.665, allocations: 63.95 kB / 0.6926 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001056/0.6661, allocations: 0.797 MB / 0.6933 GB, free: 3.398 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6661, allocations: 4 kB / 0.6933 GB, free: 3.395 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.001448/0.6676, allocations: 491.9 kB / 0.6938 GB, free: 2.914 MB / 0.5138 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.002078/0.6697, allocations: 0.6811 MB / 0.6945 GB, free: 2.227 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.002672/0.6723, allocations: 1.474 MB / 0.6959 GB, free: 0.7578 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.6724, allocations: 0.6562 kB / 0.6959 GB, free: 0.7539 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.6741, allocations: 0.8659 MB / 0.6968 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/0.6776, allocations: 0.7316 MB / 0.6975 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.6833, allocations: 3.466 MB / 0.7009 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008635/0.6842, allocations: 1.18 MB / 0.702 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001709/0.6859, allocations: 497.4 kB / 0.7025 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.6863, allocations: 111.4 kB / 0.7026 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.6863, allocations: 0 / 0.7026 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of Templates: time 0.2859/0.9722, allocations: 36.82 MB / 0.7385 GB, free: 192.4 MB / 0.5294 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