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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.1 MB / 223.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009215/0.0009215, allocations: 108.5 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008017/0.0008018, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1874, allocations: 46.62 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3058/0.4933, allocations: 170.6 MB / 0.5317 GB, free: 15.98 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.4962, allocations: 3.238 MB / 0.5349 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.4964, allocations: 2.562 kB / 0.5349 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.497, allocations: 139.7 kB / 0.535 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006758/0.4977, allocations: 387.9 kB / 0.5354 GB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.4983, allocations: 319.4 kB / 0.5357 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009258/0.4993, allocations: 1.349 MB / 0.537 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4994, allocations: 79.17 kB / 0.5371 GB, free: 15.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.5007, allocations: 0.7218 MB / 0.5378 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.501, allocations: 287.9 kB / 0.538 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.501, allocations: 15.31 kB / 0.5381 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.5013, allocations: 105.8 kB / 0.5382 GB, free: 15.8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.5014, allocations: 92.75 kB / 0.5382 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.5016, allocations: 171.5 kB / 0.5384 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.502, allocations: 0.5045 MB / 0.5389 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.502, allocations: 1.094 kB / 0.5389 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.502, allocations: 4 kB / 0.5389 GB, free: 15.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.5021, allocations: 0 / 0.5389 GB, free: 15.77 MB / 394.7 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.0007441/0.5028, allocations: 0.5834 MB / 0.5395 GB, free: 15.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.5028, allocations: 10.47 kB / 0.5395 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.5031, allocations: 42.17 kB / 0.5395 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.5034, allocations: 286.5 kB / 0.5398 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.5035, allocations: 19.48 kB / 0.5398 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.5035, allocations: 28 kB / 0.5398 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.5039, allocations: 319.8 kB / 0.5401 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5039, allocations: 4.641 kB / 0.5401 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.504, allocations: 16.12 kB / 0.5402 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.504, allocations: 4.875 kB / 0.5402 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.5043, allocations: 204.4 kB / 0.5404 GB, free: 14.98 MB / 394.7 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.001592/0.5059, allocations: 1.589 MB / 0.5419 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.5061, allocations: 174.6 kB / 0.5421 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.5063, allocations: 96.09 kB / 0.5422 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.5063, allocations: 8.156 kB / 0.5422 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5063, allocations: 37.42 kB / 0.5422 GB, free: 13.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.5063, allocations: 0 / 0.5422 GB, free: 13.71 MB / 394.7 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.004974/0.5113, allocations: 1.618 MB / 0.5438 GB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.5114, allocations: 54.72 kB / 0.5438 GB, free: 12.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.5116, allocations: 251.9 kB / 0.5441 GB, free: 12.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.5116, allocations: 29.39 kB / 0.5441 GB, free: 12.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5117, allocations: 181 kB / 0.5443 GB, free: 12.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/0.5118, allocations: 96.14 kB / 0.5444 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.5119, allocations: 88.89 kB / 0.5445 GB, free: 12.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.512, allocations: 339.5 kB / 0.5448 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.5122, allocations: 85.36 kB / 0.5449 GB, free: 12.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.5124, allocations: 192.8 kB / 0.5451 GB, free: 12.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.5127, allocations: 313.7 kB / 0.5454 GB, free: 11.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5128, allocations: 5.203 kB / 0.5454 GB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000541/0.5133, allocations: 389.2 kB / 0.5457 GB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5133, allocations: 8.844 kB / 0.5457 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5133, allocations: 5.594 kB / 0.5457 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.5135, allocations: 78.66 kB / 0.5458 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.5138, allocations: 86.36 kB / 0.5459 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.515, allocations: 1.854 MB / 0.5477 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.5153, allocations: 27.08 kB / 0.5477 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.5153, allocations: 40.28 kB / 0.5478 GB, free: 10.02 MB / 394.7 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.0001355/0.5154, allocations: 157.1 kB / 0.5479 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.5155, allocations: 31 kB / 0.548 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008187/0.5163, allocations: 433.1 kB / 0.5484 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5164, allocations: 2.781 kB / 0.5484 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.5164, allocations: 2.094 kB / 0.5484 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004765/0.5169, allocations: 0.5594 MB / 0.5489 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/0.5177, allocations: 0.7391 MB / 0.5496 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5177, allocations: 2.469 kB / 0.5496 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.518, allocations: 68.98 kB / 0.5497 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.215e-05/0.5181, allocations: 21.59 kB / 0.5497 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.5181, allocations: 11.12 kB / 0.5497 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007306/0.5188, allocations: 1.288 MB / 0.551 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5189, allocations: 0 / 0.551 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02547/0.5443, allocations: 5.777 MB / 0.5566 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.5444, allocations: 97.89 kB / 0.5567 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.5445, allocations: 6.406 kB / 0.5567 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.5447, allocations: 23.52 kB / 0.5568 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.5448, allocations: 26.31 kB / 0.5568 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.5448, allocations: 33.7 kB / 0.5568 GB, free: 3.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.545, allocations: 192.8 kB / 0.557 GB, free: 3.891 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.545, allocations: 0 / 0.557 GB, free: 3.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009013/0.546, allocations: 334.7 kB / 0.5573 GB, free: 3.879 MB / 394.7 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.001111/0.5471, allocations: 208.4 kB / 0.5575 GB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006748/0.5478, allocations: 376.3 kB / 0.5579 GB, free: 3.586 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5478, allocations: 0.9062 kB / 0.5579 GB, free: 3.586 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.5481, allocations: 231.4 kB / 0.5581 GB, free: 3.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.5491, allocations: 155.3 kB / 0.5582 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.5506, allocations: 1.143 MB / 0.5594 GB, free: 2.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.5509, allocations: 0.7688 MB / 0.5601 GB, free: 1.895 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007104/0.5516, allocations: 165.1 kB / 0.5603 GB, free: 1.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.5519, allocations: 105.6 kB / 0.5604 GB, free: 1.785 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5519, allocations: 0 / 0.5604 GB, free: 1.785 MB / 394.7 MB Notification: Performance of Templates: time 0.02417/0.5761, allocations: 21.14 MB / 0.581 GB, free: 12.95 MB / 426.7 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@2/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