Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001182/0.001182, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.518/1.518, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2173/0.2173, allocations: 43.53 MB / 314.1 MB, free: 464 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.001414/0.001414, allocations: 59.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5612/0.7065, allocations: 183.2 MB / 0.6668 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.7166, allocations: 6.975 MB / 0.6736 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008531/0.7175, allocations: 19.88 kB / 0.6737 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.7188, allocations: 425.6 kB / 0.6741 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005574/0.7245, allocations: 2.004 MB / 0.676 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.7293, allocations: 1.676 MB / 0.6777 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.7321, allocations: 2.107 MB / 0.6797 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007763/0.7329, allocations: 0.5392 MB / 0.6802 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.7369, allocations: 1.888 MB / 0.6821 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.7393, allocations: 1.46 MB / 0.6835 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.7394, allocations: 76 kB / 0.6836 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.7427, allocations: 1.567 MB / 0.6851 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003925/0.7431, allocations: 450.9 kB / 0.6856 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006428/0.7437, allocations: 0.5485 MB / 0.6861 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003621/0.7474, allocations: 2.204 MB / 0.6882 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7474, allocations: 0 / 0.6882 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7474, allocations: 0 / 0.6882 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.7474, allocations: 0 / 0.6882 GB, free: 13.41 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.0028/0.7502, allocations: 1.436 MB / 0.6896 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.7503, allocations: 19.84 kB / 0.6897 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.7517, allocations: 291.1 kB / 0.6899 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.7531, allocations: 0.6408 MB / 0.6906 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.7532, allocations: 116.6 kB / 0.6907 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.7534, allocations: 63.98 kB / 0.6907 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.7554, allocations: 1.267 MB / 0.692 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.7555, allocations: 3.938 kB / 0.692 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.7556, allocations: 35.94 kB / 0.692 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.7558, allocations: 81.2 kB / 0.6921 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.7577, allocations: 1.051 MB / 0.6931 GB, free: 8.242 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.007248/0.765, allocations: 4.988 MB / 0.698 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.7655, allocations: 309.2 kB / 0.6983 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.7658, allocations: 140.8 kB / 0.6984 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.766, allocations: 139 kB / 0.6985 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.766, allocations: 38.56 kB / 0.6986 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/0.766, allocations: 0 / 0.6986 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.00645/0.7725, allocations: 1.824 MB / 0.7004 GB, free: 396 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.7726, allocations: 132.5 kB / 0.7005 GB, free: 232 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.7738, allocations: 0.939 MB / 0.7014 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.7738, allocations: 33.7 kB / 0.7014 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.7743, allocations: 0.5808 MB / 0.702 GB, free: 14.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.7744, allocations: 146.9 kB / 0.7021 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.7747, allocations: 214.8 kB / 0.7024 GB, free: 14.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003446/0.775, allocations: 402.7 kB / 0.7027 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.7755, allocations: 279.2 kB / 0.703 GB, free: 13.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.7765, allocations: 0.86 MB / 0.7038 GB, free: 12.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.7779, allocations: 1.173 MB / 0.705 GB, free: 11.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.7779, allocations: 8 kB / 0.705 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001855/0.7797, allocations: 1.243 MB / 0.7062 GB, free: 9.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.7798, allocations: 12 kB / 0.7062 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.7798, allocations: 20 kB / 0.7062 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.7811, allocations: 290.4 kB / 0.7065 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.7816, allocations: 203.7 kB / 0.7067 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.7829, allocations: 0.919 MB / 0.7076 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.7837, allocations: 40 kB / 0.7076 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/0.7838, allocations: 75.97 kB / 0.7077 GB, free: 8.176 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000477/0.7843, allocations: 353.2 kB / 0.7081 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.7845, allocations: 103.3 kB / 0.7082 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.7854, allocations: 473.5 kB / 0.7086 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.7855, allocations: 4 kB / 0.7086 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.7855, allocations: 8 kB / 0.7086 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.7855, allocations: 7.984 kB / 0.7086 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.7872, allocations: 1.125 MB / 0.7097 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7872, allocations: 0 / 0.7097 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/0.7882, allocations: 183.8 kB / 0.7099 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.974e-05/0.7883, allocations: 28.78 kB / 0.7099 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.7883, allocations: 4 kB / 0.7099 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.7906, allocations: 2.877 MB / 0.7127 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7906, allocations: 0 / 0.7127 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.7916, allocations: 0.7046 MB / 0.7134 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.7919, allocations: 200.5 kB / 0.7136 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.7921, allocations: 8 kB / 0.7136 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.7925, allocations: 19.98 kB / 0.7136 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.7926, allocations: 23.91 kB / 0.7137 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.7926, allocations: 19.98 kB / 0.7137 GB, free: 1.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008153/0.7934, allocations: 0.6243 MB / 0.7143 GB, free: 1.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7934, allocations: 4.062 kB / 0.7143 GB, free: 1.016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001466/0.7949, allocations: 431.3 kB / 0.7147 GB, free: 0.5938 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.00195/0.7969, allocations: 0.7502 MB / 0.7154 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.7982, allocations: 0.6741 MB / 0.7161 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7982, allocations: 0 / 0.7161 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.7991, allocations: 370.9 kB / 0.7165 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.8009, allocations: 434.4 kB / 0.7169 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.8033, allocations: 1.632 MB / 0.7185 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.804, allocations: 1.032 MB / 0.7195 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008138/0.8048, allocations: 316.7 kB / 0.7198 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.805, allocations: 75.42 kB / 0.7198 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.724e-06/0.805, allocations: 0 / 0.7198 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.03468/0.8397, allocations: 22.9 MB / 0.7422 GB, free: 4.328 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches