Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001403/0.001403, allocations: 191 kB / 19.29 MB, free: 3.715 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.36/1.36, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.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.001222/0.001222, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07889, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.314/0.3929, allocations: 175.6 MB / 0.4926 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.3975, allocations: 3.836 MB / 0.4963 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.3977, allocations: 4 kB / 0.4963 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.3984, allocations: 230.7 kB / 0.4965 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006909/0.3991, allocations: 362.1 kB / 0.4969 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.4005, allocations: 0.5375 MB / 0.4974 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.4017, allocations: 1.103 MB / 0.4985 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.4019, allocations: 101.2 kB / 0.4986 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.4044, allocations: 1.259 MB / 0.4998 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.4049, allocations: 334.8 kB / 0.5001 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.405, allocations: 44 kB / 0.5002 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009497/0.406, allocations: 463.1 kB / 0.5006 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.4062, allocations: 231.4 kB / 0.5008 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.4066, allocations: 322.8 kB / 0.5011 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4078, allocations: 1.075 MB / 0.5022 GB, free: 13.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4078, allocations: 4 kB / 0.5022 GB, free: 13.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4078, allocations: 0 / 0.5022 GB, free: 13.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.4078, allocations: 0 / 0.5022 GB, free: 13.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00136/0.4092, allocations: 0.8075 MB / 0.503 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4092, allocations: 8.031 kB / 0.503 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/0.4099, allocations: 126.9 kB / 0.5031 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.4105, allocations: 369.2 kB / 0.5035 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.4105, allocations: 36.92 kB / 0.5035 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.4106, allocations: 40 kB / 0.5035 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.4114, allocations: 0.5615 MB / 0.5041 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4115, allocations: 0 / 0.5041 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.08e-05/0.4115, allocations: 20 kB / 0.5041 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.4115, allocations: 8 kB / 0.5041 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.4122, allocations: 450.3 kB / 0.5045 GB, free: 10.55 MB / 414.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.003398/0.4156, allocations: 2.127 MB / 0.5066 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.4158, allocations: 154.6 kB / 0.5068 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.416, allocations: 76.84 kB / 0.5068 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.416, allocations: 4 kB / 0.5068 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.416, allocations: 34.55 kB / 0.5069 GB, free: 7.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.4161, allocations: 0 / 0.5069 GB, free: 7.965 MB / 414.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.006041/0.4221, allocations: 1.748 MB / 0.5086 GB, free: 6.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4221, allocations: 55.39 kB / 0.5086 GB, free: 6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.4227, allocations: 485.6 kB / 0.5091 GB, free: 5.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4227, allocations: 33.7 kB / 0.5091 GB, free: 5.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.423, allocations: 318.3 kB / 0.5094 GB, free: 5.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.4231, allocations: 90.77 kB / 0.5095 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4232, allocations: 122.2 kB / 0.5096 GB, free: 4.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4233, allocations: 354.8 kB / 0.51 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.4236, allocations: 133.2 kB / 0.5101 GB, free: 4.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.4239, allocations: 448.5 kB / 0.5105 GB, free: 3.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.4246, allocations: 0.6013 MB / 0.5111 GB, free: 3.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4246, allocations: 4 kB / 0.5111 GB, free: 3.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009604/0.4256, allocations: 0.6396 MB / 0.5117 GB, free: 2.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4256, allocations: 8 kB / 0.5117 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.4257, allocations: 12 kB / 0.5118 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.4259, allocations: 57.69 kB / 0.5118 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.4264, allocations: 139.8 kB / 0.5119 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.4277, allocations: 1.943 MB / 0.5138 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.4281, allocations: 24 kB / 0.5139 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.4282, allocations: 36 kB / 0.5139 GB, free: 96 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.4284, allocations: 209.6 kB / 0.5141 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/0.4285, allocations: 51.45 kB / 0.5141 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.4291, allocations: 286.9 kB / 0.5144 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4291, allocations: 4 kB / 0.5144 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4291, allocations: 0 / 0.5144 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005034/0.4296, allocations: 0.5358 MB / 0.5149 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/0.4306, allocations: 0.6942 MB / 0.5156 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4306, allocations: 3.938 kB / 0.5156 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.4309, allocations: 51.95 kB / 0.5157 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.431, allocations: 20.84 kB / 0.5157 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.431, allocations: 12 kB / 0.5157 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009472/0.432, allocations: 1.386 MB / 0.5171 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.432, allocations: 7.875 kB / 0.5171 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.4326, allocations: 423.7 kB / 0.5175 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4327, allocations: 116.6 kB / 0.5176 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.4328, allocations: 7.938 kB / 0.5176 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.4331, allocations: 8 kB / 0.5176 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.4331, allocations: 23.95 kB / 0.5176 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.4331, allocations: 19.98 kB / 0.5176 GB, free: 11.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003327/0.4335, allocations: 327 kB / 0.518 GB, free: 11.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4335, allocations: 0 / 0.518 GB, free: 11.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007496/0.4342, allocations: 219.9 kB / 0.5182 GB, free: 11.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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): 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.001297/0.4356, allocations: 448.1 kB / 0.5186 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007547/0.4363, allocations: 464.2 kB / 0.519 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4363, allocations: 0 / 0.519 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.4366, allocations: 203.2 kB / 0.5192 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4376, allocations: 226.2 kB / 0.5194 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.4391, allocations: 0.8738 MB / 0.5203 GB, free: 9.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.4396, allocations: 0.8234 MB / 0.5211 GB, free: 8.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.44, allocations: 133.3 kB / 0.5212 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4401, allocations: 51.42 kB / 0.5213 GB, free: 8.094 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4401, allocations: 0 / 0.5213 GB, free: 8.094 MB / 430.1 MB Notification: Performance of Templates: time 0.01928/0.4594, allocations: 12.3 MB / 0.5333 GB, free: 11.76 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches