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.001229/0.001229, allocations: 109.4 kB / 18.34 MB, free: 4.676 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.001091/0.001091, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.304/1.304, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001226/0.001226, allocations: 56.14 kB / 282.1 MB, free: 2.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.0817, allocations: 46.62 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.3265/0.4082, allocations: 172.7 MB / 0.4897 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.4119, allocations: 3.209 MB / 0.4929 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.4121, allocations: 11.88 kB / 0.4929 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.4126, allocations: 174.9 kB / 0.493 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007117/0.4133, allocations: 407.2 kB / 0.4934 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.4141, allocations: 344.4 kB / 0.4938 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008169/0.4149, allocations: 0.8913 MB / 0.4946 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.4151, allocations: 105.1 kB / 0.4947 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.4165, allocations: 0.794 MB / 0.4955 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.4168, allocations: 270.9 kB / 0.4958 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.4169, allocations: 32 kB / 0.4958 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.4172, allocations: 127.8 kB / 0.4959 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4173, allocations: 87.78 kB / 0.496 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.4175, allocations: 199.2 kB / 0.4962 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.418, allocations: 0.5102 MB / 0.4967 GB, free: 2.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.418, allocations: 0 / 0.4967 GB, free: 2.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.418, allocations: 0 / 0.4967 GB, free: 2.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.418, allocations: 4 kB / 0.4967 GB, free: 2.672 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.0007941/0.4188, allocations: 0.5853 MB / 0.4973 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.4189, allocations: 11.89 kB / 0.4973 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.4192, allocations: 43.61 kB / 0.4973 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.4196, allocations: 298.4 kB / 0.4976 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4196, allocations: 16.56 kB / 0.4976 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.4197, allocations: 31.97 kB / 0.4976 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.4201, allocations: 315.7 kB / 0.4979 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4202, allocations: 3.938 kB / 0.4979 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.4202, allocations: 16 kB / 0.498 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.4202, allocations: 8 kB / 0.498 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.4205, allocations: 205.5 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.001709/0.4223, allocations: 1.581 MB / 0.4997 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.4226, allocations: 182 kB / 0.4999 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.4227, allocations: 96.77 kB / 0.5 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.4228, allocations: 4 kB / 0.5 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.4228, allocations: 38.56 kB / 0.5 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.4228, allocations: 0 / 0.5 GB, free: 14.98 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.005212/0.428, allocations: 1.613 MB / 0.5016 GB, free: 13.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.4281, allocations: 63.33 kB / 0.5017 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.4283, allocations: 249 kB / 0.5019 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.4284, allocations: 29.7 kB / 0.5019 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4285, allocations: 176.2 kB / 0.5021 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.4286, allocations: 102.6 kB / 0.5022 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.4287, allocations: 89.59 kB / 0.5023 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4288, allocations: 334.8 kB / 0.5026 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.429, allocations: 87.97 kB / 0.5027 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.4292, allocations: 191.8 kB / 0.5029 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.4296, allocations: 299.8 kB / 0.5031 GB, free: 11.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4296, allocations: 4 kB / 0.5031 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006251/0.4302, allocations: 394.7 kB / 0.5035 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.4303, allocations: 7.984 kB / 0.5035 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4303, allocations: 4.406 kB / 0.5035 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.4305, allocations: 77.62 kB / 0.5036 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.4309, allocations: 83.89 kB / 0.5037 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.4323, allocations: 1.952 MB / 0.5056 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.4325, allocations: 8 kB / 0.5056 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.4325, allocations: 43.98 kB / 0.5056 GB, free: 8.766 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.0001548/0.4327, allocations: 162.8 kB / 0.5058 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.4328, allocations: 27.62 kB / 0.5058 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008737/0.4337, allocations: 443.2 kB / 0.5062 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4337, allocations: 8 kB / 0.5063 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.4337, allocations: 0 / 0.5063 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005671/0.4343, allocations: 0.5552 MB / 0.5068 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.4353, allocations: 0.7313 MB / 0.5075 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4353, allocations: 4 kB / 0.5075 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.4357, allocations: 75.95 kB / 0.5076 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-05/0.4358, allocations: 16.84 kB / 0.5076 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.4358, allocations: 15.98 kB / 0.5076 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009518/0.4368, allocations: 1.38 MB / 0.509 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.4368, allocations: 4.031 kB / 0.509 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.4374, allocations: 478.6 kB / 0.5094 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.4375, allocations: 104.8 kB / 0.5095 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.4375, allocations: 8 kB / 0.5095 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.4378, allocations: 8.875 kB / 0.5095 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4378, allocations: 27.91 kB / 0.5096 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.4379, allocations: 31.98 kB / 0.5096 GB, free: 4.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.4381, allocations: 190 kB / 0.5098 GB, free: 4.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4381, allocations: 0 / 0.5098 GB, free: 4.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.4386, allocations: 128.1 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.0003345/0.4389, allocations: 151 kB / 0.51 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006093/0.4395, allocations: 387 kB / 0.5104 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4395, allocations: 0 / 0.5104 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.4398, allocations: 223.5 kB / 0.5106 GB, free: 3.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.4407, allocations: 180.1 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.001095/0.4418, allocations: 0.6946 MB / 0.5115 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.4421, allocations: 0.7606 MB / 0.5122 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.4425, allocations: 110.9 kB / 0.5123 GB, free: 1.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.4427, allocations: 63.42 kB / 0.5124 GB, free: 1.406 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4427, allocations: 0 / 0.5124 GB, free: 1.406 MB / 414.1 MB Notification: Performance of Templates: time 0.01335/0.456, allocations: 8.703 MB / 0.5209 GB, free: 8.691 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 gbode -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