Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001275/0.001275, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001433/0.001433, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 43.92 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2472, allocations: 53.37 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07426/0.3214, allocations: 66.39 MB / 497.5 MB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.3287, allocations: 5.507 MB / 0.4913 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.329, allocations: 7.938 kB / 0.4913 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009628/0.33, allocations: 357.9 kB / 0.4916 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000933/0.3309, allocations: 0.5206 MB / 0.4921 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01877/0.3497, allocations: 7.535 MB / 0.4995 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.352, allocations: 1.571 MB / 0.501 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.3523, allocations: 149.4 kB / 0.5011 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.3534, allocations: 0.6308 MB / 0.5018 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/0.3543, allocations: 0.6073 MB / 0.5024 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.3545, allocations: 84 kB / 0.5024 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01973/0.3742, allocations: 10.48 MB / 0.5127 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.3748, allocations: 335.1 kB / 0.513 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006677/0.3754, allocations: 430.4 kB / 0.5134 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.3891, allocations: 5.982 MB / 0.5192 GB, free: 1.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3891, allocations: 0 / 0.5192 GB, free: 1.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3891, allocations: 4 kB / 0.5192 GB, free: 1.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.3891, allocations: 0 / 0.5192 GB, free: 1.992 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003639/0.3928, allocations: 1.537 MB / 0.5207 GB, free: 428 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3928, allocations: 12.03 kB / 0.5208 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.393, allocations: 110.5 kB / 0.5209 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/0.3934, allocations: 99.44 kB / 0.521 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.3941, allocations: 375.4 kB / 0.5213 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.3941, allocations: 45.31 kB / 0.5214 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.3942, allocations: 64 kB / 0.5214 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.396, allocations: 0.8186 MB / 0.5222 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.396, allocations: 3.953 kB / 0.5222 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.3961, allocations: 28 kB / 0.5222 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.3961, allocations: 16 kB / 0.5223 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.398, allocations: 1.035 MB / 0.5233 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.4121, allocations: 4.981 MB / 0.5281 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.4139, allocations: 0.711 MB / 0.5288 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.4146, allocations: 386.3 kB / 0.5292 GB, free: 7.492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.4254, allocations: 2.6 MB / 0.5317 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.4254, allocations: 43.22 kB / 0.5318 GB, free: 4.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.4254, allocations: 4 kB / 0.5318 GB, free: 4.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009687/0.4351, allocations: 3.158 MB / 0.5349 GB, free: 1.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4352, allocations: 60.41 kB / 0.5349 GB, free: 1.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.4356, allocations: 360.5 kB / 0.5353 GB, free: 1.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.4357, allocations: 41.7 kB / 0.5353 GB, free: 1.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.4359, allocations: 241.2 kB / 0.5355 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.4362, allocations: 317.2 kB / 0.5358 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.4364, allocations: 166.6 kB / 0.536 GB, free: 460 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4366, allocations: 362.8 kB / 0.5363 GB, free: 88 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1883/0.6249, allocations: 369.3 kB / 0.5367 GB, free: 106.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.6262, allocations: 490.9 kB / 0.5372 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.6279, allocations: 0.9088 MB / 0.5381 GB, free: 106 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6279, allocations: 0 / 0.5381 GB, free: 106 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00247/0.6304, allocations: 1.127 MB / 0.5392 GB, free: 105.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6304, allocations: 6.5 kB / 0.5392 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6304, allocations: 2.469 kB / 0.5392 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.6312, allocations: 165.8 kB / 0.5393 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.632, allocations: 192.6 kB / 0.5395 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.6339, allocations: 3.904 MB / 0.5433 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.6343, allocations: 23.56 kB / 0.5433 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6344, allocations: 44.94 kB / 0.5434 GB, free: 101.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003521/0.6348, allocations: 230.6 kB / 0.5436 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.6351, allocations: 64.58 kB / 0.5437 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.6373, allocations: 1.277 MB / 0.5449 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.6373, allocations: 11.39 kB / 0.5449 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.6373, allocations: 0 / 0.5449 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001499/0.6388, allocations: 1.326 MB / 0.5462 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.6415, allocations: 1.93 MB / 0.5481 GB, free: 99.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6415, allocations: 3 kB / 0.5481 GB, free: 99.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.6422, allocations: 169.7 kB / 0.5483 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.6437, allocations: 300.3 kB / 0.5486 GB, free: 99.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.6438, allocations: 27.61 kB / 0.5486 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004703/0.6442, allocations: 1.293 MB / 0.5498 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6442, allocations: 0 / 0.5498 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.6462, allocations: 1.419 MB / 0.5512 GB, free: 97.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6463, allocations: 47.19 kB / 0.5513 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.6464, allocations: 24 kB / 0.5513 GB, free: 97.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.6469, allocations: 32.28 kB / 0.5513 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.647, allocations: 54.33 kB / 0.5514 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.647, allocations: 43.7 kB / 0.5514 GB, free: 97.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.6473, allocations: 283.4 kB / 0.5517 GB, free: 96.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6473, allocations: 0 / 0.5517 GB, free: 96.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003267/0.6505, allocations: 1.427 MB / 0.5531 GB, free: 96.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006568/0.6571, allocations: 3.591 MB / 0.5566 GB, free: 95.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.6588, allocations: 1.108 MB / 0.5577 GB, free: 94.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.6588, allocations: 1.906 kB / 0.5577 GB, free: 94.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006855/0.6595, allocations: 481 kB / 0.5581 GB, free: 93.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.6611, allocations: 393.1 kB / 0.5585 GB, free: 93.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/0.6701, allocations: 7.084 MB / 0.5654 GB, free: 86.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.6704, allocations: 0.9128 MB / 0.5663 GB, free: 85.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006001/0.671, allocations: 208.5 kB / 0.5665 GB, free: 85.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.6712, allocations: 227.3 kB / 0.5667 GB, free: 84.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6712, allocations: 0 / 0.5667 GB, free: 84.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08789/0.7591, allocations: 57.82 MB / 0.6232 GB, free: 27.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.02, allocations: 3.984 kB / 0.6232 GB, free: 27.22 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable volume1.medium.p in file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.10141578799812]