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.001631/0.001631, allocations: 110.4 kB / 17.73 MB, free: 5.336 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.00119/0.00119, allocations: 187.1 kB / 18.66 MB, free: 4.41 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.465/1.465, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001246/0.001246, allocations: 51.92 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1096, allocations: 46.62 MB / 375.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4067/0.5164, allocations: 172.8 MB / 0.5351 GB, free: 2.469 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004267/0.5207, allocations: 3.22 MB / 0.5382 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.521, allocations: 7.938 kB / 0.5383 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.5217, allocations: 174.9 kB / 0.5384 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009479/0.5226, allocations: 403.3 kB / 0.5388 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008703/0.5235, allocations: 353.2 kB / 0.5391 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000856/0.5244, allocations: 0.8876 MB / 0.54 GB, free: 13.42 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.5246, allocations: 108.7 kB / 0.5401 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.5266, allocations: 0.7919 MB / 0.5409 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.527, allocations: 266.9 kB / 0.5411 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.5271, allocations: 28 kB / 0.5412 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.5274, allocations: 131.8 kB / 0.5413 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.5276, allocations: 91.8 kB / 0.5414 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.5278, allocations: 195.2 kB / 0.5416 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.5283, allocations: 0.5102 MB / 0.5421 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.5284, allocations: 4 kB / 0.5421 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5284, allocations: 0 / 0.5421 GB, free: 11.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.5284, allocations: 3.938 kB / 0.5421 GB, free: 11.31 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008544/0.5292, allocations: 0.5814 MB / 0.5426 GB, free: 10.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5293, allocations: 11.89 kB / 0.5426 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000294/0.5296, allocations: 47.61 kB / 0.5427 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.53, allocations: 294.4 kB / 0.543 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.5301, allocations: 16.56 kB / 0.543 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.5301, allocations: 24 kB / 0.543 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.5306, allocations: 323.6 kB / 0.5433 GB, free: 9.914 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5307, allocations: 3.938 kB / 0.5433 GB, free: 9.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.5307, allocations: 12 kB / 0.5433 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5307, allocations: 8 kB / 0.5433 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.531, allocations: 205.5 kB / 0.5435 GB, free: 9.691 MB / 478.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.001752/0.5328, allocations: 1.586 MB / 0.5451 GB, free: 7.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.5331, allocations: 171.1 kB / 0.5453 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.5333, allocations: 100.8 kB / 0.5453 GB, free: 7.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.5333, allocations: 4 kB / 0.5454 GB, free: 7.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.624e-05/0.5334, allocations: 42.56 kB / 0.5454 GB, free: 7.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.5334, allocations: 0 / 0.5454 GB, free: 7.625 MB / 478.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.00579/0.5392, allocations: 1.614 MB / 0.547 GB, free: 5.879 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5393, allocations: 59.39 kB / 0.547 GB, free: 5.809 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.5396, allocations: 256.9 kB / 0.5473 GB, free: 5.551 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.5397, allocations: 33.64 kB / 0.5473 GB, free: 5.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.5398, allocations: 180.2 kB / 0.5475 GB, free: 5.328 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.5399, allocations: 98.64 kB / 0.5476 GB, free: 5.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.54, allocations: 77.69 kB / 0.5476 GB, free: 5.148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5402, allocations: 334.8 kB / 0.548 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.5403, allocations: 91.95 kB / 0.5481 GB, free: 4.723 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.5406, allocations: 187.8 kB / 0.5482 GB, free: 4.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.541, allocations: 305.1 kB / 0.5485 GB, free: 4.156 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.541, allocations: 0 / 0.5485 GB, free: 4.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006676/0.5417, allocations: 406.8 kB / 0.5489 GB, free: 3.746 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5417, allocations: 4 kB / 0.5489 GB, free: 3.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5418, allocations: 7.984 kB / 0.5489 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.542, allocations: 69.69 kB / 0.549 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.5424, allocations: 87.83 kB / 0.5491 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.5438, allocations: 1.953 MB / 0.551 GB, free: 1.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.544, allocations: 8 kB / 0.551 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.5441, allocations: 43.98 kB / 0.551 GB, free: 1.41 MB / 478.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.0001726/0.5443, allocations: 154.4 kB / 0.5512 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.5443, allocations: 27.72 kB / 0.5512 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.5452, allocations: 449 kB / 0.5516 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5452, allocations: 4 kB / 0.5516 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5452, allocations: 0 / 0.5516 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005248/0.5457, allocations: 0.5591 MB / 0.5522 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2003/0.7461, allocations: 0.7334 MB / 0.5529 GB, free: 171 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.7461, allocations: 1.812 kB / 0.5529 GB, free: 171 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.7465, allocations: 69.47 kB / 0.553 GB, free: 171 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-05/0.7466, allocations: 21.78 kB / 0.553 GB, free: 171 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.7466, allocations: 13.36 kB / 0.553 GB, free: 171 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007131/0.7473, allocations: 1.383 MB / 0.5543 GB, free: 169.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7473, allocations: 0 / 0.5543 GB, free: 169.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.748, allocations: 480.3 kB / 0.5548 GB, free: 169.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.7481, allocations: 98.97 kB / 0.5549 GB, free: 169.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.7481, allocations: 10.69 kB / 0.5549 GB, free: 169.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.7484, allocations: 9.172 kB / 0.5549 GB, free: 169.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.7484, allocations: 26.09 kB / 0.5549 GB, free: 169.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.7485, allocations: 28.56 kB / 0.555 GB, free: 169.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.7487, allocations: 193.4 kB / 0.5552 GB, free: 169.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7487, allocations: 0 / 0.5552 GB, free: 169.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006079/0.7493, allocations: 122.2 kB / 0.5553 GB, free: 169.3 MB / 478.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.0004228/0.7497, allocations: 150.3 kB / 0.5554 GB, free: 169.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008262/0.7506, allocations: 381.9 kB / 0.5558 GB, free: 169 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.7506, allocations: 0.8125 kB / 0.5558 GB, free: 169 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.7509, allocations: 232.1 kB / 0.556 GB, free: 168.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.7519, allocations: 174.7 kB / 0.5562 GB, free: 168.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.753, allocations: 0.6857 MB / 0.5568 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.7532, allocations: 0.7662 MB / 0.5576 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003879/0.7536, allocations: 121.4 kB / 0.5577 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.7538, allocations: 66.27 kB / 0.5578 GB, free: 167.8 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.7538, allocations: 5.125 kB / 0.5578 GB, free: 167.8 MB / 478.1 MB Notification: Performance of Templates: time 0.01703/0.7709, allocations: 8.765 MB / 0.5663 GB, free: 166 MB / 478.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","/var/lib/jenkins/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