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.001391/0.001391, allocations: 105.4 kB / 18.35 MB, free: 4.762 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.001114/0.001114, allocations: 188.1 kB / 19.29 MB, free: 3.832 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.299/1.299, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.002248/0.002249, allocations: 51.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1054, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.321/0.4264, allocations: 172.7 MB / 0.4897 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.43, allocations: 3.201 MB / 0.4929 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.4302, allocations: 4 kB / 0.4929 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.4307, allocations: 178.9 kB / 0.493 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007107/0.4314, allocations: 419.1 kB / 0.4934 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.4321, allocations: 342 kB / 0.4938 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.4329, allocations: 0.8952 MB / 0.4946 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.4331, allocations: 97.16 kB / 0.4947 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.4345, allocations: 0.794 MB / 0.4955 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.4348, allocations: 274.9 kB / 0.4958 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.4349, allocations: 28 kB / 0.4958 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.4352, allocations: 123.9 kB / 0.4959 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4353, allocations: 103.6 kB / 0.496 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.4355, allocations: 187.3 kB / 0.4962 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.436, allocations: 0.5102 MB / 0.4967 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.436, allocations: 4 kB / 0.4967 GB, free: 2.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.436, allocations: 0 / 0.4967 GB, free: 2.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.436, allocations: 0 / 0.4967 GB, free: 2.668 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.0007776/0.4368, allocations: 0.5814 MB / 0.4973 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4369, allocations: 15.88 kB / 0.4973 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.4371, allocations: 43.62 kB / 0.4973 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.4376, allocations: 302.3 kB / 0.4976 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4376, allocations: 20.56 kB / 0.4976 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.4377, allocations: 24 kB / 0.4977 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.4381, allocations: 315.7 kB / 0.498 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4381, allocations: 7.938 kB / 0.498 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.4382, allocations: 12.88 kB / 0.498 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4382, allocations: 4 kB / 0.498 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.4385, allocations: 205.6 kB / 0.4982 GB, free: 1.043 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.001662/0.4402, allocations: 1.585 MB / 0.4997 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.4405, allocations: 176.1 kB / 0.4999 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.4406, allocations: 96.77 kB / 0.5 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.4407, allocations: 7.984 kB / 0.5 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4407, allocations: 42.5 kB / 0.5 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.4407, allocations: 0 / 0.5 GB, free: 14.97 MB / 414.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.005182/0.4459, allocations: 1.616 MB / 0.5016 GB, free: 13.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.4459, allocations: 55.41 kB / 0.5017 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.4462, allocations: 248.9 kB / 0.5019 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.4462, allocations: 29.7 kB / 0.5019 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4463, allocations: 180.2 kB / 0.5021 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.4464, allocations: 102.6 kB / 0.5022 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.4465, allocations: 81.59 kB / 0.5023 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4466, allocations: 334.8 kB / 0.5026 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4468, allocations: 91.91 kB / 0.5027 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.447, allocations: 191.7 kB / 0.5029 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.4474, allocations: 303.8 kB / 0.5032 GB, free: 11.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4474, allocations: 0 / 0.5032 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006117/0.448, allocations: 399.1 kB / 0.5035 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4481, allocations: 12.03 kB / 0.5035 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4481, allocations: 0 / 0.5035 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.4483, allocations: 69.69 kB / 0.5036 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.4486, allocations: 83.89 kB / 0.5037 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.4499, allocations: 1.958 MB / 0.5056 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.4501, allocations: 12.22 kB / 0.5056 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.4502, allocations: 40 kB / 0.5057 GB, free: 8.762 MB / 414.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.0001543/0.4504, allocations: 158.6 kB / 0.5058 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.4504, allocations: 31.62 kB / 0.5058 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008257/0.4513, allocations: 438.7 kB / 0.5063 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4513, allocations: 4 kB / 0.5063 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4513, allocations: 0 / 0.5063 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004834/0.4518, allocations: 0.563 MB / 0.5068 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/0.4527, allocations: 0.7274 MB / 0.5075 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4527, allocations: 8 kB / 0.5075 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.453, allocations: 71.89 kB / 0.5076 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-05/0.4531, allocations: 20.84 kB / 0.5076 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.4532, allocations: 15.98 kB / 0.5076 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008134/0.454, allocations: 1.38 MB / 0.509 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.454, allocations: 0.875 kB / 0.509 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.4546, allocations: 486.6 kB / 0.5094 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.4547, allocations: 100.8 kB / 0.5095 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.4547, allocations: 4 kB / 0.5095 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.455, allocations: 8 kB / 0.5095 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.455, allocations: 27.97 kB / 0.5096 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.4551, allocations: 31.98 kB / 0.5096 GB, free: 4.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.4553, allocations: 190 kB / 0.5098 GB, free: 4.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4553, allocations: 0 / 0.5098 GB, free: 4.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004816/0.4558, allocations: 128 kB / 0.5099 GB, free: 4.043 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.0003366/0.4561, allocations: 159 kB / 0.5101 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.4568, allocations: 379 kB / 0.5104 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4568, allocations: 0 / 0.5104 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.4571, allocations: 235.2 kB / 0.5106 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.458, allocations: 168.2 kB / 0.5108 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.459, allocations: 0.6907 MB / 0.5115 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4593, allocations: 0.7645 MB / 0.5122 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003666/0.4597, allocations: 106.9 kB / 0.5123 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.4599, allocations: 71.41 kB / 0.5124 GB, free: 1.402 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4599, allocations: 0 / 0.5124 GB, free: 1.402 MB / 414.1 MB Notification: Performance of Templates: time 0.01381/0.4737, allocations: 8.702 MB / 0.5209 GB, free: 8.688 MB / 430.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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