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.001435/0.001435, allocations: 110 kB / 19.69 MB, free: 2.203 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.001479/0.001479, allocations: 219.3 kB / 23 MB, free: 5.043 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.333/1.333, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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.2059/0.2059, allocations: 44.24 MB / 330.3 MB, free: 9.605 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.002134/0.002134, allocations: 67.91 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1083, allocations: 61.04 MB / 0.5162 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3574/0.4657, allocations: 148.2 MB / 0.6609 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007915/0.4736, allocations: 5.642 MB / 0.6664 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.4742, allocations: 27.75 kB / 0.6665 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.4752, allocations: 334 kB / 0.6668 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.4771, allocations: 0.8862 MB / 0.6676 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.4801, allocations: 1.058 MB / 0.6687 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003066/0.4831, allocations: 1.817 MB / 0.6705 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000852/0.484, allocations: 393.7 kB / 0.6708 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.4856, allocations: 0.7825 MB / 0.6716 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4871, allocations: 0.7475 MB / 0.6723 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.4872, allocations: 60 kB / 0.6724 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.4886, allocations: 0.5615 MB / 0.6729 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.4889, allocations: 275.1 kB / 0.6732 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.4894, allocations: 394.2 kB / 0.6736 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.491, allocations: 1.142 MB / 0.6747 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.491, allocations: 0 / 0.6747 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.491, allocations: 0 / 0.6747 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.491, allocations: 0 / 0.6747 GB, free: 1.422 MB / 0.4981 GB 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.002063/0.4931, allocations: 1.003 MB / 0.6757 GB, free: 392 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4931, allocations: 11.97 kB / 0.6757 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.4933, allocations: 98.69 kB / 0.6758 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.4936, allocations: 96.45 kB / 0.6759 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.4945, allocations: 482.8 kB / 0.6763 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.4947, allocations: 152.4 kB / 0.6765 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.4947, allocations: 52.33 kB / 0.6765 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.496, allocations: 0.8149 MB / 0.6773 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.496, allocations: 3.938 kB / 0.6773 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.4961, allocations: 27.98 kB / 0.6773 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/0.4962, allocations: 40.97 kB / 0.6774 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.4972, allocations: 0.6478 MB / 0.678 GB, free: 13.85 MB / 0.5137 GB 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.004732/0.502, allocations: 3.919 MB / 0.6818 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008136/0.5028, allocations: 409.1 kB / 0.6822 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.5031, allocations: 197.4 kB / 0.6824 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.5034, allocations: 68.27 kB / 0.6825 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.5034, allocations: 42.88 kB / 0.6825 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.5034, allocations: 0 / 0.6825 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003121/0.5066, allocations: 1.407 MB / 0.6839 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.5066, allocations: 136.5 kB / 0.684 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/0.5073, allocations: 0.5694 MB / 0.6846 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.5074, allocations: 37.7 kB / 0.6846 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.5077, allocations: 363.8 kB / 0.685 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.5078, allocations: 174.6 kB / 0.6851 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.508, allocations: 138.6 kB / 0.6853 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5082, allocations: 374.8 kB / 0.6856 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.5086, allocations: 217.8 kB / 0.6858 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.5092, allocations: 0.5162 MB / 0.6863 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.5102, allocations: 0.7601 MB / 0.6871 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.5102, allocations: 5.562 kB / 0.6871 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001654/0.5118, allocations: 0.9104 MB / 0.688 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5119, allocations: 16.19 kB / 0.688 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.5119, allocations: 12 kB / 0.688 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.5132, allocations: 281.6 kB / 0.6883 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.5136, allocations: 119.8 kB / 0.6884 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.5147, allocations: 0.8879 MB / 0.6893 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.5151, allocations: 27.98 kB / 0.6893 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.5152, allocations: 36 kB / 0.6893 GB, free: 1.574 MB / 0.5137 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.0003415/0.5156, allocations: 253.4 kB / 0.6896 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.5157, allocations: 67.58 kB / 0.6896 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.5169, allocations: 0.6893 MB / 0.6903 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.517, allocations: 4 kB / 0.6903 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.517, allocations: 0 / 0.6903 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.517, allocations: 14.11 kB / 0.6903 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.519, allocations: 1.308 MB / 0.6916 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.519, allocations: 4 kB / 0.6916 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.5201, allocations: 204 kB / 0.6918 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.538e-05/0.5201, allocations: 24.84 kB / 0.6918 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.5202, allocations: 11.98 kB / 0.6918 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.5224, allocations: 2.674 MB / 0.6944 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5224, allocations: 4.031 kB / 0.6944 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5239, allocations: 0.9415 MB / 0.6954 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.5242, allocations: 131.5 kB / 0.6955 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/0.5243, allocations: 19.98 kB / 0.6955 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.5246, allocations: 16 kB / 0.6955 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.5247, allocations: 47.58 kB / 0.6956 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.5248, allocations: 23.98 kB / 0.6956 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005256/0.5253, allocations: 427 kB / 0.696 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5253, allocations: 0 / 0.696 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008085/0.5261, allocations: 227.8 kB / 0.6962 GB, free: 10.15 MB / 0.5294 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.002167/0.5283, allocations: 1.649 MB / 0.6978 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.5295, allocations: 0.5715 MB / 0.6984 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5295, allocations: 4.438 kB / 0.6984 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5306, allocations: 446.3 kB / 0.6988 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.5322, allocations: 368.9 kB / 0.6992 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/0.5418, allocations: 6.496 MB / 0.7055 GB, free: 212 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.5424, allocations: 0.9384 MB / 0.7064 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006235/0.543, allocations: 218 kB / 0.7066 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.5434, allocations: 231.4 kB / 0.7068 GB, free: 14.8 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.5434, allocations: 0 / 0.7068 GB, free: 14.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/0.6042, allocations: 23.25 MB / 0.7295 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.62, allocations: 8 kB / 0.7296 GB, free: 7.543 MB / 0.5606 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.4853533600035]