Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008338/0.0008336, allocations: 92.75 kB / 17.3 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007905/0.0007905, allocations: 174.8 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004656, allocations: 12 kB / 281.4 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09664, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.409/0.5057, allocations: 168.4 MB / 497.3 MB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.5098, allocations: 3.189 MB / 0.4888 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004995/0.5104, allocations: 7.938 kB / 0.4888 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.5111, allocations: 143.2 kB / 0.4889 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.5122, allocations: 383.7 kB / 0.4893 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5132, allocations: 316.2 kB / 0.4896 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.5146, allocations: 1.348 MB / 0.4909 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.5148, allocations: 72.64 kB / 0.491 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.5167, allocations: 0.7162 MB / 0.4917 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.5171, allocations: 290.8 kB / 0.492 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.5171, allocations: 16 kB / 0.492 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.5174, allocations: 103.9 kB / 0.4921 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.5176, allocations: 71.78 kB / 0.4921 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.5178, allocations: 208.9 kB / 0.4923 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.5183, allocations: 498.4 kB / 0.4928 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5183, allocations: 7.938 kB / 0.4928 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5184, allocations: 0 / 0.4928 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5184, allocations: 0 / 0.4928 GB, free: 10.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007862/0.5192, allocations: 0.5229 MB / 0.4933 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5192, allocations: 8.031 kB / 0.4933 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.5195, allocations: 47.61 kB / 0.4934 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.5199, allocations: 282.4 kB / 0.4937 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5199, allocations: 24.56 kB / 0.4937 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.5199, allocations: 24 kB / 0.4937 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.5205, allocations: 311.7 kB / 0.494 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5205, allocations: 7.938 kB / 0.494 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.5205, allocations: 12 kB / 0.494 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.5206, allocations: 8 kB / 0.494 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.5209, allocations: 206.3 kB / 0.4942 GB, free: 8.465 MB / 398.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.001813/0.5227, allocations: 1.585 MB / 0.4958 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.523, allocations: 175.1 kB / 0.4959 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.5232, allocations: 96.77 kB / 0.496 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.5233, allocations: 11.97 kB / 0.496 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5233, allocations: 35.88 kB / 0.4961 GB, free: 6.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.5233, allocations: 4 kB / 0.4961 GB, free: 6.395 MB / 398.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=27): time 0.005675/0.529, allocations: 1.614 MB / 0.4977 GB, free: 4.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.5291, allocations: 55.41 kB / 0.4977 GB, free: 4.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.5294, allocations: 260.8 kB / 0.498 GB, free: 4.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.5294, allocations: 33.7 kB / 0.498 GB, free: 4.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.5295, allocations: 180.1 kB / 0.4982 GB, free: 4.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.5296, allocations: 90.66 kB / 0.4983 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.5297, allocations: 41.64 kB / 0.4983 GB, free: 3.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5298, allocations: 334.8 kB / 0.4986 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.53, allocations: 91.73 kB / 0.4987 GB, free: 3.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.5302, allocations: 195.7 kB / 0.4989 GB, free: 3.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.5307, allocations: 316.2 kB / 0.4992 GB, free: 2.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5307, allocations: 0 / 0.4992 GB, free: 2.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006153/0.5313, allocations: 391.1 kB / 0.4996 GB, free: 2.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5314, allocations: 8.062 kB / 0.4996 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5314, allocations: 4 kB / 0.4996 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/0.5316, allocations: 77.67 kB / 0.4996 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.532, allocations: 79.89 kB / 0.4997 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.5334, allocations: 1.856 MB / 0.5015 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.5336, allocations: 24.12 kB / 0.5016 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.5337, allocations: 39.98 kB / 0.5016 GB, free: 312 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0001621/0.5338, allocations: 153.7 kB / 0.5017 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.5339, allocations: 35.59 kB / 0.5018 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000988/0.5349, allocations: 440.6 kB / 0.5022 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.5349, allocations: 4 kB / 0.5022 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5349, allocations: 0 / 0.5022 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005237/0.5355, allocations: 0.5629 MB / 0.5027 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.5365, allocations: 0.7272 MB / 0.5035 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5365, allocations: 4 kB / 0.5035 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.5368, allocations: 67.89 kB / 0.5035 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.868e-05/0.5369, allocations: 24.75 kB / 0.5035 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.5369, allocations: 15.98 kB / 0.5036 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009376/0.5379, allocations: 1.28 MB / 0.5048 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5379, allocations: 0 / 0.5048 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.5386, allocations: 490.6 kB / 0.5053 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.5387, allocations: 112.8 kB / 0.5054 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.5387, allocations: 4 kB / 0.5054 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.539, allocations: 16.05 kB / 0.5054 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.539, allocations: 35.91 kB / 0.5054 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.5391, allocations: 31.98 kB / 0.5055 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.5393, allocations: 185.9 kB / 0.5057 GB, free: 11.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5393, allocations: 0 / 0.5057 GB, free: 11.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.5399, allocations: 131.9 kB / 0.5058 GB, free: 11.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.0003749/0.5402, allocations: 147.1 kB / 0.5059 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007882/0.541, allocations: 375.2 kB / 0.5063 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.541, allocations: 0 / 0.5063 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.5413, allocations: 226.6 kB / 0.5065 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.5424, allocations: 159.8 kB / 0.5066 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.5439, allocations: 0.8559 MB / 0.5075 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.5443, allocations: 0.7722 MB / 0.5082 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006041/0.5449, allocations: 118.9 kB / 0.5083 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.5451, allocations: 59.42 kB / 0.5084 GB, free: 8.883 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5451, allocations: 0 / 0.5084 GB, free: 8.883 MB / 414.1 MB Notification: Performance of Templates: time 0.01476/0.5599, allocations: 8.409 MB / 0.5166 GB, free: 484 kB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches