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.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.002049/0.002049, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002391/0.002391, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.527/1.527, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> 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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 58.22 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3089, allocations: 49.16 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1946/0.5035, allocations: 152 MB / 0.5355 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004666/0.5082, allocations: 3.51 MB / 0.5389 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.5083, allocations: 7.938 kB / 0.539 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.5091, allocations: 218.8 kB / 0.5392 GB, free: 6.859 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006778/0.5098, allocations: 370.1 kB / 0.5395 GB, free: 6.496 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.5113, allocations: 0.5607 MB / 0.5401 GB, free: 5.938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.5125, allocations: 1.122 MB / 0.5412 GB, free: 4.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.5127, allocations: 84.86 kB / 0.5412 GB, free: 4.727 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.5155, allocations: 1.267 MB / 0.5425 GB, free: 3.457 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004956/0.516, allocations: 334.8 kB / 0.5428 GB, free: 3.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.5161, allocations: 44 kB / 0.5428 GB, free: 3.086 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.5171, allocations: 419 kB / 0.5432 GB, free: 2.676 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.5173, allocations: 243.4 kB / 0.5435 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.5176, allocations: 275.1 kB / 0.5437 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.5189, allocations: 1.09 MB / 0.5448 GB, free: 1.074 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5189, allocations: 0 / 0.5448 GB, free: 1.074 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5189, allocations: 0 / 0.5448 GB, free: 1.074 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.5189, allocations: 0 / 0.5448 GB, free: 1.074 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001362/0.5203, allocations: 0.7465 MB / 0.5455 GB, free: 304 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5203, allocations: 11.98 kB / 0.5455 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.5204, allocations: 78.53 kB / 0.5456 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006032/0.521, allocations: 123.6 kB / 0.5457 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.5216, allocations: 319.5 kB / 0.546 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.5217, allocations: 29 kB / 0.5461 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.5217, allocations: 36 kB / 0.5461 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.5229, allocations: 1.172 MB / 0.5472 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.523, allocations: 0 / 0.5472 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.523, allocations: 20 kB / 0.5473 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.523, allocations: 8 kB / 0.5473 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.5237, allocations: 446.3 kB / 0.5477 GB, free: 13.87 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.003326/0.527, allocations: 1.533 MB / 0.5492 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.5273, allocations: 150.4 kB / 0.5493 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.5274, allocations: 68.84 kB / 0.5494 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.5274, allocations: 7.984 kB / 0.5494 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.5275, allocations: 42.55 kB / 0.5494 GB, free: 12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.5275, allocations: 0 / 0.5494 GB, free: 12 MB / 478.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.006226/0.5337, allocations: 1.458 MB / 0.5509 GB, free: 10.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.5338, allocations: 55.41 kB / 0.5509 GB, free: 10.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.5344, allocations: 0.4975 MB / 0.5514 GB, free: 9.879 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.5344, allocations: 33.7 kB / 0.5514 GB, free: 9.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.5346, allocations: 327.3 kB / 0.5518 GB, free: 9.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.5347, allocations: 95.25 kB / 0.5518 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.5349, allocations: 126.2 kB / 0.552 GB, free: 9.293 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.535, allocations: 350.8 kB / 0.5523 GB, free: 8.941 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.5352, allocations: 133.2 kB / 0.5524 GB, free: 8.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.5357, allocations: 440.5 kB / 0.5529 GB, free: 8.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.5364, allocations: 0.6091 MB / 0.5534 GB, free: 7.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5364, allocations: 3.938 kB / 0.5534 GB, free: 7.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001001/0.5374, allocations: 0.6396 MB / 0.5541 GB, free: 6.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5374, allocations: 8 kB / 0.5541 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.5375, allocations: 12 kB / 0.5541 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.5377, allocations: 53.7 kB / 0.5541 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.5382, allocations: 143.7 kB / 0.5543 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.5398, allocations: 1.84 MB / 0.5561 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.5402, allocations: 23.98 kB / 0.5561 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.5402, allocations: 40 kB / 0.5561 GB, free: 4.566 MB / 478.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.0002543/0.5405, allocations: 209.5 kB / 0.5563 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.5406, allocations: 47.95 kB / 0.5564 GB, free: 4.305 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.5411, allocations: 290.9 kB / 0.5567 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5411, allocations: 4 kB / 0.5567 GB, free: 4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.5411, allocations: 4 kB / 0.5567 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005439/0.5417, allocations: 0.5316 MB / 0.5572 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/0.5427, allocations: 0.6198 MB / 0.5578 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5427, allocations: 0 / 0.5578 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.5429, allocations: 59.89 kB / 0.5579 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-05/0.543, allocations: 20.84 kB / 0.5579 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.543, allocations: 4 kB / 0.5579 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.5441, allocations: 1.287 MB / 0.5591 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5441, allocations: 0 / 0.5591 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.5447, allocations: 431.9 kB / 0.5595 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.473e-05/0.5448, allocations: 39.75 kB / 0.5596 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.5448, allocations: 7.938 kB / 0.5596 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.5451, allocations: 11.98 kB / 0.5596 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.5451, allocations: 15.97 kB / 0.5596 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.5452, allocations: 15.98 kB / 0.5596 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003704/0.5455, allocations: 327.3 kB / 0.5599 GB, free: 380 kB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5455, allocations: 4 kB / 0.5599 GB, free: 376 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008458/0.5464, allocations: 211.7 kB / 0.5601 GB, free: 164 kB / 478.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.2135/0.7599, allocations: 1.303 MB / 0.5614 GB, free: 163.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.7609, allocations: 456 kB / 0.5619 GB, free: 163.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7609, allocations: 1.312 kB / 0.5619 GB, free: 163.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.7612, allocations: 197.5 kB / 0.562 GB, free: 162.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.7624, allocations: 218.2 kB / 0.5623 GB, free: 162.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.7679, allocations: 4.58 MB / 0.5667 GB, free: 160.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.7681, allocations: 217.2 kB / 0.5669 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005442/0.7687, allocations: 133.4 kB / 0.5671 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.7689, allocations: 152 kB / 0.5672 GB, free: 159.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7689, allocations: 0 / 0.5672 GB, free: 159.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0531/0.822, allocations: 18.57 MB / 0.5853 GB, free: 150.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.56, allocations: 7.875 kB / 0.5853 GB, free: 150.4 MB / 478.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.280512648634613]