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.001372/0.001372, allocations: 107.2 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.001506/0.001506, 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.316/1.316, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001255/0.001255, allocations: 51.94 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08493, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3253/0.4103, allocations: 172.8 MB / 0.4897 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004077/0.4144, allocations: 3.205 MB / 0.4929 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.4147, allocations: 4 kB / 0.4929 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.4153, allocations: 178.9 kB / 0.493 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008944/0.4162, allocations: 407.2 kB / 0.4934 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.417, allocations: 344.5 kB / 0.4938 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008504/0.4179, allocations: 0.8952 MB / 0.4946 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.4181, allocations: 105.1 kB / 0.4947 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.4197, allocations: 0.7938 MB / 0.4955 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.42, allocations: 274.9 kB / 0.4958 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.4201, allocations: 32 kB / 0.4958 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.4204, allocations: 127.9 kB / 0.4959 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.4205, allocations: 87.78 kB / 0.496 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.4207, allocations: 187.2 kB / 0.4962 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.4212, allocations: 0.5103 MB / 0.4967 GB, free: 2.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4213, allocations: 3.938 kB / 0.4967 GB, free: 2.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4213, allocations: 0 / 0.4967 GB, free: 2.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4213, allocations: 0 / 0.4967 GB, free: 2.516 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.0008169/0.4221, allocations: 0.5853 MB / 0.4973 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4221, allocations: 15.89 kB / 0.4973 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.4224, allocations: 43.61 kB / 0.4973 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.4229, allocations: 294.3 kB / 0.4976 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4229, allocations: 24.56 kB / 0.4976 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.423, allocations: 24 kB / 0.4976 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.4234, allocations: 319.7 kB / 0.4979 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4235, allocations: 3.938 kB / 0.4979 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4235, allocations: 19.98 kB / 0.498 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4235, allocations: 8 kB / 0.498 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.4238, allocations: 197.6 kB / 0.4982 GB, free: 0.8867 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.001761/0.4256, allocations: 1.589 MB / 0.4997 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.4259, allocations: 177.6 kB / 0.4999 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4261, allocations: 96.77 kB / 0.5 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.4261, allocations: 7.938 kB / 0.5 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4261, allocations: 35.44 kB / 0.5 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.462e-06/0.4262, allocations: 0 / 0.5 GB, free: 14.82 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.00523/0.4314, allocations: 1.612 MB / 0.5016 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.4314, allocations: 55.41 kB / 0.5016 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4317, allocations: 256.9 kB / 0.5019 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.4317, allocations: 33.7 kB / 0.5019 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4319, allocations: 176.2 kB / 0.5021 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.4319, allocations: 90.66 kB / 0.5022 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.4321, allocations: 93.53 kB / 0.5023 GB, free: 12.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4322, allocations: 334.8 kB / 0.5026 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4324, allocations: 87.95 kB / 0.5027 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.4326, allocations: 191.7 kB / 0.5028 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.433, allocations: 303.8 kB / 0.5031 GB, free: 11.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.433, allocations: 4 kB / 0.5031 GB, free: 11.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006062/0.4336, allocations: 390.7 kB / 0.5035 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4336, allocations: 8 kB / 0.5035 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4336, allocations: 4.406 kB / 0.5035 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/0.4338, allocations: 73.67 kB / 0.5036 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.4342, allocations: 87.89 kB / 0.5037 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.4356, allocations: 1.956 MB / 0.5056 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.4358, allocations: 8 kB / 0.5056 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.4359, allocations: 39.98 kB / 0.5056 GB, free: 8.613 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.0001495/0.436, allocations: 158.8 kB / 0.5058 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.4361, allocations: 31.62 kB / 0.5058 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008246/0.4369, allocations: 447.3 kB / 0.5062 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4369, allocations: 4 kB / 0.5062 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.4369, allocations: 4 kB / 0.5063 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005612/0.4375, allocations: 0.5591 MB / 0.5068 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.4385, allocations: 0.7313 MB / 0.5075 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4385, allocations: 0 / 0.5075 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.4388, allocations: 75.89 kB / 0.5076 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-05/0.4389, allocations: 20.91 kB / 0.5076 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.439, allocations: 16 kB / 0.5076 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008747/0.4398, allocations: 1.376 MB / 0.509 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4398, allocations: 0 / 0.509 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.4405, allocations: 482.7 kB / 0.5094 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.4406, allocations: 108.8 kB / 0.5095 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.4406, allocations: 4 kB / 0.5095 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.4409, allocations: 8 kB / 0.5095 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4409, allocations: 23.97 kB / 0.5096 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.441, allocations: 32.86 kB / 0.5096 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.4412, allocations: 189.9 kB / 0.5098 GB, free: 4.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4412, allocations: 0 / 0.5098 GB, free: 4.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.4417, allocations: 132.1 kB / 0.5099 GB, free: 3.887 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.0003331/0.442, allocations: 151 kB / 0.51 GB, free: 3.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000632/0.4426, allocations: 379.1 kB / 0.5104 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4427, allocations: 7.938 kB / 0.5104 GB, free: 3.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.4429, allocations: 227.4 kB / 0.5106 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.4438, allocations: 175.4 kB / 0.5108 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.4449, allocations: 0.6917 MB / 0.5115 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4453, allocations: 0.7606 MB / 0.5122 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000381/0.4457, allocations: 118.9 kB / 0.5123 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.4459, allocations: 63.42 kB / 0.5124 GB, free: 1.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4459, allocations: 0 / 0.5124 GB, free: 1.25 MB / 414.1 MB Notification: Performance of Templates: time 0.01313/0.459, allocations: 8.699 MB / 0.5209 GB, free: 8.535 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 -s cvode -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