Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,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.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001002/0.001002, allocations: 198 kB / 18.07 MB, free: 5.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.335/1.335, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001178/0.001178, allocations: 47.91 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/0.08807, allocations: 46.64 MB / 326.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3589/0.447, allocations: 170.6 MB / 497.2 MB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.4508, allocations: 3.225 MB / 0.4887 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.4511, allocations: 0 / 0.4887 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.4517, allocations: 155.2 kB / 0.4889 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000919/0.4526, allocations: 383.7 kB / 0.4892 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.4534, allocations: 314.4 kB / 0.4895 GB, free: 8.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.4547, allocations: 1.348 MB / 0.4909 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.4549, allocations: 80.64 kB / 0.4909 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.4567, allocations: 0.7162 MB / 0.4916 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.4572, allocations: 290.8 kB / 0.4919 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.4572, allocations: 16 kB / 0.4919 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.4575, allocations: 107.9 kB / 0.492 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4577, allocations: 87.66 kB / 0.4921 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.4579, allocations: 175.3 kB / 0.4923 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.4584, allocations: 0.4985 MB / 0.4928 GB, free: 5.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4584, allocations: 0 / 0.4928 GB, free: 5.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4584, allocations: 0 / 0.4928 GB, free: 5.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.4585, allocations: 0 / 0.4928 GB, free: 5.441 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.0008739/0.4593, allocations: 0.5931 MB / 0.4933 GB, free: 4.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4594, allocations: 12.03 kB / 0.4934 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.4597, allocations: 42.81 kB / 0.4934 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.4601, allocations: 286.4 kB / 0.4937 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4601, allocations: 20.56 kB / 0.4937 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.4602, allocations: 24 kB / 0.4937 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.4607, allocations: 323.6 kB / 0.494 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4607, allocations: 3.938 kB / 0.494 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.4607, allocations: 12 kB / 0.494 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4608, allocations: 7.984 kB / 0.494 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.4611, allocations: 209.5 kB / 0.4942 GB, free: 3.812 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.00173/0.4628, allocations: 1.581 MB / 0.4958 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.4631, allocations: 175.1 kB / 0.496 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.4633, allocations: 100.8 kB / 0.4961 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.4633, allocations: 4 kB / 0.4961 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.4634, allocations: 42.56 kB / 0.4961 GB, free: 1.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.4634, allocations: 0 / 0.4961 GB, free: 1.746 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.005691/0.4691, allocations: 1.618 MB / 0.4977 GB, free: 0 / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.4692, allocations: 51.41 kB / 0.4977 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.4695, allocations: 260.9 kB / 0.498 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.4695, allocations: 29.7 kB / 0.498 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4696, allocations: 188.1 kB / 0.4982 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.4697, allocations: 90.66 kB / 0.4983 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.4698, allocations: 85.38 kB / 0.4984 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.47, allocations: 338.8 kB / 0.4987 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4701, allocations: 91.89 kB / 0.4988 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4704, allocations: 195.7 kB / 0.4989 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.4708, allocations: 312.2 kB / 0.4992 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4708, allocations: 0 / 0.4992 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006301/0.4714, allocations: 394.8 kB / 0.4996 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4715, allocations: 4 kB / 0.4996 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4715, allocations: 4 kB / 0.4996 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.4717, allocations: 73.67 kB / 0.4997 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.4721, allocations: 83.89 kB / 0.4998 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.4733, allocations: 1.86 MB / 0.5016 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.4736, allocations: 15.91 kB / 0.5016 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.4736, allocations: 43.98 kB / 0.5017 GB, free: 11.61 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.000156/0.4738, allocations: 149.7 kB / 0.5018 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.4739, allocations: 31.66 kB / 0.5018 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008925/0.4748, allocations: 437.3 kB / 0.5022 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4748, allocations: 4 kB / 0.5022 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4748, allocations: 0.875 kB / 0.5022 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004708/0.4753, allocations: 0.5552 MB / 0.5028 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.4762, allocations: 0.7388 MB / 0.5035 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4762, allocations: 0 / 0.5035 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.4766, allocations: 71.89 kB / 0.5036 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/0.4766, allocations: 20.84 kB / 0.5036 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.4767, allocations: 20.05 kB / 0.5036 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008765/0.4776, allocations: 1.284 MB / 0.5049 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4776, allocations: 8.188 kB / 0.5049 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.4783, allocations: 474.5 kB / 0.5053 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.4783, allocations: 104.8 kB / 0.5054 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.4784, allocations: 8 kB / 0.5054 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.4787, allocations: 19.97 kB / 0.5055 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.4787, allocations: 27.84 kB / 0.5055 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.4788, allocations: 31.98 kB / 0.5055 GB, free: 7.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.479, allocations: 194 kB / 0.5057 GB, free: 7.109 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.479, allocations: 0 / 0.5057 GB, free: 7.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005119/0.4795, allocations: 123.9 kB / 0.5058 GB, free: 6.988 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.0003622/0.4799, allocations: 147.1 kB / 0.506 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006724/0.4805, allocations: 371 kB / 0.5063 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4806, allocations: 4 kB / 0.5063 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.4809, allocations: 230.5 kB / 0.5065 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.4818, allocations: 159.8 kB / 0.5067 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.4831, allocations: 0.7953 MB / 0.5075 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4835, allocations: 0.7723 MB / 0.5082 GB, free: 4.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005818/0.4841, allocations: 114.9 kB / 0.5083 GB, free: 4.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.4843, allocations: 63.41 kB / 0.5084 GB, free: 4.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4843, allocations: 0 / 0.5084 GB, free: 4.27 MB / 414.1 MB Notification: Performance of Templates: time 0.01457/0.4989, allocations: 8.441 MB / 0.5166 GB, free: 11.82 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches