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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001081/0.00108, allocations: 192 kB / 18.51 MB, free: 4.508 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.426/1.426, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001495/0.001495, allocations: 59.91 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.111, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4151/0.5262, allocations: 175.6 MB / 0.4912 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004538/0.5308, allocations: 3.84 MB / 0.495 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.531, allocations: 4 kB / 0.495 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.5319, allocations: 222.7 kB / 0.4952 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006394/0.5325, allocations: 370 kB / 0.4956 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.5339, allocations: 0.5381 MB / 0.4961 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.5352, allocations: 1.107 MB / 0.4972 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.5355, allocations: 99 kB / 0.4973 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.539, allocations: 1.257 MB / 0.4985 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.5395, allocations: 326.8 kB / 0.4988 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.5396, allocations: 44 kB / 0.4988 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.5407, allocations: 0.5381 MB / 0.4994 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.5409, allocations: 235.4 kB / 0.4996 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.5413, allocations: 322.8 kB / 0.4999 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.5428, allocations: 1.095 MB / 0.501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5428, allocations: 0 / 0.501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5428, allocations: 0 / 0.501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.5428, allocations: 0 / 0.501 GB, free: 13.38 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.001503/0.5443, allocations: 0.8076 MB / 0.5018 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5444, allocations: 11.89 kB / 0.5018 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.5445, allocations: 78.53 kB / 0.5018 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.5451, allocations: 123.4 kB / 0.502 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.5458, allocations: 373.2 kB / 0.5023 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.5458, allocations: 29 kB / 0.5023 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.5459, allocations: 43.94 kB / 0.5024 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.5467, allocations: 0.5576 MB / 0.5029 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5468, allocations: 0 / 0.5029 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.5468, allocations: 20 kB / 0.5029 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.5469, allocations: 15.88 kB / 0.503 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.5475, allocations: 446.3 kB / 0.5034 GB, free: 10.77 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.003515/0.551, allocations: 2.128 MB / 0.5055 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.5513, allocations: 151.9 kB / 0.5056 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.5514, allocations: 76.84 kB / 0.5057 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5515, allocations: 4.234 kB / 0.5057 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.5515, allocations: 42.55 kB / 0.5057 GB, free: 8.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.5515, allocations: 0 / 0.5057 GB, free: 8.184 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.006271/0.5578, allocations: 1.738 MB / 0.5074 GB, free: 6.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.5579, allocations: 59.34 kB / 0.5075 GB, free: 6.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.5584, allocations: 481.6 kB / 0.5079 GB, free: 5.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.5584, allocations: 33.7 kB / 0.508 GB, free: 5.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.5586, allocations: 326.3 kB / 0.5083 GB, free: 5.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.5587, allocations: 86.83 kB / 0.5084 GB, free: 5.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.5589, allocations: 122.1 kB / 0.5085 GB, free: 5.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.559, allocations: 354.8 kB / 0.5088 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.5593, allocations: 133.2 kB / 0.5089 GB, free: 4.688 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.5597, allocations: 436.5 kB / 0.5094 GB, free: 4.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.5604, allocations: 0.6129 MB / 0.51 GB, free: 3.359 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5604, allocations: 0 / 0.51 GB, free: 3.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009902/0.5614, allocations: 0.6397 MB / 0.5106 GB, free: 2.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.5614, allocations: 11.12 kB / 0.5106 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.5615, allocations: 12.06 kB / 0.5106 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.5617, allocations: 57.7 kB / 0.5107 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.5622, allocations: 144.6 kB / 0.5108 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.5639, allocations: 1.947 MB / 0.5127 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.5643, allocations: 24 kB / 0.5127 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5644, allocations: 43.92 kB / 0.5128 GB, free: 316 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.0002263/0.5646, allocations: 209.6 kB / 0.513 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.5647, allocations: 43.53 kB / 0.513 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.5652, allocations: 290.9 kB / 0.5133 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5652, allocations: 4 kB / 0.5133 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5653, allocations: 0 / 0.5133 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005075/0.5658, allocations: 0.5358 MB / 0.5138 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.5668, allocations: 0.6941 MB / 0.5145 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5668, allocations: 0 / 0.5145 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.5671, allocations: 47.97 kB / 0.5145 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.362e-05/0.5672, allocations: 24.78 kB / 0.5146 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.5672, allocations: 11.98 kB / 0.5146 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.5682, allocations: 1.379 MB / 0.5159 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.5683, allocations: 3.938 kB / 0.5159 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.5688, allocations: 427.5 kB / 0.5163 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5689, allocations: 112.6 kB / 0.5164 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.569, allocations: 15.92 kB / 0.5165 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.5693, allocations: 12.12 kB / 0.5165 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.5693, allocations: 11.98 kB / 0.5165 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.5693, allocations: 15.98 kB / 0.5165 GB, free: 12.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.5697, allocations: 327.1 kB / 0.5168 GB, free: 11.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5697, allocations: 0 / 0.5168 GB, free: 11.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008194/0.5705, allocations: 215.9 kB / 0.517 GB, free: 11.61 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.002287/0.5728, allocations: 1.33 MB / 0.5183 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008406/0.5737, allocations: 479.7 kB / 0.5188 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5737, allocations: 0 / 0.5188 GB, free: 9.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.5739, allocations: 210.5 kB / 0.519 GB, free: 9.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5751, allocations: 220.4 kB / 0.5192 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/0.5816, allocations: 4.673 MB / 0.5237 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.582, allocations: 0.8194 MB / 0.5245 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000529/0.5825, allocations: 136.6 kB / 0.5247 GB, free: 3.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.5828, allocations: 151.4 kB / 0.5248 GB, free: 3.156 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5828, allocations: 0 / 0.5248 GB, free: 3.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04795/0.6307, allocations: 16.7 MB / 0.5411 GB, free: 2.363 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.19, allocations: 19.98 kB / 0.5411 GB, free: 2.344 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > 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