Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 104.3 kB / 19.7 MB, free: 1.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 217.6 kB / 22.99 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 207.7 MB / 233.8 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.27 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 71.89 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1084, allocations: 61.04 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3775/0.4859, allocations: 127.3 MB / 0.6405 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00782/0.4937, allocations: 5.172 MB / 0.6456 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006583/0.4943, allocations: 27.75 kB / 0.6456 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.4954, allocations: 322 kB / 0.6459 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.4974, allocations: 0.8746 MB / 0.6468 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.5002, allocations: 1.051 MB / 0.6478 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002104/0.5023, allocations: 1.813 MB / 0.6496 GB, free: 9.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.5028, allocations: 397.5 kB / 0.6499 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5041, allocations: 0.7787 MB / 0.6507 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.5051, allocations: 0.7318 MB / 0.6514 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5052, allocations: 64 kB / 0.6515 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.5063, allocations: 483.1 kB / 0.6519 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.5065, allocations: 275.2 kB / 0.6522 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.5069, allocations: 330.6 kB / 0.6525 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.5084, allocations: 1.147 MB / 0.6536 GB, free: 5.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5084, allocations: 0 / 0.6536 GB, free: 5.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5084, allocations: 0 / 0.6536 GB, free: 5.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.5084, allocations: 0 / 0.6536 GB, free: 5.434 MB / 494.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.002103/0.5105, allocations: 1.003 MB / 0.6546 GB, free: 4.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5105, allocations: 12.03 kB / 0.6546 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.5107, allocations: 98.69 kB / 0.6547 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.511, allocations: 97.02 kB / 0.6548 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/0.512, allocations: 478.8 kB / 0.6553 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.5121, allocations: 160.3 kB / 0.6554 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.5122, allocations: 48.33 kB / 0.6555 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.5136, allocations: 1.17 MB / 0.6566 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5137, allocations: 0 / 0.6566 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.5137, allocations: 34.05 kB / 0.6566 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/0.5138, allocations: 36.98 kB / 0.6567 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5149, allocations: 0.6557 MB / 0.6573 GB, free: 1.414 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.004466/0.5193, allocations: 3.152 MB / 0.6604 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000823/0.5201, allocations: 409.1 kB / 0.6608 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.5205, allocations: 189.4 kB / 0.661 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.5208, allocations: 60.28 kB / 0.661 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5208, allocations: 42.89 kB / 0.6611 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.5208, allocations: 0 / 0.6611 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003341/0.5241, allocations: 1.408 MB / 0.6624 GB, free: 12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.5242, allocations: 136.5 kB / 0.6626 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.525, allocations: 0.5848 MB / 0.6631 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.525, allocations: 33.7 kB / 0.6632 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.5253, allocations: 367.8 kB / 0.6635 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.5254, allocations: 170.6 kB / 0.6637 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.5256, allocations: 142.6 kB / 0.6638 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5258, allocations: 374.8 kB / 0.6642 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.5262, allocations: 213.9 kB / 0.6644 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.5269, allocations: 0.5876 MB / 0.665 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5279, allocations: 0.7679 MB / 0.6657 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5279, allocations: 4 kB / 0.6657 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001631/0.5296, allocations: 0.9026 MB / 0.6666 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5296, allocations: 11.94 kB / 0.6666 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5296, allocations: 12 kB / 0.6666 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.531, allocations: 288 kB / 0.6669 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.5314, allocations: 119.8 kB / 0.667 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.5325, allocations: 0.8897 MB / 0.6679 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.5329, allocations: 28 kB / 0.6679 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.533, allocations: 39.98 kB / 0.6679 GB, free: 5.969 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003796/0.5334, allocations: 249.4 kB / 0.6682 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5335, allocations: 67.58 kB / 0.6682 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.5349, allocations: 0.7126 MB / 0.6689 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5349, allocations: 4 kB / 0.6689 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5349, allocations: 4 kB / 0.6689 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5349, allocations: 3.938 kB / 0.6689 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.5371, allocations: 1.234 MB / 0.6701 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5371, allocations: 0 / 0.6701 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.5381, allocations: 199.8 kB / 0.6703 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.432e-05/0.5382, allocations: 28.8 kB / 0.6704 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.5382, allocations: 12 kB / 0.6704 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.5405, allocations: 2.666 MB / 0.673 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5405, allocations: 0 / 0.673 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.5421, allocations: 0.9496 MB / 0.6739 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.5425, allocations: 139.4 kB / 0.674 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.5426, allocations: 15.98 kB / 0.6741 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.5429, allocations: 12 kB / 0.6741 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.543, allocations: 51.41 kB / 0.6741 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.5431, allocations: 31.91 kB / 0.6741 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005666/0.5437, allocations: 427 kB / 0.6746 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5437, allocations: 0 / 0.6746 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007965/0.5445, allocations: 227.9 kB / 0.6748 GB, free: 14.6 MB / 0.5137 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002254/0.5467, allocations: 1.635 MB / 0.6764 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.548, allocations: 0.5717 MB / 0.6769 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.548, allocations: 0 / 0.6769 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.549, allocations: 446.7 kB / 0.6774 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.5507, allocations: 381.9 kB / 0.6777 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.561, allocations: 6.482 MB / 0.684 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.5614, allocations: 341.4 kB / 0.6844 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006797/0.5621, allocations: 206.1 kB / 0.6846 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.5624, allocations: 235.4 kB / 0.6848 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/0.5624, allocations: 0 / 0.6848 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09184/0.6543, allocations: 24.14 MB / 0.7084 GB, free: 11.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.41, allocations: 3.938 kB / 0.7084 GB, free: 11.71 MB / 0.545 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.52448690403253]