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.001865/0.001865, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002094/0.002094, allocations: 194.2 kB / 23.71 MB, free: 4.406 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.435/1.435, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.001779/0.001779, allocations: 51.91 kB / 370.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2411, allocations: 52.18 MB / 422.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05611/0.2972, allocations: 45.42 MB / 468 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.3037, allocations: 4.693 MB / 472.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.3039, allocations: 7.938 kB / 472.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.3046, allocations: 230.6 kB / 472.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006942/0.3053, allocations: 369.9 kB / 473.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01771/0.323, allocations: 7.114 MB / 480.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.3245, allocations: 1.107 MB / 481.5 MB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.3248, allocations: 93.86 kB / 481.6 MB, free: 3.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006625/0.3314, allocations: 3.607 MB / 485.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.332, allocations: 398.5 kB / 485.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.3321, allocations: 60 kB / 485.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.3493, allocations: 9.283 MB / 494.9 MB, free: 5.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.3496, allocations: 235.4 kB / 495.2 MB, free: 5.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.35, allocations: 267.1 kB / 495.4 MB, free: 5.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.3629, allocations: 5.433 MB / 0.4891 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.3629, allocations: 4 kB / 0.4891 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3629, allocations: 0 / 0.4891 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.3629, allocations: 0 / 0.4891 GB, free: 15.87 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.003602/0.3665, allocations: 1.315 MB / 0.4904 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3665, allocations: 8.031 kB / 0.4904 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.3667, allocations: 90.45 kB / 0.4905 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.367, allocations: 67.72 kB / 0.4906 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.3676, allocations: 313.2 kB / 0.4909 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.3676, allocations: 36.98 kB / 0.4909 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.3677, allocations: 47.94 kB / 0.4909 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.3692, allocations: 0.8855 MB / 0.4918 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.3692, allocations: 4 kB / 0.4918 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/0.3692, allocations: 16 kB / 0.4918 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.3693, allocations: 16 kB / 0.4918 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3706, allocations: 0.7378 MB / 0.4926 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.3831, allocations: 3.654 MB / 0.4961 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.3844, allocations: 0.5083 MB / 0.4966 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.3848, allocations: 244.9 kB / 0.4969 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.395, allocations: 2.573 MB / 0.4994 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.3951, allocations: 39 kB / 0.4994 GB, free: 5.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.255e-06/0.3951, allocations: 4 kB / 0.4994 GB, free: 5.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005753/0.4008, allocations: 1.901 MB / 0.5013 GB, free: 3.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4009, allocations: 59.91 kB / 0.5013 GB, free: 3.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.4013, allocations: 324.2 kB / 0.5016 GB, free: 2.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.4013, allocations: 37.7 kB / 0.5017 GB, free: 2.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4015, allocations: 208.7 kB / 0.5019 GB, free: 2.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.4016, allocations: 190.3 kB / 0.5021 GB, free: 2.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.4018, allocations: 122.3 kB / 0.5022 GB, free: 2.211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.402, allocations: 346.8 kB / 0.5025 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.4024, allocations: 233.2 kB / 0.5027 GB, free: 1.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/0.4031, allocations: 352.2 kB / 0.5031 GB, free: 1.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.4043, allocations: 0.5995 MB / 0.5036 GB, free: 0.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4043, allocations: 0 / 0.5036 GB, free: 0.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001865/0.4062, allocations: 0.7561 MB / 0.5044 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.4062, allocations: 11.94 kB / 0.5044 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4062, allocations: 0 / 0.5044 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.4067, allocations: 106.5 kB / 0.5045 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.4072, allocations: 123.9 kB / 0.5046 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.41, allocations: 3.269 MB / 0.5078 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.4103, allocations: 12 kB / 0.5078 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.4104, allocations: 31.98 kB / 0.5079 GB, free: 12.04 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.0002934/0.4107, allocations: 197.9 kB / 0.508 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.411, allocations: 51.72 kB / 0.5081 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.4126, allocations: 0.8113 MB / 0.5089 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4127, allocations: 8 kB / 0.5089 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.4127, allocations: 0 / 0.5089 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/0.4139, allocations: 0.7673 MB / 0.5096 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.4161, allocations: 1.176 MB / 0.5108 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4161, allocations: 0 / 0.5108 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.4165, allocations: 107.9 kB / 0.5109 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/0.4174, allocations: 148.6 kB / 0.511 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.4174, allocations: 19.98 kB / 0.511 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004867/0.4179, allocations: 0.6445 MB / 0.5117 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4179, allocations: 4.031 kB / 0.5117 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.4197, allocations: 0.9131 MB / 0.5126 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.4198, allocations: 31.77 kB / 0.5126 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.4199, allocations: 23.92 kB / 0.5126 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.4203, allocations: 19.98 kB / 0.5126 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.4204, allocations: 32.38 kB / 0.5127 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.4204, allocations: 27.98 kB / 0.5127 GB, free: 6.844 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.4207, allocations: 263.1 kB / 0.513 GB, free: 6.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4207, allocations: 0 / 0.513 GB, free: 6.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00366/0.4244, allocations: 1.333 MB / 0.5143 GB, free: 5.254 MB / 430.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.007977/0.4324, allocations: 3.048 MB / 0.5172 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.4342, allocations: 0.7801 MB / 0.518 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4342, allocations: 0 / 0.518 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.4348, allocations: 275.9 kB / 0.5183 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4363, allocations: 284.8 kB / 0.5185 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.4463, allocations: 5.324 MB / 0.5237 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.4466, allocations: 233.6 kB / 0.524 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005654/0.4472, allocations: 148.2 kB / 0.5241 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.4474, allocations: 155.4 kB / 0.5242 GB, free: 10.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4474, allocations: 0 / 0.5242 GB, free: 10.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2802/0.7277, allocations: 52.17 MB / 0.5752 GB, free: 77.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.64, allocations: 18.25 kB / 0.5752 GB, free: 77.96 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.84900695923716]