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.001322/0.001322, 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.001406/0.001406, allocations: 212 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.324/1.324, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] 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.001782/0.001782, allocations: 58.73 kB / 347.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2351, allocations: 49.14 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1637/0.3987, allocations: 131.4 MB / 0.5154 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.3997, allocations: 0.5537 MB / 0.5159 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.3998, allocations: 0 / 0.5159 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.4002, allocations: 55.66 kB / 0.5159 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.4005, allocations: 159 kB / 0.5161 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.4037, allocations: 1.097 MB / 0.5172 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.4042, allocations: 326.8 kB / 0.5175 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.4042, allocations: 5.641 kB / 0.5175 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.4045, allocations: 159.4 kB / 0.5176 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.4047, allocations: 131.5 kB / 0.5178 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.4048, allocations: 12 kB / 0.5178 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.4072, allocations: 1.357 MB / 0.5191 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.4073, allocations: 63.86 kB / 0.5192 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.4074, allocations: 87.7 kB / 0.5192 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.4089, allocations: 0.9644 MB / 0.5202 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4089, allocations: 0 / 0.5202 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4089, allocations: 0 / 0.5202 GB, free: 10.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.4089, allocations: 0 / 0.5202 GB, free: 10.34 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.001625/0.4105, allocations: 0.6097 MB / 0.5208 GB, free: 9.695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4105, allocations: 15.97 kB / 0.5208 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.688e-05/0.4106, allocations: 54.73 kB / 0.5209 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.4107, allocations: 20.78 kB / 0.5209 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.411, allocations: 157.7 kB / 0.521 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.411, allocations: 16.33 kB / 0.521 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.411, allocations: 16 kB / 0.5211 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.4117, allocations: 364.2 kB / 0.5214 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4117, allocations: 3.953 kB / 0.5214 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.4117, allocations: 8 kB / 0.5214 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.4118, allocations: 7.984 kB / 0.5214 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.4124, allocations: 263.8 kB / 0.5217 GB, free: 8.719 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.001409/0.4138, allocations: 0.6507 MB / 0.5223 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.4145, allocations: 213.1 kB / 0.5225 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.4148, allocations: 129.6 kB / 0.5226 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.415, allocations: 47.95 kB / 0.5227 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.415, allocations: 42.56 kB / 0.5227 GB, free: 7.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.415, allocations: 0 / 0.5227 GB, free: 7.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.00243/0.4174, allocations: 0.6845 MB / 0.5234 GB, free: 6.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.4175, allocations: 81.11 kB / 0.5235 GB, free: 6.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.4176, allocations: 121.8 kB / 0.5236 GB, free: 6.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.4176, allocations: 33.7 kB / 0.5236 GB, free: 6.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.4177, allocations: 108.9 kB / 0.5237 GB, free: 6.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.4178, allocations: 130.8 kB / 0.5238 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.4179, allocations: 73.64 kB / 0.5239 GB, free: 6.281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4181, allocations: 326.8 kB / 0.5242 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.4185, allocations: 135.9 kB / 0.5244 GB, free: 5.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.4189, allocations: 203.6 kB / 0.5245 GB, free: 5.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.4198, allocations: 359.4 kB / 0.5249 GB, free: 5.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4198, allocations: 0 / 0.5249 GB, free: 5.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009825/0.4208, allocations: 409.3 kB / 0.5253 GB, free: 4.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4208, allocations: 4 kB / 0.5253 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4208, allocations: 4 kB / 0.5253 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4208, allocations: 8.594 kB / 0.5253 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.4213, allocations: 87.88 kB / 0.5254 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4213, allocations: 4 kB / 0.5254 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.4216, allocations: 27.92 kB / 0.5254 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.4216, allocations: 23.81 kB / 0.5254 GB, free: 4.652 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.0001494/0.4218, allocations: 145.7 kB / 0.5256 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.4218, allocations: 19.91 kB / 0.5256 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.4222, allocations: 174.5 kB / 0.5258 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.4222, allocations: 7.984 kB / 0.5258 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4222, allocations: 0 / 0.5258 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4222, allocations: 4 kB / 0.5258 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.4239, allocations: 0.7083 MB / 0.5265 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4239, allocations: 4 kB / 0.5265 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.4243, allocations: 79.88 kB / 0.5265 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4244, allocations: 4 kB / 0.5265 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.4244, allocations: 8 kB / 0.5266 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4244, allocations: 4 kB / 0.5266 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4244, allocations: 0 / 0.5266 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.4258, allocations: 0.7142 MB / 0.5273 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4259, allocations: 43.83 kB / 0.5273 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.426, allocations: 8 kB / 0.5273 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.4263, allocations: 28.05 kB / 0.5273 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.4263, allocations: 19.95 kB / 0.5273 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.4264, allocations: 19.98 kB / 0.5274 GB, free: 2.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.865e-05/0.4264, allocations: 99.2 kB / 0.5275 GB, free: 2.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4264, allocations: 0 / 0.5275 GB, free: 2.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005604/0.427, allocations: 135.8 kB / 0.5276 GB, free: 2.324 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.002049/0.429, allocations: 1.383 MB / 0.5289 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008797/0.4299, allocations: 327.6 kB / 0.5293 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4299, allocations: 4 kB / 0.5293 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.4303, allocations: 168.5 kB / 0.5294 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.431, allocations: 104 kB / 0.5295 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.4357, allocations: 2.822 MB / 0.5323 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.4358, allocations: 136.6 kB / 0.5324 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.4361, allocations: 73.91 kB / 0.5325 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4363, allocations: 59.41 kB / 0.5325 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4363, allocations: 4 kB / 0.5325 GB, free: 13.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.4747, allocations: 9.199 MB / 0.5415 GB, free: 3.766 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.41, allocations: 12.05 kB / 0.5415 GB, free: 3.754 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 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.mat","/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: 13.643073901999742]