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.001839/0.001839, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.002226/0.002226, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.353/1.353, allocations: 207.6 MB / 235.3 MB, free: 10 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.001747/0.001747, allocations: 59.91 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2398, allocations: 49.16 MB / 396.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2011/0.4409, allocations: 176.4 MB / 0.5594 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2266/0.6676, allocations: 3.863 MB / 0.5631 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.6678, allocations: 7.969 kB / 0.5631 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.6686, allocations: 240.1 kB / 0.5634 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.6692, allocations: 365.9 kB / 0.5637 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.6708, allocations: 0.557 MB / 0.5643 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.6723, allocations: 1.126 MB / 0.5654 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.6725, allocations: 83.58 kB / 0.5654 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.6755, allocations: 1.291 MB / 0.5667 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.676, allocations: 348.8 kB / 0.567 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.6761, allocations: 45.95 kB / 0.5671 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.6772, allocations: 478.2 kB / 0.5675 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.6775, allocations: 238.5 kB / 0.5678 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003732/0.6778, allocations: 312.6 kB / 0.5681 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.6791, allocations: 1.086 MB / 0.5691 GB, free: 1.691 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6791, allocations: 1.375 kB / 0.5691 GB, free: 1.691 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6791, allocations: 0.8125 kB / 0.5691 GB, free: 1.691 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.6791, allocations: 0.9062 kB / 0.5691 GB, free: 1.691 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.001421/0.6806, allocations: 0.7434 MB / 0.5698 GB, free: 17.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6806, allocations: 12.86 kB / 0.5699 GB, free: 17.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.452e-05/0.6807, allocations: 81.12 kB / 0.5699 GB, free: 17.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006186/0.6813, allocations: 127.3 kB / 0.5701 GB, free: 17.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.6819, allocations: 319.4 kB / 0.5704 GB, free: 17.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.682, allocations: 30.53 kB / 0.5704 GB, free: 17.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.682, allocations: 38.53 kB / 0.5704 GB, free: 17.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.6828, allocations: 0.5583 MB / 0.571 GB, free: 16.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.6829, allocations: 5.531 kB / 0.571 GB, free: 16.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.6829, allocations: 16.59 kB / 0.571 GB, free: 16.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.6829, allocations: 11.97 kB / 0.571 GB, free: 16.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.6835, allocations: 449.8 kB / 0.5714 GB, free: 16.97 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.00341/0.6869, allocations: 1.949 MB / 0.5733 GB, free: 16.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.6872, allocations: 137.4 kB / 0.5735 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.6873, allocations: 75.55 kB / 0.5735 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.6873, allocations: 4.625 kB / 0.5735 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.6873, allocations: 42 kB / 0.5736 GB, free: 15.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.6873, allocations: 0 / 0.5736 GB, free: 15.95 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.006049/0.6934, allocations: 1.463 MB / 0.575 GB, free: 15.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.6934, allocations: 61 kB / 0.5751 GB, free: 15.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.694, allocations: 480.6 kB / 0.5755 GB, free: 15.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.694, allocations: 31.42 kB / 0.5756 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.6942, allocations: 327.1 kB / 0.5759 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.6942, allocations: 95.09 kB / 0.576 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.6944, allocations: 122.1 kB / 0.5761 GB, free: 14.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6945, allocations: 354.2 kB / 0.5764 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.6947, allocations: 135.6 kB / 0.5765 GB, free: 14.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.695, allocations: 442 kB / 0.577 GB, free: 14.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.6957, allocations: 0.6031 MB / 0.5776 GB, free: 13.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.6957, allocations: 3.344 kB / 0.5776 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009259/0.6966, allocations: 0.6393 MB / 0.5782 GB, free: 13.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6966, allocations: 8.875 kB / 0.5782 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.6966, allocations: 10.94 kB / 0.5782 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.6968, allocations: 62.75 kB / 0.5783 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.6972, allocations: 141 kB / 0.5784 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.6987, allocations: 1.841 MB / 0.5802 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.6992, allocations: 17.97 kB / 0.5802 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.6992, allocations: 42.2 kB / 0.5803 GB, free: 12.02 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.0002308/0.6994, allocations: 213.5 kB / 0.5805 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.6995, allocations: 49.2 kB / 0.5805 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.7, allocations: 289.3 kB / 0.5808 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7, allocations: 3.781 kB / 0.5808 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7, allocations: 0 / 0.5808 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004755/0.7005, allocations: 0.5216 MB / 0.5813 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.7014, allocations: 0.6679 MB / 0.5819 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7014, allocations: 4 kB / 0.5819 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.7016, allocations: 63.98 kB / 0.582 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.207e-05/0.7017, allocations: 20.55 kB / 0.582 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.7017, allocations: 11.5 kB / 0.582 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009525/0.7027, allocations: 1.272 MB / 0.5833 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7027, allocations: 0.875 kB / 0.5833 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.7032, allocations: 435.5 kB / 0.5837 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.7033, allocations: 47.61 kB / 0.5837 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.7033, allocations: 9.875 kB / 0.5838 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.7036, allocations: 7.719 kB / 0.5838 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.7036, allocations: 13.38 kB / 0.5838 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.7036, allocations: 18.05 kB / 0.5838 GB, free: 9.664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003039/0.7039, allocations: 327.5 kB / 0.5841 GB, free: 9.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7039, allocations: 1.938 kB / 0.5841 GB, free: 9.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008459/0.7048, allocations: 216.9 kB / 0.5843 GB, free: 9.559 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.00187/0.7067, allocations: 1.305 MB / 0.5856 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.7074, allocations: 453.9 kB / 0.586 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7074, allocations: 4.156 kB / 0.586 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.7076, allocations: 201.4 kB / 0.5862 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.7086, allocations: 224 kB / 0.5864 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.7138, allocations: 4.583 MB / 0.5909 GB, free: 6.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.7143, allocations: 0.8228 MB / 0.5917 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004401/0.7147, allocations: 144 kB / 0.5918 GB, free: 5.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.7149, allocations: 148.7 kB / 0.592 GB, free: 5.512 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7149, allocations: 0 / 0.592 GB, free: 5.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05191/0.7668, allocations: 17.84 MB / 0.6094 GB, free: 1.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.06, allocations: 9.312 kB / 0.6094 GB, free: 1.531 MB / 494.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 & /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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.518315421883017]