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.001301/0.001301, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001551/0.001551, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.434/1.434, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2261/0.2261, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.002245/0.002245, allocations: 71.89 kB / 467.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1261, allocations: 61.04 MB / 0.5162 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5295/0.6556, allocations: 170.5 MB / 0.6827 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.6706, allocations: 9.436 MB / 0.6919 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009298/0.6715, allocations: 27.75 kB / 0.6919 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.6729, allocations: 409.6 kB / 0.6923 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00779/0.6807, allocations: 2.617 MB / 0.6949 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008024/0.6887, allocations: 2.705 MB / 0.6975 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003619/0.6923, allocations: 2.208 MB / 0.6997 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009166/0.6932, allocations: 0.5172 MB / 0.7002 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/0.6985, allocations: 2.001 MB / 0.7022 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.7001, allocations: 0.8839 MB / 0.703 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.7002, allocations: 92 kB / 0.7031 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/0.7111, allocations: 4.761 MB / 0.7078 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008068/0.7119, allocations: 434.8 kB / 0.7082 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008745/0.7128, allocations: 466.2 kB / 0.7086 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.724, allocations: 3.938 MB / 0.7125 GB, free: 9.234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.724, allocations: 4 kB / 0.7125 GB, free: 9.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.386e-06/0.724, allocations: 0 / 0.7125 GB, free: 9.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.724, allocations: 0 / 0.7125 GB, free: 9.23 MB / 0.545 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.00489/0.7289, allocations: 1.767 MB / 0.7142 GB, free: 7.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.729, allocations: 8.031 kB / 0.7142 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.7292, allocations: 122.5 kB / 0.7143 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004714/0.7296, allocations: 115.3 kB / 0.7144 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.731, allocations: 0.5636 MB / 0.715 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.7312, allocations: 168.8 kB / 0.7151 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.7313, allocations: 75.94 kB / 0.7152 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.7338, allocations: 1.597 MB / 0.7168 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.7338, allocations: 0 / 0.7168 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.7339, allocations: 31.94 kB / 0.7168 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.325e-05/0.734, allocations: 61.97 kB / 0.7169 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.736, allocations: 1.167 MB / 0.718 GB, free: 3.309 MB / 0.545 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.007272/0.7433, allocations: 3.831 MB / 0.7217 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.7451, allocations: 0.7925 MB / 0.7225 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.7459, allocations: 402.6 kB / 0.7229 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009966/0.7469, allocations: 330.3 kB / 0.7232 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.7469, allocations: 47.22 kB / 0.7233 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.945e-06/0.7469, allocations: 7.938 kB / 0.7233 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01393/0.7608, allocations: 3.961 MB / 0.7271 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.7609, allocations: 115.5 kB / 0.7272 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.762, allocations: 0.6719 MB / 0.7279 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.7622, allocations: 45.7 kB / 0.7279 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.7625, allocations: 392.4 kB / 0.7283 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.7629, allocations: 309.4 kB / 0.7286 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.7632, allocations: 202.5 kB / 0.7288 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.7635, allocations: 390.8 kB / 0.7292 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.7646, allocations: 494.6 kB / 0.7296 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.766, allocations: 0.8064 MB / 0.7304 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.7685, allocations: 1.285 MB / 0.7317 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.7685, allocations: 4 kB / 0.7317 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003874/0.7724, allocations: 1.677 MB / 0.7333 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.7724, allocations: 11.94 kB / 0.7333 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.7724, allocations: 15.97 kB / 0.7334 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007465/0.7799, allocations: 1.331 MB / 0.7347 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.7807, allocations: 155.7 kB / 0.7348 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.7837, allocations: 1.529 MB / 0.7363 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.7847, allocations: 56 kB / 0.7364 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.7849, allocations: 59.98 kB / 0.7364 GB, free: 15.96 MB / 0.5762 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.0006643/0.7856, allocations: 289.5 kB / 0.7367 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.7859, allocations: 91.44 kB / 0.7368 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.7897, allocations: 1.638 MB / 0.7384 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.7897, allocations: 15.97 kB / 0.7384 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.7897, allocations: 7.938 kB / 0.7384 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7897, allocations: 3.984 kB / 0.7384 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005047/0.7948, allocations: 2.371 MB / 0.7407 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.7948, allocations: 0 / 0.7407 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.7961, allocations: 263.8 kB / 0.741 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/0.7979, allocations: 372.4 kB / 0.7413 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/0.798, allocations: 35.97 kB / 0.7414 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.8011, allocations: 2.244 MB / 0.7435 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.8011, allocations: 2.25 kB / 0.7435 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/0.8055, allocations: 2.031 MB / 0.7455 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008449/0.8063, allocations: 223.3 kB / 0.7457 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.8065, allocations: 27.98 kB / 0.7458 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009396/0.8075, allocations: 51.95 kB / 0.7458 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.8076, allocations: 64.88 kB / 0.7459 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.8078, allocations: 51.97 kB / 0.7459 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007586/0.8085, allocations: 0.499 MB / 0.7464 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8085, allocations: 0 / 0.7464 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00246/0.811, allocations: 0.7168 MB / 0.7471 GB, free: 4.711 MB / 0.5762 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.007971/0.819, allocations: 3.371 MB / 0.7504 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003228/0.8222, allocations: 1.202 MB / 0.7516 GB, free: 104 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.8222, allocations: 4 kB / 0.7516 GB, free: 100 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.8243, allocations: 0.6892 MB / 0.7523 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.8273, allocations: 0.5322 MB / 0.7528 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/0.8485, allocations: 9.679 MB / 0.7622 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.8491, allocations: 459.6 kB / 0.7627 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001192/0.8503, allocations: 307.9 kB / 0.763 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.851, allocations: 339.3 kB / 0.7633 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/0.851, allocations: 0 / 0.7633 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3829/1.234, allocations: 46.73 MB / 0.8089 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.61, allocations: 11.91 kB / 0.8089 GB, free: 194.9 MB / 0.5919 GB " [Timeout remaining time 644] (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.937008209060878]