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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001197/0.001197, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.34/1.34, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001446/0.001446, allocations: 52.14 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.08982, allocations: 46.62 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3511/0.441, allocations: 172.8 MB / 0.5346 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.4448, allocations: 3.22 MB / 0.5378 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.4452, allocations: 7.938 kB / 0.5378 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.4458, allocations: 174.9 kB / 0.5379 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009619/0.4468, allocations: 405.8 kB / 0.5383 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.4477, allocations: 339.8 kB / 0.5386 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009833/0.4487, allocations: 0.8992 MB / 0.5395 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.4489, allocations: 100.7 kB / 0.5396 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.4506, allocations: 0.8063 MB / 0.5404 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.4511, allocations: 267 kB / 0.5407 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.4512, allocations: 32 kB / 0.5407 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.4515, allocations: 123.8 kB / 0.5408 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.4517, allocations: 99.7 kB / 0.5409 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.4519, allocations: 191.3 kB / 0.5411 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.4526, allocations: 0.513 MB / 0.5416 GB, free: 11.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4526, allocations: 4 kB / 0.5416 GB, free: 11.38 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4526, allocations: 0 / 0.5416 GB, free: 11.38 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.4526, allocations: 0 / 0.5416 GB, free: 11.38 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.0008799/0.4535, allocations: 0.596 MB / 0.5422 GB, free: 10.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4536, allocations: 8.031 kB / 0.5422 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.4536, allocations: 66.48 kB / 0.5422 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.4539, allocations: 43.8 kB / 0.5423 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.4544, allocations: 294.5 kB / 0.5426 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4544, allocations: 16.56 kB / 0.5426 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.4544, allocations: 24 kB / 0.5426 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.4549, allocations: 328.1 kB / 0.5429 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4549, allocations: 0 / 0.5429 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.455, allocations: 15.94 kB / 0.5429 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.455, allocations: 8 kB / 0.5429 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.4553, allocations: 201.6 kB / 0.5431 GB, free: 9.672 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.001705/0.457, allocations: 1.594 MB / 0.5447 GB, free: 7.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.4573, allocations: 171.1 kB / 0.5449 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.4575, allocations: 96.77 kB / 0.5449 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.4575, allocations: 8 kB / 0.545 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.4576, allocations: 42.55 kB / 0.545 GB, free: 7.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 2.945e-06/0.4576, allocations: 0 / 0.545 GB, free: 7.598 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.005615/0.4632, allocations: 1.621 MB / 0.5466 GB, free: 5.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4632, allocations: 55.41 kB / 0.5466 GB, free: 5.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.4635, allocations: 257 kB / 0.5469 GB, free: 5.523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.4635, allocations: 29.7 kB / 0.5469 GB, free: 5.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4636, allocations: 176.5 kB / 0.5471 GB, free: 5.309 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.4637, allocations: 107.1 kB / 0.5472 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.4638, allocations: 77.69 kB / 0.5472 GB, free: 5.121 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.464, allocations: 342.8 kB / 0.5476 GB, free: 4.777 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.4641, allocations: 87.97 kB / 0.5477 GB, free: 4.691 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.4643, allocations: 187.8 kB / 0.5478 GB, free: 4.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.4647, allocations: 300.3 kB / 0.5481 GB, free: 4.129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4647, allocations: 3.625 kB / 0.5481 GB, free: 4.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006505/0.4654, allocations: 410.8 kB / 0.5485 GB, free: 3.715 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4654, allocations: 11.94 kB / 0.5485 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4654, allocations: 0 / 0.5485 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.4657, allocations: 73.62 kB / 0.5486 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.466, allocations: 83.89 kB / 0.5487 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.4674, allocations: 1.947 MB / 0.5506 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.4676, allocations: 12 kB / 0.5506 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.4677, allocations: 47.97 kB / 0.5506 GB, free: 1.375 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.0001651/0.4678, allocations: 162.3 kB / 0.5508 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.4679, allocations: 31.81 kB / 0.5508 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008232/0.4688, allocations: 442.5 kB / 0.5512 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.4688, allocations: 4 kB / 0.5513 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4688, allocations: 0 / 0.5513 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000501/0.4693, allocations: 0.5591 MB / 0.5518 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1739/0.6432, allocations: 0.7265 MB / 0.5525 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6433, allocations: 1.406 kB / 0.5525 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.6436, allocations: 69.31 kB / 0.5526 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.406e-05/0.6437, allocations: 25.94 kB / 0.5526 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.6438, allocations: 15.84 kB / 0.5526 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006496/0.6444, allocations: 1.381 MB / 0.554 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6444, allocations: 1.031 kB / 0.554 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.645, allocations: 482.7 kB / 0.5544 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.6451, allocations: 106.6 kB / 0.5545 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.6452, allocations: 5.5 kB / 0.5545 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.6454, allocations: 9.016 kB / 0.5545 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.6455, allocations: 27.75 kB / 0.5546 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.6455, allocations: 32.53 kB / 0.5546 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.6457, allocations: 187 kB / 0.5548 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6457, allocations: 2.156 kB / 0.5548 GB, free: 168.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005577/0.6463, allocations: 122.3 kB / 0.5549 GB, free: 168.3 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.001091/0.6473, allocations: 1.059 MB / 0.5559 GB, free: 167.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006154/0.648, allocations: 382.2 kB / 0.5563 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.648, allocations: 3.969 kB / 0.5563 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.6482, allocations: 230.1 kB / 0.5565 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/0.6492, allocations: 164.1 kB / 0.5567 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.6524, allocations: 3.181 MB / 0.5598 GB, free: 165.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.6526, allocations: 0.7669 MB / 0.5605 GB, free: 164.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.6531, allocations: 114.6 kB / 0.5606 GB, free: 164.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.6533, allocations: 129.7 kB / 0.5608 GB, free: 164.8 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6533, allocations: 3.938 kB / 0.5608 GB, free: 164.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.6935, allocations: 11.91 MB / 0.5724 GB, free: 161.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.43, allocations: 5.891 kB / 0.5724 GB, free: 161.2 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > 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.csv","/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