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.001318/0.001318, allocations: 112.9 kB / 18.45 MB, free: 4.625 MB / 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.001413/0.001413, allocations: 208.3 kB / 21.41 MB, free: 1.672 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.549/1.549, allocations: 207.6 MB / 231.8 MB, free: 4.211 MB / 174.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.001977/0.001977, allocations: 59.92 kB / 342.3 MB, free: 9.973 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09973, allocations: 49.12 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4424/0.5422, allocations: 176.2 MB / 0.5543 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.5479, allocations: 3.86 MB / 0.5581 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.5481, allocations: 7.938 kB / 0.5581 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008594/0.549, allocations: 234.7 kB / 0.5583 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007948/0.5498, allocations: 370 kB / 0.5587 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.5514, allocations: 0.5553 MB / 0.5592 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.5528, allocations: 1.107 MB / 0.5603 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.553, allocations: 72.7 kB / 0.5604 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.556, allocations: 1.287 MB / 0.5616 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.5565, allocations: 346.8 kB / 0.562 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-05/0.5566, allocations: 47.94 kB / 0.562 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.5576, allocations: 483 kB / 0.5625 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.5578, allocations: 235.3 kB / 0.5627 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.5582, allocations: 310.9 kB / 0.563 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.5595, allocations: 1.087 MB / 0.5641 GB, free: 8.461 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5595, allocations: 0 / 0.5641 GB, free: 8.461 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5595, allocations: 0 / 0.5641 GB, free: 8.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.5595, allocations: 0 / 0.5641 GB, free: 8.461 MB / 446.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.001538/0.5611, allocations: 0.8179 MB / 0.5649 GB, free: 7.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.5611, allocations: 11.89 kB / 0.5649 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.5613, allocations: 82.53 kB / 0.5649 GB, free: 7.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006442/0.5619, allocations: 123.6 kB / 0.5651 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.5625, allocations: 385.2 kB / 0.5654 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.5625, allocations: 25 kB / 0.5655 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.5626, allocations: 40 kB / 0.5655 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009183/0.5635, allocations: 0.5615 MB / 0.566 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5635, allocations: 0 / 0.566 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/0.5636, allocations: 20 kB / 0.5661 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.5636, allocations: 8 kB / 0.5661 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.5642, allocations: 446.3 kB / 0.5665 GB, free: 5.848 MB / 446.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.003588/0.5678, allocations: 2.12 MB / 0.5686 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.5681, allocations: 146.6 kB / 0.5687 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.5682, allocations: 72.83 kB / 0.5688 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.5683, allocations: 8.234 kB / 0.5688 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.5683, allocations: 30.56 kB / 0.5688 GB, free: 3.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.5683, allocations: 0 / 0.5688 GB, free: 3.281 MB / 446.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.006485/0.5748, allocations: 1.769 MB / 0.5705 GB, free: 1.363 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.5748, allocations: 59.34 kB / 0.5706 GB, free: 1.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/0.5754, allocations: 485.7 kB / 0.5711 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.5755, allocations: 33.7 kB / 0.5711 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.5757, allocations: 327.3 kB / 0.5714 GB, free: 452 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.5758, allocations: 91.27 kB / 0.5715 GB, free: 360 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.576, allocations: 122.2 kB / 0.5716 GB, free: 232 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5762, allocations: 354.8 kB / 0.5719 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.5764, allocations: 133.2 kB / 0.5721 GB, free: 15.74 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.5769, allocations: 444.5 kB / 0.5725 GB, free: 15.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/0.5776, allocations: 0.6012 MB / 0.5731 GB, free: 14.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5776, allocations: 4 kB / 0.5731 GB, free: 14.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001014/0.5786, allocations: 0.644 MB / 0.5737 GB, free: 13.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.5787, allocations: 12 kB / 0.5737 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5787, allocations: 8 kB / 0.5737 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.5789, allocations: 57.7 kB / 0.5738 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.5794, allocations: 143.7 kB / 0.5739 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.581, allocations: 1.936 MB / 0.5758 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.5814, allocations: 20 kB / 0.5758 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.5814, allocations: 43.92 kB / 0.5759 GB, free: 11.36 MB / 462.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.0002497/0.5817, allocations: 213.5 kB / 0.5761 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.5818, allocations: 47.72 kB / 0.5761 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.5823, allocations: 287 kB / 0.5764 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5823, allocations: 1.125 kB / 0.5764 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.5823, allocations: 4 kB / 0.5764 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005571/0.5829, allocations: 0.5316 MB / 0.5769 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5839, allocations: 0.6986 MB / 0.5776 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5839, allocations: 0 / 0.5776 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.5842, allocations: 47.97 kB / 0.5777 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.457e-05/0.5843, allocations: 24.78 kB / 0.5777 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.5843, allocations: 11.98 kB / 0.5777 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.5853, allocations: 1.379 MB / 0.579 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5853, allocations: 7.875 kB / 0.579 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.5859, allocations: 423.9 kB / 0.5794 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.586, allocations: 112.9 kB / 0.5796 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.5861, allocations: 11.94 kB / 0.5796 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.5863, allocations: 11.98 kB / 0.5796 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.5864, allocations: 20.11 kB / 0.5796 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.5864, allocations: 11.98 kB / 0.5796 GB, free: 7.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003717/0.5868, allocations: 327.1 kB / 0.5799 GB, free: 6.879 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5868, allocations: 0 / 0.5799 GB, free: 6.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008374/0.5876, allocations: 215.7 kB / 0.5801 GB, free: 6.668 MB / 462.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.002055/0.5897, allocations: 1.325 MB / 0.5814 GB, free: 5.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.5906, allocations: 457.3 kB / 0.5819 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5906, allocations: 0 / 0.5819 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.5908, allocations: 202.5 kB / 0.5821 GB, free: 4.645 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.592, allocations: 213.3 kB / 0.5823 GB, free: 4.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.5981, allocations: 4.586 MB / 0.5867 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.5986, allocations: 0.8195 MB / 0.5875 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004556/0.5991, allocations: 140.6 kB / 0.5877 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.5993, allocations: 147.4 kB / 0.5878 GB, free: 14.33 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5993, allocations: 0 / 0.5878 GB, free: 14.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05268/0.652, allocations: 17.42 MB / 0.6048 GB, free: 12.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.03, allocations: 8 kB / 0.6048 GB, free: 12.8 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.745814180001616]