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.001834/0.001834, allocations: 85.72 kB / 22 MB, free: 4.746 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.00209/0.00209, allocations: 153.4 kB / 25.24 MB, free: 2.746 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.385/1.385, allocations: 158.6 MB / 187 MB, free: 6.352 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [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.001802/0.001802, allocations: 51.92 kB / 299.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2183, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.391/0.6093, allocations: 152 MB / 0.4888 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.6127, allocations: 3.509 MB / 0.4922 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.6129, allocations: 7.812 kB / 0.4922 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.6135, allocations: 222.8 kB / 0.4924 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.6141, allocations: 361.7 kB / 0.4928 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.6152, allocations: 0.5609 MB / 0.4933 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009202/0.6162, allocations: 1.124 MB / 0.4944 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.6163, allocations: 71.69 kB / 0.4945 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.6186, allocations: 1.287 MB / 0.4958 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.619, allocations: 334.6 kB / 0.4961 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-05/0.6191, allocations: 44.72 kB / 0.4961 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007846/0.6199, allocations: 414.8 kB / 0.4965 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.6201, allocations: 244.9 kB / 0.4967 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.6204, allocations: 274.4 kB / 0.497 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009689/0.6213, allocations: 1.082 MB / 0.4981 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6213, allocations: 0.875 kB / 0.4981 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6213, allocations: 0 / 0.4981 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.6213, allocations: 2.188 kB / 0.4981 GB, free: 0.8906 MB / 430.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.001201/0.6225, allocations: 0.7483 MB / 0.4988 GB, free: 16.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.6226, allocations: 7.5 kB / 0.4988 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.6231, allocations: 125.1 kB / 0.4989 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.6237, allocations: 315 kB / 0.4992 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.6237, allocations: 35.72 kB / 0.4993 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.6238, allocations: 36.12 kB / 0.4993 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.6249, allocations: 1.167 MB / 0.5004 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.6249, allocations: 2.906 kB / 0.5004 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.625, allocations: 22.44 kB / 0.5005 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.625, allocations: 9.25 kB / 0.5005 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.6255, allocations: 446 kB / 0.5009 GB, free: 15.44 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.003127/0.6286, allocations: 1.486 MB / 0.5023 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.6288, allocations: 141.1 kB / 0.5025 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.6289, allocations: 74.44 kB / 0.5025 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.629, allocations: 3.469 kB / 0.5026 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.629, allocations: 38.3 kB / 0.5026 GB, free: 14.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.953e-06/0.629, allocations: 0 / 0.5026 GB, free: 14.83 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.005976/0.635, allocations: 1.473 MB / 0.504 GB, free: 14.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.635, allocations: 59.97 kB / 0.5041 GB, free: 14.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.6355, allocations: 470 kB / 0.5045 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.6355, allocations: 31.52 kB / 0.5046 GB, free: 14.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.6357, allocations: 334.2 kB / 0.5049 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.6358, allocations: 91.33 kB / 0.505 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.6359, allocations: 122.3 kB / 0.5051 GB, free: 13.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6361, allocations: 352.6 kB / 0.5054 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.6363, allocations: 139.6 kB / 0.5056 GB, free: 13.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.6367, allocations: 439.5 kB / 0.506 GB, free: 13.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.6375, allocations: 0.6071 MB / 0.5066 GB, free: 12.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6375, allocations: 4.297 kB / 0.5066 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008362/0.6383, allocations: 0.6396 MB / 0.5072 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.6384, allocations: 8.906 kB / 0.5072 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6384, allocations: 10.62 kB / 0.5072 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.6385, allocations: 60.61 kB / 0.5073 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.639, allocations: 143.9 kB / 0.5074 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.6405, allocations: 1.807 MB / 0.5092 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.6408, allocations: 20.5 kB / 0.5092 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.6409, allocations: 38.88 kB / 0.5092 GB, free: 10.84 MB / 446.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.0002258/0.6411, allocations: 217.1 kB / 0.5094 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.6412, allocations: 46.94 kB / 0.5095 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.6417, allocations: 289.8 kB / 0.5098 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6417, allocations: 0 / 0.5098 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.6417, allocations: 0 / 0.5098 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004939/0.6422, allocations: 0.5196 MB / 0.5103 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/0.643, allocations: 0.6024 MB / 0.5109 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.643, allocations: 0 / 0.5109 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.6433, allocations: 53.91 kB / 0.5109 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.352e-05/0.6433, allocations: 25.98 kB / 0.5109 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.6433, allocations: 10.34 kB / 0.5109 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.6444, allocations: 1.247 MB / 0.5122 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6444, allocations: 4 kB / 0.5122 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.6449, allocations: 433.8 kB / 0.5126 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.645, allocations: 33.55 kB / 0.5126 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.645, allocations: 6.875 kB / 0.5126 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.6453, allocations: 9.625 kB / 0.5126 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.6453, allocations: 21.33 kB / 0.5126 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.6453, allocations: 17.33 kB / 0.5127 GB, free: 8.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.6456, allocations: 305.9 kB / 0.513 GB, free: 8.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6456, allocations: 0 / 0.513 GB, free: 8.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007859/0.6464, allocations: 218.4 kB / 0.5132 GB, free: 8.434 MB / 446.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.001091/0.6475, allocations: 466 kB / 0.5136 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007428/0.6482, allocations: 449.8 kB / 0.514 GB, free: 8.145 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6482, allocations: 1.094 kB / 0.514 GB, free: 8.145 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.6485, allocations: 206.7 kB / 0.5142 GB, free: 8.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009252/0.6494, allocations: 185.3 kB / 0.5144 GB, free: 8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.6508, allocations: 0.8724 MB / 0.5153 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.651, allocations: 222.2 kB / 0.5155 GB, free: 7.477 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.6514, allocations: 126.7 kB / 0.5156 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.6515, allocations: 46.91 kB / 0.5156 GB, free: 7.438 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6515, allocations: 0 / 0.5156 GB, free: 7.438 MB / 446.1 MB Notification: Performance of Templates: time 0.01903/0.6705, allocations: 11.85 MB / 0.5272 GB, free: 3.691 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] 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: 5.367019778932445]