Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_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.00126/0.00126, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00177/0.00177, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.53 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1111, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4181/0.5292, allocations: 174.4 MB / 0.6286 GB, free: 2.156 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007802/0.5371, allocations: 5.343 MB / 0.6339 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007252/0.5379, allocations: 19.88 kB / 0.6339 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.5389, allocations: 314 kB / 0.6342 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.5421, allocations: 1.239 MB / 0.6354 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.5446, allocations: 0.9758 MB / 0.6363 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.5468, allocations: 1.844 MB / 0.6381 GB, free: 8.414 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007248/0.5476, allocations: 462.6 kB / 0.6386 GB, free: 7.961 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.5498, allocations: 1.059 MB / 0.6396 GB, free: 6.898 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009541/0.5508, allocations: 0.6579 MB / 0.6403 GB, free: 6.238 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.5509, allocations: 64 kB / 0.6403 GB, free: 6.176 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.5524, allocations: 0.5774 MB / 0.6409 GB, free: 5.598 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.5527, allocations: 263.3 kB / 0.6411 GB, free: 5.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000433/0.5531, allocations: 394.2 kB / 0.6415 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.5548, allocations: 1.289 MB / 0.6428 GB, free: 3.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5548, allocations: 3.984 kB / 0.6428 GB, free: 3.656 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5548, allocations: 4 kB / 0.6428 GB, free: 3.652 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.5548, allocations: 4 kB / 0.6428 GB, free: 3.648 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002165/0.557, allocations: 1.107 MB / 0.6439 GB, free: 2.488 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.557, allocations: 8.031 kB / 0.6439 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.5572, allocations: 102.5 kB / 0.644 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008214/0.558, allocations: 131 kB / 0.6441 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.5588, allocations: 0.5079 MB / 0.6446 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.5589, allocations: 100.4 kB / 0.6447 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.559, allocations: 47.98 kB / 0.6447 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5603, allocations: 0.8252 MB / 0.6455 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5603, allocations: 0 / 0.6455 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.5604, allocations: 20 kB / 0.6456 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.5605, allocations: 36.98 kB / 0.6456 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.5615, allocations: 0.6322 MB / 0.6462 GB, free: 15.95 MB / 494.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.004229/0.5657, allocations: 3.965 MB / 0.6501 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.5663, allocations: 363.6 kB / 0.6504 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.5666, allocations: 165.3 kB / 0.6506 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.5667, allocations: 89.38 kB / 0.6507 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.5668, allocations: 42.78 kB / 0.6507 GB, free: 11.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.5668, allocations: 0 / 0.6507 GB, free: 11.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005706/0.5725, allocations: 1.671 MB / 0.6523 GB, free: 9.301 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.5726, allocations: 140.4 kB / 0.6525 GB, free: 9.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.5733, allocations: 0.6172 MB / 0.6531 GB, free: 8.508 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.5733, allocations: 33.7 kB / 0.6531 GB, free: 8.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.5736, allocations: 370.8 kB / 0.6535 GB, free: 8.102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.5737, allocations: 142 kB / 0.6536 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.5739, allocations: 158.5 kB / 0.6537 GB, free: 7.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5741, allocations: 374.8 kB / 0.6541 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.5745, allocations: 197.9 kB / 0.6543 GB, free: 7.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.5751, allocations: 0.5203 MB / 0.6548 GB, free: 6.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009874/0.5761, allocations: 0.7513 MB / 0.6555 GB, free: 5.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.5761, allocations: 7.938 kB / 0.6555 GB, free: 5.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001479/0.5776, allocations: 0.8833 MB / 0.6564 GB, free: 4.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5776, allocations: 8 kB / 0.6564 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.5776, allocations: 16.83 kB / 0.6564 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.579, allocations: 304.6 kB / 0.6567 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.5794, allocations: 131.7 kB / 0.6568 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.5805, allocations: 0.9296 MB / 0.6578 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.581, allocations: 27.98 kB / 0.6578 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.85e-05/0.5811, allocations: 67.98 kB / 0.6578 GB, free: 3.273 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003321/0.5814, allocations: 247 kB / 0.6581 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.5816, allocations: 75.09 kB / 0.6582 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.5833, allocations: 0.8659 MB / 0.659 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5833, allocations: 4 kB / 0.659 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5833, allocations: 0 / 0.659 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5833, allocations: 7.984 kB / 0.659 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.5854, allocations: 1.457 MB / 0.6604 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5855, allocations: 4.031 kB / 0.6604 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.5866, allocations: 211.8 kB / 0.6606 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.567e-05/0.5867, allocations: 24.84 kB / 0.6607 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.5867, allocations: 19.98 kB / 0.6607 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.5888, allocations: 2.877 MB / 0.6635 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5888, allocations: 0 / 0.6635 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.5902, allocations: 0.8247 MB / 0.6643 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.5905, allocations: 184.3 kB / 0.6645 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.5907, allocations: 15.98 kB / 0.6645 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.5911, allocations: 12 kB / 0.6645 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.5912, allocations: 47.89 kB / 0.6645 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/0.5913, allocations: 43.98 kB / 0.6646 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005429/0.5918, allocations: 443 kB / 0.665 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5918, allocations: 0 / 0.665 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008942/0.5927, allocations: 252 kB / 0.6652 GB, free: 11.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.002279/0.595, allocations: 1.556 MB / 0.6668 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.5964, allocations: 0.59 MB / 0.6673 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.5964, allocations: 4 kB / 0.6673 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000997/0.5974, allocations: 426.2 kB / 0.6678 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.5993, allocations: 370.2 kB / 0.6681 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009446/0.6087, allocations: 6.541 MB / 0.6745 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.6093, allocations: 0.9338 MB / 0.6754 GB, free: 340 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001415/0.6107, allocations: 466.4 kB / 0.6759 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/0.6113, allocations: 283.3 kB / 0.6761 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.6114, allocations: 0 / 0.6761 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05396/0.6653, allocations: 24.13 MB / 0.6997 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.18, allocations: 7.859 kB / 0.6997 GB, free: 7.777 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches