Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 176 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007775/0.0007775, allocations: 97.8 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 4 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2257, allocations: 47.59 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3863/0.612, allocations: 165.2 MB / 0.5291 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005688/0.6178, allocations: 3.915 MB / 0.5329 GB, free: 9.918 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004876/0.6183, allocations: 3.656 kB / 0.5329 GB, free: 9.918 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007689/0.6191, allocations: 147.9 kB / 0.5331 GB, free: 9.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.6206, allocations: 383 kB / 0.5334 GB, free: 9.891 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.6219, allocations: 306.6 kB / 0.5337 GB, free: 9.883 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.6243, allocations: 1.347 MB / 0.5351 GB, free: 9.879 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.6246, allocations: 73.48 kB / 0.5351 GB, free: 9.863 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.6275, allocations: 0.7372 MB / 0.5358 GB, free: 9.832 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.6282, allocations: 284.7 kB / 0.5361 GB, free: 9.828 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.6284, allocations: 13.44 kB / 0.5361 GB, free: 9.828 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.629, allocations: 108.8 kB / 0.5362 GB, free: 9.824 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.6292, allocations: 79.56 kB / 0.5363 GB, free: 9.824 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.6296, allocations: 194.3 kB / 0.5365 GB, free: 9.793 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007825/0.6304, allocations: 0.4979 MB / 0.537 GB, free: 9.766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6304, allocations: 1.938 kB / 0.537 GB, free: 9.766 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6304, allocations: 0 / 0.537 GB, free: 9.766 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.6305, allocations: 0 / 0.537 GB, free: 9.766 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.001065/0.6315, allocations: 0.5144 MB / 0.5375 GB, free: 9.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6316, allocations: 12.25 kB / 0.5375 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.632, allocations: 42.45 kB / 0.5375 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.6325, allocations: 289.1 kB / 0.5378 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.6326, allocations: 16.53 kB / 0.5378 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.6327, allocations: 28.12 kB / 0.5379 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.6334, allocations: 315.9 kB / 0.5382 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6334, allocations: 3.938 kB / 0.5382 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.6335, allocations: 14.88 kB / 0.5382 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.6335, allocations: 8.25 kB / 0.5382 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.6339, allocations: 201.1 kB / 0.5384 GB, free: 8.984 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.002406/0.6364, allocations: 1.588 MB / 0.5399 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.6368, allocations: 169.2 kB / 0.5401 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.637, allocations: 98.69 kB / 0.5402 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.637, allocations: 10.62 kB / 0.5402 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.6371, allocations: 40.3 kB / 0.5402 GB, free: 7.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.6371, allocations: 0 / 0.5402 GB, free: 7.711 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.007239/0.6443, allocations: 1.615 MB / 0.5418 GB, free: 6.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.6444, allocations: 54.34 kB / 0.5419 GB, free: 6.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.6448, allocations: 257.8 kB / 0.5421 GB, free: 6.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.6449, allocations: 32.02 kB / 0.5421 GB, free: 6.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.645, allocations: 181.9 kB / 0.5423 GB, free: 6.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.6451, allocations: 91.42 kB / 0.5424 GB, free: 6.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.6452, allocations: 9.906 kB / 0.5424 GB, free: 6.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6453, allocations: 334.7 kB / 0.5427 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.6455, allocations: 95.44 kB / 0.5428 GB, free: 6.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.6459, allocations: 184.7 kB / 0.543 GB, free: 6.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.6464, allocations: 308.3 kB / 0.5433 GB, free: 6.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6465, allocations: 0 / 0.5433 GB, free: 6.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000858/0.6473, allocations: 393.2 kB / 0.5437 GB, free: 5.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.6474, allocations: 8.812 kB / 0.5437 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6474, allocations: 9.156 kB / 0.5437 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.6477, allocations: 72.31 kB / 0.5437 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.6481, allocations: 83.27 kB / 0.5438 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.6499, allocations: 1.858 MB / 0.5456 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.6503, allocations: 22.11 kB / 0.5457 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.6504, allocations: 39.11 kB / 0.5457 GB, free: 4.16 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.0002183/0.6507, allocations: 156.5 kB / 0.5458 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.6508, allocations: 38.17 kB / 0.5459 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.6521, allocations: 431.1 kB / 0.5463 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6521, allocations: 2.031 kB / 0.5463 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6521, allocations: 3.031 kB / 0.5463 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007211/0.6528, allocations: 0.5625 MB / 0.5468 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.6541, allocations: 0.7271 MB / 0.5476 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.6542, allocations: 6.812 kB / 0.5476 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.6546, allocations: 70.14 kB / 0.5476 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-05/0.6547, allocations: 27.75 kB / 0.5477 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.6548, allocations: 14.34 kB / 0.5477 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.6559, allocations: 1.274 MB / 0.5489 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6559, allocations: 0 / 0.5489 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.6568, allocations: 484.5 kB / 0.5494 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.6569, allocations: 103.6 kB / 0.5495 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.657, allocations: 10.59 kB / 0.5495 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.6574, allocations: 20.25 kB / 0.5495 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.6574, allocations: 28.22 kB / 0.5495 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.18e-05/0.6575, allocations: 29.8 kB / 0.5496 GB, free: 1.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.6578, allocations: 189.8 kB / 0.5497 GB, free: 1.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6578, allocations: 0 / 0.5497 GB, free: 1.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007431/0.6585, allocations: 126.8 kB / 0.5499 GB, free: 1.27 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.0004619/0.659, allocations: 165.3 kB / 0.55 GB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.6598, allocations: 370.7 kB / 0.5504 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6599, allocations: 0 / 0.5504 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.6603, allocations: 226.4 kB / 0.5506 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.6617, allocations: 168.2 kB / 0.5508 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.6633, allocations: 0.857 MB / 0.5516 GB, free: 256 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.6638, allocations: 0.7699 MB / 0.5523 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009226/0.6647, allocations: 115.9 kB / 0.5525 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.6651, allocations: 68 kB / 0.5525 GB, free: 15.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6651, allocations: 0 / 0.5525 GB, free: 15.43 MB / 410.7 MB Notification: Performance of Templates: time 0.01809/0.6832, allocations: 8.415 MB / 0.5607 GB, free: 11.21 MB / 410.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/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