Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 73.09 kB / 19.93 MB, free: 1.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 170.5 kB / 23.22 MB, free: 4.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2418/0.2418, allocations: 32.38 MB / 269.6 MB, free: 2.727 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 407.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.605e-05/3.821e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5774/0.5774, allocations: 158.6 MB / 0.5527 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.5889, allocations: 6.395 MB / 0.559 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008912/0.5898, allocations: 27.75 kB / 0.559 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.5913, allocations: 409.5 kB / 0.5594 GB, free: 1.055 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006177/0.5975, allocations: 2.098 MB / 0.5614 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005431/0.6029, allocations: 1.789 MB / 0.5632 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003607/0.6065, allocations: 2.278 MB / 0.5654 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.6078, allocations: 0.5981 MB / 0.566 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005389/0.6132, allocations: 2.239 MB / 0.5682 GB, free: 8.023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003538/0.6167, allocations: 1.574 MB / 0.5697 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.617, allocations: 100 kB / 0.5698 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.6209, allocations: 1.403 MB / 0.5712 GB, free: 4.941 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.6219, allocations: 0.721 MB / 0.5719 GB, free: 4.219 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.6231, allocations: 0.5693 MB / 0.5724 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.6287, allocations: 2.953 MB / 0.5753 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6287, allocations: 4 kB / 0.5753 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6287, allocations: 0 / 0.5753 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.875e-05/0.6287, allocations: 0 / 0.5753 GB, free: 0.6836 MB / 462.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.004355/0.6331, allocations: 1.626 MB / 0.5769 GB, free: 15.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6331, allocations: 8.031 kB / 0.5769 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.6348, allocations: 322.9 kB / 0.5772 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.6364, allocations: 0.7154 MB / 0.5779 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.6366, allocations: 196.8 kB / 0.5781 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.6369, allocations: 104 kB / 0.5782 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/0.6406, allocations: 2.573 MB / 0.5807 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.6407, allocations: 4.875 kB / 0.5807 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.6408, allocations: 44 kB / 0.5808 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.641, allocations: 97.89 kB / 0.5809 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/0.6439, allocations: 1.694 MB / 0.5825 GB, free: 8.977 MB / 478.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.01067/0.6546, allocations: 4.825 MB / 0.5872 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.6562, allocations: 0.8548 MB / 0.5881 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/0.657, allocations: 434 kB / 0.5885 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.6572, allocations: 70.39 kB / 0.5886 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.759e-05/0.6572, allocations: 51.06 kB / 0.5886 GB, free: 2.645 MB / 478.1 MB Notification: Performance of pre-optimization done (n=60): time 3.767e-06/0.6572, allocations: 0 / 0.5886 GB, free: 2.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=72): time 0.01275/0.67, allocations: 4.013 MB / 0.5925 GB, free: 14.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.6701, allocations: 115.5 kB / 0.5926 GB, free: 14.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.6713, allocations: 0.699 MB / 0.5933 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.6714, allocations: 45.7 kB / 0.5934 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/0.6719, allocations: 0.5544 MB / 0.5939 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.6723, allocations: 273.7 kB / 0.5942 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.6727, allocations: 202.6 kB / 0.5944 GB, free: 12.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.6729, allocations: 386.8 kB / 0.5947 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.674, allocations: 0.5892 MB / 0.5953 GB, free: 11.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.6754, allocations: 0.9183 MB / 0.5962 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.6778, allocations: 1.451 MB / 0.5976 GB, free: 9.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.6778, allocations: 0 / 0.5976 GB, free: 9.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003787/0.6816, allocations: 1.954 MB / 0.5995 GB, free: 7.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.6816, allocations: 10.19 kB / 0.5995 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.6816, allocations: 8 kB / 0.5995 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005236/0.6869, allocations: 1.324 MB / 0.6008 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.6876, allocations: 139.8 kB / 0.601 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.691, allocations: 1.92 MB / 0.6028 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.692, allocations: 47.91 kB / 0.6029 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.6921, allocations: 67.98 kB / 0.6029 GB, free: 3.539 MB / 494.1 MB 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.000905/0.693, allocations: 399.6 kB / 0.6033 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.6933, allocations: 91.61 kB / 0.6034 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.696, allocations: 1.365 MB / 0.6047 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.696, allocations: 11.88 kB / 0.6048 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.696, allocations: 5.062 kB / 0.6048 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.696, allocations: 3.984 kB / 0.6048 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/0.7006, allocations: 2.36 MB / 0.6071 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.7006, allocations: 0 / 0.6071 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/0.7025, allocations: 327.6 kB / 0.6074 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.7027, allocations: 68.78 kB / 0.6075 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.7028, allocations: 39.97 kB / 0.6075 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.7056, allocations: 2.779 MB / 0.6102 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7056, allocations: 0 / 0.6102 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/0.709, allocations: 1.873 MB / 0.612 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000655/0.7096, allocations: 219.4 kB / 0.6122 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.7098, allocations: 31.55 kB / 0.6123 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/0.7107, allocations: 56.05 kB / 0.6123 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.7109, allocations: 64.53 kB / 0.6124 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.711, allocations: 59.95 kB / 0.6124 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007195/0.7117, allocations: 0.4912 MB / 0.6129 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7117, allocations: 0 / 0.6129 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001883/0.7136, allocations: 0.511 MB / 0.6134 GB, free: 8.52 MB / 0.4981 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.002366/0.716, allocations: 0.8124 MB / 0.6142 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.7191, allocations: 1.423 MB / 0.6156 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.7191, allocations: 0.6562 kB / 0.6156 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/0.721, allocations: 0.8383 MB / 0.6164 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.7234, allocations: 462.9 kB / 0.6169 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.7289, allocations: 2.659 MB / 0.6195 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.7296, allocations: 0.5781 MB / 0.62 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001286/0.7309, allocations: 354.7 kB / 0.6204 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.7312, allocations: 88.48 kB / 0.6204 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.7312, allocations: 0 / 0.6204 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.0561/0.7873, allocations: 30.86 MB / 0.6506 GB, free: 2.359 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.008214112371206]