Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001767/0.001767, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002119/0.002119, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.385/1.385, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_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.001781/0.001781, allocations: 55.92 kB / 347.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2356, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1637/0.3993, allocations: 131.4 MB / 0.5154 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.4005, allocations: 0.5535 MB / 0.5159 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.4006, allocations: 0 / 0.5159 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.4009, allocations: 59.66 kB / 0.516 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.4014, allocations: 159 kB / 0.5161 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.405, allocations: 1.094 MB / 0.5172 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.4054, allocations: 330.8 kB / 0.5175 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.4055, allocations: 5.641 kB / 0.5175 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.4058, allocations: 159.4 kB / 0.5176 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.406, allocations: 127.5 kB / 0.5178 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.4061, allocations: 16 kB / 0.5178 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.4088, allocations: 1.349 MB / 0.5191 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.409, allocations: 71.84 kB / 0.5192 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.4091, allocations: 83.7 kB / 0.5192 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.4113, allocations: 0.9605 MB / 0.5202 GB, free: 10.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4113, allocations: 0 / 0.5202 GB, free: 10.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4113, allocations: 0 / 0.5202 GB, free: 10.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.4114, allocations: 3.938 kB / 0.5202 GB, free: 10.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001939/0.4133, allocations: 0.6136 MB / 0.5208 GB, free: 9.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4133, allocations: 19.97 kB / 0.5208 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.526e-05/0.4134, allocations: 50.73 kB / 0.5209 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.4136, allocations: 20.84 kB / 0.5209 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.4138, allocations: 161.7 kB / 0.521 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4139, allocations: 12.33 kB / 0.521 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.4139, allocations: 16 kB / 0.5211 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.4146, allocations: 364.2 kB / 0.5214 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.4146, allocations: 3.953 kB / 0.5214 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.4146, allocations: 4 kB / 0.5214 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.4146, allocations: 16 kB / 0.5214 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.4153, allocations: 259.8 kB / 0.5217 GB, free: 8.695 MB / 446.1 MB 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.001567/0.4169, allocations: 0.6429 MB / 0.5223 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.4175, allocations: 217 kB / 0.5225 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.4179, allocations: 125.6 kB / 0.5226 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.4181, allocations: 47.95 kB / 0.5227 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.4181, allocations: 38.56 kB / 0.5227 GB, free: 7.547 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 2.214e-06/0.4181, allocations: 0 / 0.5227 GB, free: 7.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002558/0.4207, allocations: 0.6884 MB / 0.5234 GB, free: 6.852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.4207, allocations: 81.11 kB / 0.5235 GB, free: 6.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4209, allocations: 121.8 kB / 0.5236 GB, free: 6.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.4209, allocations: 29.7 kB / 0.5236 GB, free: 6.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.421, allocations: 108.9 kB / 0.5237 GB, free: 6.477 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.4211, allocations: 134.8 kB / 0.5238 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4212, allocations: 69.64 kB / 0.5239 GB, free: 6.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4213, allocations: 334.8 kB / 0.5242 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.4217, allocations: 131.9 kB / 0.5243 GB, free: 5.805 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.4222, allocations: 203.6 kB / 0.5245 GB, free: 5.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/0.423, allocations: 359.4 kB / 0.5249 GB, free: 5.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.423, allocations: 384 / 0.5249 GB, free: 5.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001037/0.4241, allocations: 413.4 kB / 0.5253 GB, free: 4.789 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4241, allocations: 8 kB / 0.5253 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4241, allocations: 0 / 0.5253 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.4241, allocations: 7.938 kB / 0.5253 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.4246, allocations: 87.88 kB / 0.5254 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4246, allocations: 4 kB / 0.5254 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.4249, allocations: 27.92 kB / 0.5254 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.425, allocations: 19.94 kB / 0.5254 GB, free: 4.637 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.4252, allocations: 149.8 kB / 0.5256 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.4252, allocations: 19.89 kB / 0.5256 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.4256, allocations: 170.5 kB / 0.5258 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4256, allocations: 11.94 kB / 0.5258 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4256, allocations: 0 / 0.5258 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4256, allocations: 0 / 0.5258 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.4274, allocations: 0.7042 MB / 0.5265 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4274, allocations: 0 / 0.5265 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.4279, allocations: 75.89 kB / 0.5265 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.4279, allocations: 3.984 kB / 0.5265 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.4279, allocations: 16 kB / 0.5265 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.4279, allocations: 4 kB / 0.5265 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4279, allocations: 8.156 kB / 0.5266 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.4294, allocations: 0.7142 MB / 0.5273 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.4295, allocations: 43.8 kB / 0.5273 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.4296, allocations: 8 kB / 0.5273 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.4299, allocations: 19.98 kB / 0.5273 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.43, allocations: 23.95 kB / 0.5273 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.43, allocations: 19.98 kB / 0.5274 GB, free: 2.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.878e-05/0.4301, allocations: 91.27 kB / 0.5274 GB, free: 2.449 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4301, allocations: 3.938 kB / 0.5275 GB, free: 2.445 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005923/0.4307, allocations: 135.8 kB / 0.5276 GB, free: 2.312 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002123/0.4328, allocations: 1.388 MB / 0.5289 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009077/0.4337, allocations: 327.5 kB / 0.5293 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4337, allocations: 0.7188 kB / 0.5293 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.4341, allocations: 167.7 kB / 0.5294 GB, free: 408 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.4348, allocations: 108 kB / 0.5295 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.4397, allocations: 2.833 MB / 0.5323 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.4399, allocations: 124.7 kB / 0.5324 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.4402, allocations: 77.95 kB / 0.5325 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.4404, allocations: 63.41 kB / 0.5325 GB, free: 13.01 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4404, allocations: 0 / 0.5325 GB, free: 13.01 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/0.4822, allocations: 9.203 MB / 0.5415 GB, free: 3.742 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.92, allocations: 11.92 kB / 0.5415 GB, free: 3.73 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 14.390194503124803]