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.001047/0.001047, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.00103/0.00103, allocations: 192 kB / 19.29 MB, free: 3.715 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.299/1.299, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.002114/0.002114, allocations: 55.92 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.1011, allocations: 46.62 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.3213/0.4225, allocations: 172.8 MB / 0.4897 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.4263, allocations: 3.201 MB / 0.4929 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.4265, allocations: 4 kB / 0.4929 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.427, allocations: 178.9 kB / 0.493 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007847/0.4278, allocations: 409.6 kB / 0.4934 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.4286, allocations: 349.7 kB / 0.4938 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.4295, allocations: 0.8951 MB / 0.4946 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.4297, allocations: 109.1 kB / 0.4947 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.4312, allocations: 0.7901 MB / 0.4955 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.4316, allocations: 270.9 kB / 0.4958 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.4316, allocations: 32 kB / 0.4958 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.4319, allocations: 123.9 kB / 0.4959 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.432, allocations: 95.72 kB / 0.496 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.4322, allocations: 183.3 kB / 0.4962 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.4328, allocations: 0.5155 MB / 0.4967 GB, free: 2.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4328, allocations: 4 kB / 0.4967 GB, free: 2.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4328, allocations: 0 / 0.4967 GB, free: 2.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.4328, allocations: 0 / 0.4967 GB, free: 2.52 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.0008434/0.4337, allocations: 0.5853 MB / 0.4973 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4337, allocations: 15.89 kB / 0.4973 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.434, allocations: 43.61 kB / 0.4973 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.4345, allocations: 294.4 kB / 0.4976 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4345, allocations: 20.56 kB / 0.4976 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.4346, allocations: 24 kB / 0.4976 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.435, allocations: 319.7 kB / 0.498 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.4351, allocations: 7.922 kB / 0.498 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.4351, allocations: 12 kB / 0.498 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.4351, allocations: 4 kB / 0.498 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.4354, allocations: 205.6 kB / 0.4982 GB, free: 0.8945 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.001708/0.4372, allocations: 1.585 MB / 0.4997 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.4375, allocations: 176.4 kB / 0.4999 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.4376, allocations: 104.7 kB / 0.5 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.4377, allocations: 4 kB / 0.5 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4377, allocations: 38.5 kB / 0.5 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.4377, allocations: 4 kB / 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.005377/0.4431, allocations: 1.605 MB / 0.5016 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.4431, allocations: 55.41 kB / 0.5017 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.4434, allocations: 252.9 kB / 0.5019 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.4434, allocations: 33.7 kB / 0.5019 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.4436, allocations: 184.1 kB / 0.5021 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.4436, allocations: 90.66 kB / 0.5022 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.4438, allocations: 85.59 kB / 0.5023 GB, free: 12.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4439, allocations: 334.8 kB / 0.5026 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.444, allocations: 87.95 kB / 0.5027 GB, free: 11.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.4443, allocations: 199.6 kB / 0.5029 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.4447, allocations: 303.8 kB / 0.5032 GB, free: 11.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4447, allocations: 4 kB / 0.5032 GB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006318/0.4453, allocations: 391.1 kB / 0.5035 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4454, allocations: 12.06 kB / 0.5035 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4454, allocations: 4 kB / 0.5035 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.4456, allocations: 69.67 kB / 0.5036 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.446, allocations: 87.89 kB / 0.5037 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.4473, allocations: 1.946 MB / 0.5056 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.4476, allocations: 16.22 kB / 0.5056 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.4476, allocations: 35.98 kB / 0.5056 GB, free: 8.621 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.0001585/0.4478, allocations: 158.7 kB / 0.5058 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.4479, allocations: 31.62 kB / 0.5058 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/0.4487, allocations: 447 kB / 0.5063 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4487, allocations: 0 / 0.5063 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.4488, allocations: 8 kB / 0.5063 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005408/0.4493, allocations: 0.5591 MB / 0.5068 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.4503, allocations: 0.7313 MB / 0.5075 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4503, allocations: 8 kB / 0.5075 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.4507, allocations: 71.89 kB / 0.5076 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.762e-05/0.4508, allocations: 24.83 kB / 0.5076 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.4508, allocations: 12 kB / 0.5076 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008776/0.4517, allocations: 1.378 MB / 0.509 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4517, allocations: 0 / 0.509 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.4523, allocations: 482.7 kB / 0.5094 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.4524, allocations: 104.8 kB / 0.5095 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.4525, allocations: 8 kB / 0.5095 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.4527, allocations: 8 kB / 0.5096 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.4528, allocations: 23.97 kB / 0.5096 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.4528, allocations: 27.98 kB / 0.5096 GB, free: 4.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.453, allocations: 194 kB / 0.5098 GB, free: 4.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.453, allocations: 0 / 0.5098 GB, free: 4.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.4535, allocations: 124 kB / 0.5099 GB, free: 3.895 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.0003518/0.4539, allocations: 155.1 kB / 0.5101 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006277/0.4545, allocations: 375.1 kB / 0.5104 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4545, allocations: 0 / 0.5104 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.4548, allocations: 231.4 kB / 0.5106 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/0.4557, allocations: 180.1 kB / 0.5108 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.4568, allocations: 0.6907 MB / 0.5115 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.4571, allocations: 0.7645 MB / 0.5122 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.4575, allocations: 122.9 kB / 0.5123 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.4577, allocations: 63.42 kB / 0.5124 GB, free: 1.246 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4577, allocations: 0 / 0.5124 GB, free: 1.246 MB / 414.1 MB Notification: Performance of Templates: time 0.01329/0.471, 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 gbode -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