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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001486/0.001486, allocations: 104.2 kB / 17.09 MB, free: 5.777 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.00179/0.00179, allocations: 194.2 kB / 18.02 MB, free: 4.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.205/0.205, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 67.91 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1284, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.527/0.6555, allocations: 183.1 MB / 0.6674 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009485/0.665, allocations: 6.97 MB / 0.6742 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.6657, allocations: 19.88 kB / 0.6742 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.6669, allocations: 445.6 kB / 0.6746 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.6724, allocations: 2.05 MB / 0.6766 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.677, allocations: 1.704 MB / 0.6783 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002851/0.6799, allocations: 2.243 MB / 0.6805 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.6811, allocations: 0.7582 MB / 0.6812 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.6857, allocations: 1.951 MB / 0.6831 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003433/0.6892, allocations: 1.585 MB / 0.6847 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004444/0.6896, allocations: 100 kB / 0.6848 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/0.6943, allocations: 1.591 MB / 0.6863 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.6954, allocations: 0.6897 MB / 0.687 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.6975, allocations: 0.7587 MB / 0.6877 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005667/0.7032, allocations: 2.742 MB / 0.6904 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.7032, allocations: 4 kB / 0.6904 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7032, allocations: 0 / 0.6904 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.526e-05/0.7033, allocations: 0 / 0.6904 GB, free: 11.86 MB / 0.5294 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.00646/0.7098, allocations: 1.717 MB / 0.6921 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.7098, allocations: 11.89 kB / 0.6921 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.7117, allocations: 311 kB / 0.6924 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.7136, allocations: 0.7771 MB / 0.6932 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.7138, allocations: 149.3 kB / 0.6933 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.7141, allocations: 111.9 kB / 0.6934 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/0.7179, allocations: 1.829 MB / 0.6952 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.7179, allocations: 11.94 kB / 0.6952 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.7181, allocations: 47.92 kB / 0.6952 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.7183, allocations: 93.95 kB / 0.6953 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.7215, allocations: 1.698 MB / 0.697 GB, free: 4.941 MB / 0.5294 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.01104/0.7326, allocations: 6.916 MB / 0.7037 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.7341, allocations: 0.8731 MB / 0.7046 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.7349, allocations: 462.1 kB / 0.705 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.7351, allocations: 143.7 kB / 0.7052 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.7352, allocations: 51.12 kB / 0.7052 GB, free: 12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.7352, allocations: 0 / 0.7052 GB, free: 12 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.01166/0.7468, allocations: 4.128 MB / 0.7093 GB, free: 7.781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.7469, allocations: 107.5 kB / 0.7094 GB, free: 7.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.7488, allocations: 1.109 MB / 0.7104 GB, free: 6.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.7489, allocations: 45.7 kB / 0.7105 GB, free: 6.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.7494, allocations: 0.5274 MB / 0.711 GB, free: 5.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.7496, allocations: 281.7 kB / 0.7113 GB, free: 5.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.75, allocations: 206.5 kB / 0.7115 GB, free: 5.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7502, allocations: 357.9 kB / 0.7118 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009678/0.7512, allocations: 0.5836 MB / 0.7124 GB, free: 4.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.7524, allocations: 0.876 MB / 0.7132 GB, free: 3.516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.7546, allocations: 1.439 MB / 0.7146 GB, free: 1.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.7546, allocations: 5.188 kB / 0.7146 GB, free: 1.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003381/0.758, allocations: 2.008 MB / 0.7166 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.758, allocations: 10.66 kB / 0.7166 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.758, allocations: 8 kB / 0.7166 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004684/0.7627, allocations: 1.316 MB / 0.7179 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.7634, allocations: 143.8 kB / 0.718 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.7663, allocations: 1.928 MB / 0.7199 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.7673, allocations: 43.97 kB / 0.72 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.7674, allocations: 63.98 kB / 0.72 GB, free: 12.41 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.0007135/0.7681, allocations: 401.4 kB / 0.7204 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.7685, allocations: 119.3 kB / 0.7205 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.771, allocations: 1.402 MB / 0.7219 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.7711, allocations: 7.984 kB / 0.7219 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7711, allocations: 0 / 0.7219 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/0.7718, allocations: 332.2 kB / 0.7222 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/0.772, allocations: 24 kB / 0.7222 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/0.773, allocations: 52.12 kB / 0.7223 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.7732, allocations: 56.58 kB / 0.7223 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003449/0.7767, allocations: 1.486 MB / 0.7238 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003026/0.7797, allocations: 1.994 MB / 0.7257 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008665/0.7806, allocations: 0.5789 MB / 0.7263 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001294/0.7819, allocations: 0.7931 MB / 0.7271 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/0.7819, allocations: 0 / 0.7271 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005226/0.7871, allocations: 1.829 MB / 0.7289 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005977/0.7931, allocations: 3.368 MB / 0.7322 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.2802/1.073, allocations: 40.93 MB / 0.7721 GB, free: 218.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches