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.0009284/0.0009287, allocations: 94.97 kB / 16.95 MB, free: 6.457 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.0009646/0.0009647, allocations: 181.8 kB / 17.84 MB, free: 6.008 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.404/1.404, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004484/0.0004484, allocations: 16 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09389, allocations: 47.57 MB / 328.4 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.361/0.4549, allocations: 156.9 MB / 485.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004265/0.4593, allocations: 2.993 MB / 488.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.4597, allocations: 3.938 kB / 488.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.4604, allocations: 127.2 kB / 488.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009948/0.4614, allocations: 358.2 kB / 488.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.4623, allocations: 286.3 kB / 489 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.4638, allocations: 1.11 MB / 490.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.464, allocations: 73.17 kB / 490.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.4662, allocations: 0.6617 MB / 490.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006151/0.4668, allocations: 279 kB / 491.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.4669, allocations: 16 kB / 491.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.4674, allocations: 107.8 kB / 491.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.4675, allocations: 79.77 kB / 491.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.4677, allocations: 89.58 kB / 491.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.4683, allocations: 400.5 kB / 491.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4683, allocations: 0 / 491.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4683, allocations: 4 kB / 491.8 MB, free: 6.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.4683, allocations: 0 / 491.8 MB, free: 6.629 MB / 382.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.0009884/0.4693, allocations: 0.5151 MB / 492.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4694, allocations: 8.031 kB / 492.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.4697, allocations: 43.61 kB / 492.4 MB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.4702, allocations: 270.6 kB / 492.7 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.4702, allocations: 22.5 kB / 492.7 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.4703, allocations: 31.91 kB / 492.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.4709, allocations: 315.7 kB / 493 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.4709, allocations: 4 kB / 493 MB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.471, allocations: 11.95 kB / 493.1 MB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.471, allocations: 11.94 kB / 493.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.4713, allocations: 205.5 kB / 493.3 MB, free: 5.094 MB / 382.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.002071/0.4734, allocations: 1.585 MB / 494.9 MB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.4738, allocations: 170.8 kB / 495 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.4739, allocations: 100.8 kB / 495.1 MB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.474, allocations: 4 kB / 495.1 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.474, allocations: 38.56 kB / 495.2 MB, free: 3.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 3.567e-06/0.474, allocations: 3.984 kB / 495.2 MB, free: 3.027 MB / 382.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.005292/0.4793, allocations: 1.629 MB / 496.8 MB, free: 1.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.4794, allocations: 55.41 kB / 496.8 MB, free: 1.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.4797, allocations: 252.8 kB / 497.1 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.4798, allocations: 33.7 kB / 497.1 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.4799, allocations: 172.3 kB / 497.3 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.48, allocations: 98.55 kB / 497.4 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.48, allocations: 8 kB / 497.4 MB, free: 0.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4802, allocations: 338.8 kB / 497.7 MB, free: 292 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.4804, allocations: 87.75 kB / 497.8 MB, free: 204 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.4806, allocations: 195.7 kB / 498 MB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.4808, allocations: 115.9 kB / 498.1 MB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4808, allocations: 3.938 kB / 498.1 MB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006725/0.4815, allocations: 391 kB / 498.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4816, allocations: 7.953 kB / 498.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4816, allocations: 4 kB / 498.5 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.4819, allocations: 77.61 kB / 498.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.4822, allocations: 79.91 kB / 498.7 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.4837, allocations: 1.852 MB / 0.4888 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.484, allocations: 24 kB / 0.4888 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.484, allocations: 44.8 kB / 0.4889 GB, free: 13.2 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.4842, allocations: 157.7 kB / 0.489 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.4843, allocations: 27.72 kB / 0.489 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009975/0.4853, allocations: 443.6 kB / 0.4895 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4853, allocations: 4 kB / 0.4895 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4853, allocations: 0 / 0.4895 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005613/0.4859, allocations: 0.563 MB / 0.49 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.487, allocations: 0.731 MB / 0.4907 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.487, allocations: 0 / 0.4907 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.4873, allocations: 71.89 kB / 0.4908 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.835e-05/0.4874, allocations: 24.84 kB / 0.4908 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4875, allocations: 12 kB / 0.4908 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009491/0.4884, allocations: 1.288 MB / 0.4921 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4884, allocations: 4.188 kB / 0.4921 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.4892, allocations: 482.5 kB / 0.4925 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.4893, allocations: 108.8 kB / 0.4927 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.4894, allocations: 4 kB / 0.4927 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.4896, allocations: 16.06 kB / 0.4927 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.4897, allocations: 27.97 kB / 0.4927 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.4898, allocations: 31.98 kB / 0.4927 GB, free: 8.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.49, allocations: 182 kB / 0.4929 GB, free: 8.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.49, allocations: 4 kB / 0.4929 GB, free: 8.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005757/0.4906, allocations: 120 kB / 0.493 GB, free: 8.578 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003719/0.4909, allocations: 162.9 kB / 0.4932 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007447/0.4917, allocations: 383.1 kB / 0.4935 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4917, allocations: 0 / 0.4935 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.492, allocations: 222.6 kB / 0.4938 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.493, allocations: 156.5 kB / 0.4939 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.4944, allocations: 0.8317 MB / 0.4947 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4948, allocations: 0.7722 MB / 0.4955 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005781/0.4954, allocations: 114.9 kB / 0.4956 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.4956, allocations: 63.42 kB / 0.4956 GB, free: 5.805 MB / 398.1 MB Notification: Performance of SimCode: time 2.574e-06/0.4956, allocations: 0 / 0.4956 GB, free: 5.805 MB / 398.1 MB Notification: Performance of Templates: time 0.01473/0.5103, allocations: 8.277 MB / 0.5037 GB, free: 13.53 MB / 414.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