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.001788/0.001788, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002285/0.002285, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.393/1.393, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.001737/0.001737, allocations: 47.94 kB / 347.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2468, allocations: 49.17 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2045/0.4512, allocations: 176.4 MB / 0.5594 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.229/0.6803, allocations: 3.858 MB / 0.5631 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.6805, allocations: 7.812 kB / 0.5631 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.6813, allocations: 239.3 kB / 0.5634 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007986/0.6821, allocations: 373.4 kB / 0.5637 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.6836, allocations: 0.5445 MB / 0.5642 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.685, allocations: 1.129 MB / 0.5654 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.6852, allocations: 84.2 kB / 0.5654 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00311/0.6883, allocations: 1.296 MB / 0.5667 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.6888, allocations: 354.6 kB / 0.567 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.151e-05/0.6889, allocations: 44.31 kB / 0.5671 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.6901, allocations: 477.8 kB / 0.5675 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.6903, allocations: 237 kB / 0.5678 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.6907, allocations: 317.5 kB / 0.5681 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.692, allocations: 1.077 MB / 0.5691 GB, free: 1.707 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.692, allocations: 0 / 0.5691 GB, free: 1.707 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.692, allocations: 0 / 0.5691 GB, free: 1.707 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.692, allocations: 2.625 kB / 0.5691 GB, free: 1.707 MB / 478.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.6936, allocations: 0.7474 MB / 0.5698 GB, free: 17.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6936, allocations: 13.61 kB / 0.5699 GB, free: 17.28 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.6937, allocations: 78.67 kB / 0.5699 GB, free: 17.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006344/0.6944, allocations: 122.2 kB / 0.5701 GB, free: 17.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.695, allocations: 324.7 kB / 0.5704 GB, free: 17.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.695, allocations: 26.91 kB / 0.5704 GB, free: 17.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.6951, allocations: 38.84 kB / 0.5704 GB, free: 17.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.696, allocations: 0.5644 MB / 0.571 GB, free: 16.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.696, allocations: 0 / 0.571 GB, free: 16.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.6961, allocations: 18.34 kB / 0.571 GB, free: 16.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.6961, allocations: 11.3 kB / 0.571 GB, free: 16.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006295/0.6967, allocations: 450.5 kB / 0.5714 GB, free: 16.98 MB / 494.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.003696/0.7004, allocations: 1.95 MB / 0.5733 GB, free: 16.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.7007, allocations: 136.4 kB / 0.5735 GB, free: 16.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.7008, allocations: 79.67 kB / 0.5735 GB, free: 16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.7008, allocations: 4.672 kB / 0.5735 GB, free: 16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.7009, allocations: 33.28 kB / 0.5736 GB, free: 15.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/0.7009, allocations: 0.7188 kB / 0.5736 GB, free: 15.96 MB / 494.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.006508/0.7074, allocations: 1.462 MB / 0.575 GB, free: 15.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.7074, allocations: 59.56 kB / 0.5751 GB, free: 15.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.7081, allocations: 485.1 kB / 0.5755 GB, free: 15.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.7081, allocations: 31.77 kB / 0.5756 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.7083, allocations: 330.8 kB / 0.5759 GB, free: 15.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.7083, allocations: 89.91 kB / 0.576 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.7085, allocations: 129.8 kB / 0.5761 GB, free: 14.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.7087, allocations: 355.4 kB / 0.5764 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.7089, allocations: 135.5 kB / 0.5765 GB, free: 14.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.7094, allocations: 440.6 kB / 0.577 GB, free: 14.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.7101, allocations: 0.5987 MB / 0.5776 GB, free: 13.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7101, allocations: 4.406 kB / 0.5776 GB, free: 13.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001061/0.7111, allocations: 0.6365 MB / 0.5782 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.7112, allocations: 10.16 kB / 0.5782 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.7112, allocations: 9.969 kB / 0.5782 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.7114, allocations: 63.77 kB / 0.5783 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.7119, allocations: 145.7 kB / 0.5784 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.7135, allocations: 1.835 MB / 0.5802 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.7139, allocations: 19.09 kB / 0.5802 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.714, allocations: 35.19 kB / 0.5802 GB, free: 12.04 MB / 494.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.0002705/0.7143, allocations: 214.7 kB / 0.5804 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.7143, allocations: 50.03 kB / 0.5805 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.7149, allocations: 299.1 kB / 0.5808 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7149, allocations: 7.312 kB / 0.5808 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.7149, allocations: 0 / 0.5808 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004999/0.7154, allocations: 0.5244 MB / 0.5813 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/0.7163, allocations: 0.6662 MB / 0.582 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.7163, allocations: 0 / 0.582 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.7166, allocations: 55.14 kB / 0.582 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.609e-05/0.7167, allocations: 24.95 kB / 0.582 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.7167, allocations: 5.969 kB / 0.582 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009953/0.7177, allocations: 1.277 MB / 0.5833 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7177, allocations: 1 kB / 0.5833 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.7182, allocations: 434.4 kB / 0.5837 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.7183, allocations: 40.97 kB / 0.5837 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.7184, allocations: 7.156 kB / 0.5837 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.7186, allocations: 7.281 kB / 0.5837 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.7187, allocations: 17.38 kB / 0.5838 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.7187, allocations: 17.09 kB / 0.5838 GB, free: 9.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.719, allocations: 327.5 kB / 0.5841 GB, free: 9.605 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.719, allocations: 1.203 kB / 0.5841 GB, free: 9.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009397/0.72, allocations: 213.5 kB / 0.5843 GB, free: 9.586 MB / 494.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.00195/0.7219, allocations: 1.314 MB / 0.5856 GB, free: 8.859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007883/0.7227, allocations: 462.4 kB / 0.586 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7227, allocations: 3.75 kB / 0.586 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.7229, allocations: 203.7 kB / 0.5862 GB, free: 8.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.724, allocations: 210 kB / 0.5864 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.7295, allocations: 4.589 MB / 0.5909 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.7299, allocations: 0.815 MB / 0.5917 GB, free: 5.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000489/0.7304, allocations: 133.4 kB / 0.5918 GB, free: 5.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.7306, allocations: 154.7 kB / 0.592 GB, free: 5.543 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7306, allocations: 0 / 0.592 GB, free: 5.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05636/0.787, allocations: 17.86 MB / 0.6094 GB, free: 1.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.42, allocations: 5.125 kB / 0.6094 GB, free: 1.559 MB / 494.1 MB " [Timeout remaining time 644] (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.923329639997974]