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.001373/0.001373, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001509/0.001509, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.413/1.413, allocations: 205.1 MB / 225 MB, free: 12.3 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.001263/0.001263, allocations: 59.91 kB / 281.3 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09815, allocations: 46.62 MB / 328 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3449/0.4431, allocations: 172.7 MB / 0.489 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.447, allocations: 3.213 MB / 0.4921 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.4473, allocations: 8 kB / 0.4921 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.4478, allocations: 174.8 kB / 0.4923 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008377/0.4487, allocations: 411.2 kB / 0.4927 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.4495, allocations: 348.8 kB / 0.493 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000865/0.4504, allocations: 0.8953 MB / 0.4939 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.4506, allocations: 105.1 kB / 0.494 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.4523, allocations: 0.7901 MB / 0.4947 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.4526, allocations: 270.9 kB / 0.495 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.4527, allocations: 28 kB / 0.495 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.453, allocations: 127.9 kB / 0.4952 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4532, allocations: 95.72 kB / 0.4952 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.4534, allocations: 179.3 kB / 0.4954 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.454, allocations: 0.5102 MB / 0.4959 GB, free: 3.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.454, allocations: 4 kB / 0.4959 GB, free: 3.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.454, allocations: 3.984 kB / 0.4959 GB, free: 3.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.454, allocations: 0 / 0.4959 GB, free: 3.07 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.000849/0.4549, allocations: 0.5814 MB / 0.4965 GB, free: 2.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4549, allocations: 15.89 kB / 0.4965 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.4552, allocations: 51.55 kB / 0.4966 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.4556, allocations: 298.3 kB / 0.4968 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.4556, allocations: 16.56 kB / 0.4969 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.4557, allocations: 24 kB / 0.4969 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.4562, allocations: 315.7 kB / 0.4972 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4562, allocations: 7.938 kB / 0.4972 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.4562, allocations: 12 kB / 0.4972 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4562, allocations: 8 kB / 0.4972 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.4566, allocations: 201.6 kB / 0.4974 GB, free: 1.445 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.001819/0.4584, allocations: 1.589 MB / 0.499 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4587, allocations: 171.8 kB / 0.4991 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.4589, allocations: 108.7 kB / 0.4992 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.4589, allocations: 4 kB / 0.4992 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.459, allocations: 38.56 kB / 0.4993 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.459, allocations: 3.938 kB / 0.4993 GB, free: 15.37 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.006019/0.465, allocations: 1.609 MB / 0.5008 GB, free: 13.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.4651, allocations: 55.41 kB / 0.5009 GB, free: 13.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.4654, allocations: 252.9 kB / 0.5011 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.4654, allocations: 33.7 kB / 0.5012 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.4655, allocations: 176.2 kB / 0.5013 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.4656, allocations: 90.66 kB / 0.5014 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.4658, allocations: 85.38 kB / 0.5015 GB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4659, allocations: 342.8 kB / 0.5018 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.4661, allocations: 87.95 kB / 0.5019 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.4663, allocations: 187.7 kB / 0.5021 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.4667, allocations: 307.7 kB / 0.5024 GB, free: 11.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4667, allocations: 4 kB / 0.5024 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006501/0.4674, allocations: 394.7 kB / 0.5028 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4674, allocations: 8 kB / 0.5028 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4674, allocations: 7.938 kB / 0.5028 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.4677, allocations: 74.08 kB / 0.5028 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.468, allocations: 83.89 kB / 0.5029 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.4695, allocations: 1.954 MB / 0.5048 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4697, allocations: 16.03 kB / 0.5048 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.4698, allocations: 32 kB / 0.5049 GB, free: 9.16 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.0001735/0.47, allocations: 162.8 kB / 0.505 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.47, allocations: 31.62 kB / 0.5051 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009494/0.471, allocations: 442 kB / 0.5055 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.471, allocations: 4 kB / 0.5055 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.471, allocations: 0 / 0.5055 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005441/0.4716, allocations: 0.563 MB / 0.506 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4726, allocations: 0.7349 MB / 0.5068 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4726, allocations: 64 / 0.5068 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.4729, allocations: 75.89 kB / 0.5068 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-05/0.473, allocations: 20.84 kB / 0.5069 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.4731, allocations: 12 kB / 0.5069 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/0.474, allocations: 1.378 MB / 0.5082 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.474, allocations: 0 / 0.5082 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.4747, allocations: 485.9 kB / 0.5087 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.4747, allocations: 100.8 kB / 0.5088 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.4748, allocations: 8 kB / 0.5088 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.4751, allocations: 11.98 kB / 0.5088 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.4751, allocations: 23.97 kB / 0.5088 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.4752, allocations: 35.98 kB / 0.5088 GB, free: 4.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.4754, allocations: 186 kB / 0.509 GB, free: 4.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4754, allocations: 0 / 0.509 GB, free: 4.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005261/0.4759, allocations: 128 kB / 0.5091 GB, free: 4.43 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.0003535/0.4763, allocations: 159.1 kB / 0.5093 GB, free: 4.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007171/0.477, allocations: 387 kB / 0.5097 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.477, allocations: 0.8125 kB / 0.5097 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.4773, allocations: 234.6 kB / 0.5099 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/0.4783, allocations: 169.1 kB / 0.51 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.4795, allocations: 0.7307 MB / 0.5108 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.4798, allocations: 0.7606 MB / 0.5115 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.4801, allocations: 79.41 kB / 0.5116 GB, free: 1.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4801, allocations: 3.938 kB / 0.5116 GB, free: 1.836 MB / 414.1 MB Notification: Performance of Templates: time 0.0103/0.4904, allocations: 7.503 MB / 0.5189 GB, free: 10.32 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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