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.001182/0.001182, allocations: 104 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.001022/0.001022, allocations: 192.1 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.325/1.325, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2025/0.2025, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 65.05 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09636, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.369/0.4654, allocations: 174.4 MB / 0.6286 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007775/0.4732, allocations: 5.335 MB / 0.6339 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006267/0.4739, allocations: 19.88 kB / 0.6339 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008567/0.4748, allocations: 318 kB / 0.6342 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.4781, allocations: 1.242 MB / 0.6354 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.4803, allocations: 0.9706 MB / 0.6363 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.4822, allocations: 1.844 MB / 0.6381 GB, free: 8.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005992/0.4828, allocations: 464.1 kB / 0.6386 GB, free: 7.961 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.4846, allocations: 1.055 MB / 0.6396 GB, free: 6.902 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008351/0.4855, allocations: 0.6539 MB / 0.6403 GB, free: 6.246 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.4856, allocations: 64 kB / 0.6403 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.4869, allocations: 0.5774 MB / 0.6409 GB, free: 5.605 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.4871, allocations: 263.3 kB / 0.6411 GB, free: 5.348 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.4876, allocations: 402.2 kB / 0.6415 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.4891, allocations: 1.286 MB / 0.6428 GB, free: 3.664 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4891, allocations: 0 / 0.6428 GB, free: 3.664 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4891, allocations: 0 / 0.6428 GB, free: 3.664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.4892, allocations: 4 kB / 0.6428 GB, free: 3.66 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.002125/0.4913, allocations: 1.111 MB / 0.6439 GB, free: 2.496 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4913, allocations: 8.031 kB / 0.6439 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.4915, allocations: 106.5 kB / 0.644 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.4923, allocations: 131.1 kB / 0.6441 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.493, allocations: 0.5002 MB / 0.6446 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.4931, allocations: 108.4 kB / 0.6447 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.4932, allocations: 44 kB / 0.6447 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4945, allocations: 0.8213 MB / 0.6455 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4945, allocations: 0 / 0.6455 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.4946, allocations: 27.97 kB / 0.6456 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/0.4946, allocations: 36.98 kB / 0.6456 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.4957, allocations: 0.6243 MB / 0.6462 GB, free: 15.96 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.004632/0.5003, allocations: 3.973 MB / 0.6501 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.501, allocations: 363.5 kB / 0.6504 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.5013, allocations: 169.3 kB / 0.6506 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.5014, allocations: 89.38 kB / 0.6507 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.5015, allocations: 42.78 kB / 0.6507 GB, free: 11.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/0.5015, allocations: 0 / 0.6507 GB, free: 11.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005755/0.5072, allocations: 1.666 MB / 0.6523 GB, free: 9.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.5073, allocations: 140.4 kB / 0.6525 GB, free: 9.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.5081, allocations: 0.6172 MB / 0.6531 GB, free: 8.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.5081, allocations: 29.7 kB / 0.6531 GB, free: 8.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.5084, allocations: 366.8 kB / 0.6535 GB, free: 8.113 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.5086, allocations: 150 kB / 0.6536 GB, free: 7.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.5088, allocations: 158.5 kB / 0.6537 GB, free: 7.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.509, allocations: 374.8 kB / 0.6541 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.5094, allocations: 201.9 kB / 0.6543 GB, free: 7.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.51, allocations: 0.5203 MB / 0.6548 GB, free: 6.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.511, allocations: 0.7552 MB / 0.6555 GB, free: 5.672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.511, allocations: 7.938 kB / 0.6555 GB, free: 5.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001456/0.5125, allocations: 0.8836 MB / 0.6564 GB, free: 4.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5125, allocations: 8 kB / 0.6564 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5125, allocations: 12 kB / 0.6564 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.5139, allocations: 309.1 kB / 0.6567 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.5143, allocations: 127.7 kB / 0.6568 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.5154, allocations: 0.9296 MB / 0.6578 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.5159, allocations: 24 kB / 0.6578 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.516, allocations: 72.05 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.0003652/0.5164, allocations: 245.5 kB / 0.6581 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.5165, allocations: 75.14 kB / 0.6582 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.5182, allocations: 0.8697 MB / 0.659 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.5182, allocations: 4 kB / 0.659 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5183, allocations: 0 / 0.659 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5183, allocations: 0 / 0.659 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.5203, allocations: 1.461 MB / 0.6604 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5203, allocations: 0 / 0.6604 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.5213, allocations: 212 kB / 0.6606 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.082e-05/0.5214, allocations: 28.83 kB / 0.6607 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.5215, allocations: 16 kB / 0.6607 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.5234, allocations: 2.885 MB / 0.6635 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5234, allocations: 3.938 kB / 0.6635 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.5247, allocations: 0.8208 MB / 0.6643 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.525, allocations: 188.3 kB / 0.6645 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5251, allocations: 12 kB / 0.6645 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.5255, allocations: 15.98 kB / 0.6645 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.5256, allocations: 43.83 kB / 0.6645 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.5256, allocations: 43.98 kB / 0.6646 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000514/0.5262, allocations: 447.1 kB / 0.665 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5262, allocations: 0 / 0.665 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008423/0.527, allocations: 248 kB / 0.6653 GB, free: 11.19 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.002122/0.5291, allocations: 1.552 MB / 0.6668 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.5304, allocations: 0.5978 MB / 0.6674 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5304, allocations: 4 kB / 0.6674 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009953/0.5314, allocations: 418.6 kB / 0.6678 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.5333, allocations: 375.9 kB / 0.6681 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009503/0.5428, allocations: 6.543 MB / 0.6745 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006346/0.5435, allocations: 0.9261 MB / 0.6754 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001577/0.545, allocations: 470.3 kB / 0.6759 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/0.5457, allocations: 287.3 kB / 0.6761 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of SimCode: time 9.31e-07/0.5457, allocations: 0 / 0.6761 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.5991, allocations: 24.12 MB / 0.6997 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.78, allocations: 7.859 kB / 0.6997 GB, free: 7.77 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 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.csv","/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