Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 184.4 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.92 kB / 370.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2493, allocations: 52.18 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06104/0.3103, allocations: 51.04 MB / 473.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.3172, allocations: 5.253 MB / 478.9 MB, free: 6.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.3174, allocations: 4 kB / 478.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007611/0.3182, allocations: 250.5 kB / 479.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006729/0.3189, allocations: 366 kB / 479.5 MB, free: 5.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01758/0.3364, allocations: 7.198 MB / 486.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.338, allocations: 1.115 MB / 487.9 MB, free: 13.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.3382, allocations: 101.9 kB / 488 MB, free: 13.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007024/0.3452, allocations: 3.607 MB / 491.6 MB, free: 9.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006693/0.3459, allocations: 430.6 kB / 492 MB, free: 9.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.851e-05/0.346, allocations: 56 kB / 492 MB, free: 8.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01917/0.3652, allocations: 10.15 MB / 0.4904 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.3655, allocations: 231.4 kB / 0.4906 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004641/0.366, allocations: 314.8 kB / 0.4909 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.3787, allocations: 5.507 MB / 0.4963 GB, free: 8.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3787, allocations: 3.938 kB / 0.4963 GB, free: 8.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3787, allocations: 0 / 0.4963 GB, free: 8.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3788, allocations: 0 / 0.4963 GB, free: 8.777 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003332/0.3821, allocations: 1.327 MB / 0.4976 GB, free: 7.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3821, allocations: 8.031 kB / 0.4976 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.3822, allocations: 90.45 kB / 0.4977 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.3826, allocations: 63.7 kB / 0.4978 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.3831, allocations: 309.2 kB / 0.4981 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.3832, allocations: 29 kB / 0.4981 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.3833, allocations: 44 kB / 0.4981 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3846, allocations: 0.5998 MB / 0.4987 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.3846, allocations: 0 / 0.4987 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.3846, allocations: 16 kB / 0.4987 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3847, allocations: 12 kB / 0.4987 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.3861, allocations: 0.7495 MB / 0.4995 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.3994, allocations: 4.157 MB / 0.5035 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4008, allocations: 0.5041 MB / 0.504 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.4012, allocations: 246 kB / 0.5043 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.4123, allocations: 2.553 MB / 0.5068 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.4123, allocations: 43 kB / 0.5068 GB, free: 13.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/0.4123, allocations: 0 / 0.5068 GB, free: 13.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005901/0.4182, allocations: 1.917 MB / 0.5087 GB, free: 11.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.4183, allocations: 59.91 kB / 0.5087 GB, free: 11.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.4187, allocations: 316.2 kB / 0.509 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.4187, allocations: 37.7 kB / 0.5091 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4189, allocations: 204.7 kB / 0.5093 GB, free: 11.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.419, allocations: 198.3 kB / 0.5094 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.4192, allocations: 114.3 kB / 0.5096 GB, free: 10.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4194, allocations: 354.8 kB / 0.5099 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.4199, allocations: 237.1 kB / 0.5101 GB, free: 10.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007197/0.4206, allocations: 344.3 kB / 0.5104 GB, free: 9.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.4218, allocations: 0.5995 MB / 0.511 GB, free: 9.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.4218, allocations: 4 kB / 0.511 GB, free: 9.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001858/0.4237, allocations: 0.7518 MB / 0.5118 GB, free: 8.531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.4237, allocations: 11.94 kB / 0.5118 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4237, allocations: 4.281 kB / 0.5118 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.4242, allocations: 102.5 kB / 0.5119 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.4247, allocations: 127.8 kB / 0.512 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.4276, allocations: 3.277 MB / 0.5152 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.4279, allocations: 12.19 kB / 0.5152 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.428, allocations: 39.98 kB / 0.5153 GB, free: 4.699 MB / 430.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0003198/0.4283, allocations: 189.6 kB / 0.5154 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.4286, allocations: 47.77 kB / 0.5155 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.4303, allocations: 0.8112 MB / 0.5163 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.4303, allocations: 12 kB / 0.5163 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4303, allocations: 3.984 kB / 0.5163 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.4315, allocations: 0.7558 MB / 0.517 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.4339, allocations: 1.269 MB / 0.5183 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4339, allocations: 0 / 0.5183 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.4343, allocations: 95.89 kB / 0.5184 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009204/0.4353, allocations: 156.6 kB / 0.5185 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.4353, allocations: 19.98 kB / 0.5185 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004781/0.4358, allocations: 0.6445 MB / 0.5192 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4358, allocations: 0 / 0.5192 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.4375, allocations: 0.9092 MB / 0.52 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4377, allocations: 51.83 kB / 0.5201 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.4377, allocations: 12 kB / 0.5201 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.4381, allocations: 23.97 kB / 0.5201 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.4382, allocations: 36.31 kB / 0.5202 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.4382, allocations: 27.98 kB / 0.5202 GB, free: 15.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.4385, allocations: 255 kB / 0.5204 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4385, allocations: 3.938 kB / 0.5204 GB, free: 15.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003537/0.4421, allocations: 1.333 MB / 0.5217 GB, free: 13.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0079/0.45, allocations: 3.049 MB / 0.5247 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.4518, allocations: 0.7806 MB / 0.5255 GB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4518, allocations: 0 / 0.5255 GB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.4524, allocations: 275.2 kB / 0.5257 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.4538, allocations: 273.3 kB / 0.526 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009781/0.4636, allocations: 5.327 MB / 0.5312 GB, free: 3.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.4641, allocations: 0.8365 MB / 0.532 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005528/0.4647, allocations: 140.2 kB / 0.5321 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.465, allocations: 155.4 kB / 0.5323 GB, free: 2.754 MB / 446.1 MB Notification: Performance of SimCode: time 9.81e-07/0.465, allocations: 4 kB / 0.5323 GB, free: 2.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2703/0.7352, allocations: 50.93 MB / 0.582 GB, free: 73.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.76, allocations: 14.5 kB / 0.5821 GB, free: 73.26 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_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_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 24.78602038000099]