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.001008/0.001008, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001021/0.001022, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.414/1.414, allocations: 205.1 MB / 224 MB, free: 12.43 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.001159/0.001159, allocations: 47.92 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1046, allocations: 46.62 MB / 326.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4288/0.5335, allocations: 170.4 MB / 497.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.5375, allocations: 3.198 MB / 0.4887 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.5378, allocations: 8 kB / 0.4887 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.5384, allocations: 147.2 kB / 0.4888 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000887/0.5393, allocations: 379.7 kB / 0.4892 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.5402, allocations: 316.1 kB / 0.4895 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008955/0.5411, allocations: 0.8952 MB / 0.4904 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.5413, allocations: 109.1 kB / 0.4905 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.543, allocations: 0.7603 MB / 0.4912 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.5434, allocations: 290.9 kB / 0.4915 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.5435, allocations: 32 kB / 0.4915 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.5438, allocations: 131.8 kB / 0.4917 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.5439, allocations: 91.72 kB / 0.4918 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.5441, allocations: 191.3 kB / 0.4919 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.5447, allocations: 0.518 MB / 0.4924 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5448, allocations: 0 / 0.4924 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.5448, allocations: 0 / 0.4924 GB, free: 5.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.5448, allocations: 3.938 kB / 0.4924 GB, free: 5.84 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.0008942/0.5457, allocations: 0.5853 MB / 0.493 GB, free: 5.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5457, allocations: 15.83 kB / 0.493 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.546, allocations: 44.36 kB / 0.4931 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.5464, allocations: 290.4 kB / 0.4934 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.5465, allocations: 24.55 kB / 0.4934 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.5465, allocations: 24 kB / 0.4934 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.5471, allocations: 315.7 kB / 0.4937 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5471, allocations: 3.938 kB / 0.4937 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.5471, allocations: 16 kB / 0.4937 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5472, allocations: 4 kB / 0.4937 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.5475, allocations: 209.5 kB / 0.4939 GB, free: 4.211 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.001794/0.5493, allocations: 1.579 MB / 0.4955 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.5496, allocations: 175.1 kB / 0.4956 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.5497, allocations: 96.77 kB / 0.4957 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.5498, allocations: 4 kB / 0.4957 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.5498, allocations: 38.56 kB / 0.4958 GB, free: 2.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.5498, allocations: 4 kB / 0.4958 GB, free: 2.152 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.005641/0.5555, allocations: 1.617 MB / 0.4973 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.5555, allocations: 59.41 kB / 0.4974 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.5558, allocations: 256.9 kB / 0.4976 GB, free: 80 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.5559, allocations: 33.64 kB / 0.4977 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.556, allocations: 180.2 kB / 0.4979 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.5561, allocations: 98.64 kB / 0.4979 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.5562, allocations: 85.38 kB / 0.498 GB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5564, allocations: 334.8 kB / 0.4983 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.5565, allocations: 91.95 kB / 0.4984 GB, free: 15.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.5567, allocations: 187.8 kB / 0.4986 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.5572, allocations: 311.8 kB / 0.4989 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5572, allocations: 0 / 0.4989 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006217/0.5578, allocations: 394.8 kB / 0.4993 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5578, allocations: 4 kB / 0.4993 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5579, allocations: 7.984 kB / 0.4993 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.5581, allocations: 69.69 kB / 0.4994 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.5585, allocations: 88.17 kB / 0.4995 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.5601, allocations: 1.95 MB / 0.5014 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.5604, allocations: 23.89 kB / 0.5014 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.5604, allocations: 36.16 kB / 0.5014 GB, free: 11.92 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.0001823/0.5606, allocations: 165.6 kB / 0.5016 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.5607, allocations: 27.72 kB / 0.5016 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009466/0.5616, allocations: 438.5 kB / 0.502 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5617, allocations: 0 / 0.502 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5617, allocations: 4 kB / 0.502 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005409/0.5622, allocations: 0.563 MB / 0.5026 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.5633, allocations: 0.7271 MB / 0.5033 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5633, allocations: 8.922 kB / 0.5033 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.5636, allocations: 63.97 kB / 0.5033 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-05/0.5637, allocations: 24.78 kB / 0.5034 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.5637, allocations: 15.98 kB / 0.5034 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009787/0.5647, allocations: 1.382 MB / 0.5047 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.5647, allocations: 3.938 kB / 0.5047 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.5654, allocations: 482.8 kB / 0.5052 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.5655, allocations: 104.7 kB / 0.5053 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.5655, allocations: 8 kB / 0.5053 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.5658, allocations: 23.98 kB / 0.5053 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.5659, allocations: 27.91 kB / 0.5054 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/0.5659, allocations: 31.98 kB / 0.5054 GB, free: 7.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.5661, allocations: 186 kB / 0.5056 GB, free: 7.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5661, allocations: 4 kB / 0.5056 GB, free: 7.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.5667, allocations: 123.9 kB / 0.5057 GB, free: 7.18 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.0004261/0.5671, allocations: 143.2 kB / 0.5058 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007381/0.5679, allocations: 399.1 kB / 0.5062 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5679, allocations: 0 / 0.5062 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.5682, allocations: 222.5 kB / 0.5064 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.5691, allocations: 176.2 kB / 0.5066 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.5704, allocations: 0.8032 MB / 0.5074 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5707, allocations: 0.7606 MB / 0.5081 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00054/0.5713, allocations: 118.9 kB / 0.5082 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.5715, allocations: 59.42 kB / 0.5083 GB, free: 4.434 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5715, allocations: 0 / 0.5083 GB, free: 4.434 MB / 414.1 MB Notification: Performance of Templates: time 0.01493/0.5864, allocations: 8.684 MB / 0.5168 GB, free: 11.74 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 -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