Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001797/0.001797, allocations: 113 kB / 17.12 MB, free: 5.953 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.002135/0.002135, allocations: 204 kB / 20.09 MB, free: 3 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.533/1.533, allocations: 207.6 MB / 230.5 MB, free: 4.004 MB / 174.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.3646/0.3646, allocations: 44.23 MB / 326.6 MB, free: 6.848 MB / 254.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.002186/0.002186, allocations: 67.91 kB / 462.2 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2936, allocations: 61 MB / 0.511 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5482/0.8418, allocations: 197.1 MB / 0.7035 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.8537, allocations: 10.33 MB / 0.7135 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.8547, allocations: 28.91 kB / 0.7136 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.8561, allocations: 453.7 kB / 0.714 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006916/0.863, allocations: 2.618 MB / 0.7166 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008056/0.871, allocations: 2.651 MB / 0.7191 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003337/0.8744, allocations: 2.203 MB / 0.7213 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.8752, allocations: 0.5433 MB / 0.7218 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/0.8798, allocations: 1.988 MB / 0.7238 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.8812, allocations: 0.9166 MB / 0.7247 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.8814, allocations: 93.72 kB / 0.7248 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/0.8934, allocations: 5.885 MB / 0.7305 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.8944, allocations: 442.5 kB / 0.7309 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009608/0.8954, allocations: 0.5316 MB / 0.7314 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.907, allocations: 4.09 MB / 0.7354 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.907, allocations: 4 kB / 0.7354 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.907, allocations: 0 / 0.7354 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.9071, allocations: 0 / 0.7354 GB, free: 5.801 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004967/0.912, allocations: 1.845 MB / 0.7372 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.9121, allocations: 11.89 kB / 0.7373 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.9123, allocations: 130.2 kB / 0.7374 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.9127, allocations: 111.4 kB / 0.7375 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.9138, allocations: 0.632 MB / 0.7381 GB, free: 3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.914, allocations: 113.4 kB / 0.7382 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.9141, allocations: 77.98 kB / 0.7383 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.9162, allocations: 1.167 MB / 0.7394 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.9163, allocations: 4 kB / 0.7394 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.9164, allocations: 30.27 kB / 0.7395 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.484e-05/0.9165, allocations: 57.97 kB / 0.7395 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.9185, allocations: 1.171 MB / 0.7407 GB, free: 340 kB / 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.00732/0.9258, allocations: 5.009 MB / 0.7455 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.9276, allocations: 0.7917 MB / 0.7463 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.9283, allocations: 406.3 kB / 0.7467 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/0.9302, allocations: 1.886 MB / 0.7485 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.9302, allocations: 51.06 kB / 0.7486 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.875e-06/0.9302, allocations: 0 / 0.7486 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.0146/0.9448, allocations: 4.033 MB / 0.7525 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9449, allocations: 111.5 kB / 0.7526 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.9459, allocations: 0.6642 MB / 0.7533 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.946, allocations: 41.7 kB / 0.7533 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.9463, allocations: 390 kB / 0.7537 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.9466, allocations: 306.9 kB / 0.754 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.947, allocations: 202.5 kB / 0.7542 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002354/0.9472, allocations: 394.8 kB / 0.7546 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.9483, allocations: 493.7 kB / 0.755 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.9497, allocations: 0.7523 MB / 0.7558 GB, free: 15.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.9522, allocations: 1.293 MB / 0.757 GB, free: 14.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9522, allocations: 1.125 kB / 0.757 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00384/0.9561, allocations: 1.673 MB / 0.7587 GB, free: 12.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.9561, allocations: 8 kB / 0.7587 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.9561, allocations: 11.98 kB / 0.7587 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007492/0.9636, allocations: 1.329 MB / 0.76 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/0.9644, allocations: 159.7 kB / 0.7601 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.9673, allocations: 1.537 MB / 0.7616 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009609/0.9683, allocations: 55.94 kB / 0.7617 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.9684, allocations: 63.98 kB / 0.7618 GB, free: 9.672 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006071/0.969, allocations: 297.6 kB / 0.762 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.9693, allocations: 87.48 kB / 0.7621 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.973, allocations: 1.634 MB / 0.7637 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.973, allocations: 11.98 kB / 0.7637 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.973, allocations: 0 / 0.7637 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.973, allocations: 7.922 kB / 0.7637 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/0.9778, allocations: 2.536 MB / 0.7662 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.9778, allocations: 7.938 kB / 0.7662 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.9792, allocations: 267.8 kB / 0.7665 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.981, allocations: 372.4 kB / 0.7668 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/0.981, allocations: 27.98 kB / 0.7669 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.984, allocations: 2.35 MB / 0.7692 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.984, allocations: 3.984 kB / 0.7692 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/0.9882, allocations: 2.023 MB / 0.7711 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/0.989, allocations: 296.4 kB / 0.7714 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.9891, allocations: 20 kB / 0.7714 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000831/0.99, allocations: 59.94 kB / 0.7715 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.9901, allocations: 56.92 kB / 0.7715 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.9903, allocations: 55.95 kB / 0.7716 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008734/0.9912, allocations: 0.4951 MB / 0.7721 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9912, allocations: 8 kB / 0.7721 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003031/0.9942, allocations: 0.7169 MB / 0.7728 GB, free: 14.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007393/1.002, allocations: 3.379 MB / 0.7761 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003089/1.005, allocations: 1.193 MB / 0.7773 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.005, allocations: 4.875 kB / 0.7773 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.007, allocations: 0.6891 MB / 0.7779 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.009, allocations: 0.5135 MB / 0.7784 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/1.029, allocations: 9.686 MB / 0.7879 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008468/1.03, allocations: 1.043 MB / 0.7889 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001368/1.032, allocations: 319.9 kB / 0.7892 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008047/1.033, allocations: 339.3 kB / 0.7895 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/1.033, allocations: 4 kB / 0.7895 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/1.141, allocations: 45.7 MB / 0.8342 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.35, allocations: 11.98 kB / 0.8342 GB, free: 14.73 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_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_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 18.68297387099301]