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.001472/0.001472, allocations: 108.3 kB / 18.4 MB, free: 4.566 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.001609/0.001609, allocations: 188.1 kB / 19.33 MB, free: 3.648 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.486/1.486, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001415/0.001415, allocations: 47.94 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4208/0.5236, allocations: 172.8 MB / 0.5358 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004482/0.5281, allocations: 3.228 MB / 0.5389 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.5287, allocations: 4 kB / 0.5389 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.5294, allocations: 166.9 kB / 0.5391 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.5306, allocations: 407.3 kB / 0.5395 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009718/0.5316, allocations: 343.8 kB / 0.5398 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.5329, allocations: 0.8953 MB / 0.5407 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.5332, allocations: 104.7 kB / 0.5408 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.5354, allocations: 0.795 MB / 0.5415 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.536, allocations: 270.9 kB / 0.5418 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-05/0.5361, allocations: 32 kB / 0.5418 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.5365, allocations: 115.9 kB / 0.5419 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.5367, allocations: 99.78 kB / 0.542 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.5369, allocations: 195.2 kB / 0.5422 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.5377, allocations: 0.5063 MB / 0.5427 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5377, allocations: 4 kB / 0.5427 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5377, allocations: 0 / 0.5427 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.5377, allocations: 0 / 0.5427 GB, free: 11.16 MB / 478.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.0009397/0.5387, allocations: 0.5853 MB / 0.5433 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5387, allocations: 19.89 kB / 0.5433 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.539, allocations: 43.61 kB / 0.5434 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.5395, allocations: 286.4 kB / 0.5436 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.5396, allocations: 25.38 kB / 0.5436 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.5396, allocations: 27.98 kB / 0.5437 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.5403, allocations: 315.7 kB / 0.544 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5403, allocations: 7.875 kB / 0.544 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.5403, allocations: 12 kB / 0.544 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.5404, allocations: 4 kB / 0.544 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.5407, allocations: 205.6 kB / 0.5442 GB, free: 9.535 MB / 478.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.001947/0.5427, allocations: 1.589 MB / 0.5457 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.543, allocations: 171.9 kB / 0.5459 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.5432, allocations: 96.77 kB / 0.546 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.5432, allocations: 11.98 kB / 0.546 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.5432, allocations: 38.5 kB / 0.5461 GB, free: 7.465 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.5433, allocations: 0 / 0.5461 GB, free: 7.465 MB / 478.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.005843/0.5491, allocations: 1.61 MB / 0.5476 GB, free: 5.723 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.5492, allocations: 59.41 kB / 0.5477 GB, free: 5.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.5495, allocations: 252.9 kB / 0.5479 GB, free: 5.398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.5496, allocations: 37.64 kB / 0.548 GB, free: 5.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.5497, allocations: 176.2 kB / 0.5481 GB, free: 5.176 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.5498, allocations: 94.64 kB / 0.5482 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.55, allocations: 81.69 kB / 0.5483 GB, free: 4.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5501, allocations: 334.8 kB / 0.5486 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.5503, allocations: 91.95 kB / 0.5487 GB, free: 4.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.5505, allocations: 187.8 kB / 0.5489 GB, free: 4.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.551, allocations: 312.2 kB / 0.5492 GB, free: 3.996 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.551, allocations: 0 / 0.5492 GB, free: 3.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007065/0.5517, allocations: 405.3 kB / 0.5496 GB, free: 3.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5517, allocations: 8 kB / 0.5496 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5517, allocations: 7.938 kB / 0.5496 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.552, allocations: 69.67 kB / 0.5496 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.5524, allocations: 87.89 kB / 0.5497 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.5539, allocations: 1.951 MB / 0.5516 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.5542, allocations: 12 kB / 0.5516 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.5542, allocations: 36 kB / 0.5517 GB, free: 1.254 MB / 478.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.0001951/0.5544, allocations: 158.4 kB / 0.5518 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.5545, allocations: 27.72 kB / 0.5519 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008558/0.5554, allocations: 448.4 kB / 0.5523 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5554, allocations: 0 / 0.5523 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5554, allocations: 4 kB / 0.5523 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1985/0.7539, allocations: 0.5571 MB / 0.5528 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.7551, allocations: 0.7338 MB / 0.5535 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7551, allocations: 1.375 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.7554, allocations: 70.62 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.879e-05/0.7555, allocations: 22.88 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.7556, allocations: 17 kB / 0.5537 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000665/0.7562, allocations: 1.372 MB / 0.555 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7562, allocations: 2.938 kB / 0.555 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.7568, allocations: 481.5 kB / 0.5555 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.7569, allocations: 99.89 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.757, allocations: 10.91 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.7572, allocations: 9.562 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.7572, allocations: 27.47 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.7573, allocations: 28.41 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.7575, allocations: 198.2 kB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7575, allocations: 0 / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.758, allocations: 119.1 kB / 0.5559 GB, free: 168.6 MB / 478.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.0003561/0.7584, allocations: 161.9 kB / 0.5561 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007255/0.7591, allocations: 370.8 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7591, allocations: 1.031 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.7594, allocations: 237.1 kB / 0.5567 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.7604, allocations: 165.7 kB / 0.5568 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.7615, allocations: 0.7112 MB / 0.5575 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.7617, allocations: 0.7671 MB / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.7619, allocations: 77.44 kB / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.7619, allocations: 0 / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01162/0.7735, allocations: 7.535 MB / 0.5657 GB, free: 166.2 MB / 478.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