Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007571/0.0007571, allocations: 95.61 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008687/0.0008688, allocations: 175.6 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 16 kB / 281.5 MB, free: 3.297 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07678/0.07728, allocations: 47.57 MB / 329.1 MB, free: 3.648 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2825/0.3599, allocations: 182.8 MB / 0.4998 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004577/0.3645, allocations: 4.803 MB / 0.5045 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.3648, allocations: 8 kB / 0.5045 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.3653, allocations: 218.9 kB / 0.5048 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.3659, allocations: 370.1 kB / 0.5051 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.3709, allocations: 2.516 MB / 0.5076 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3723, allocations: 1.664 MB / 0.5092 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3724, allocations: 122 kB / 0.5093 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.3747, allocations: 1.286 MB / 0.5106 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005268/0.3753, allocations: 430.5 kB / 0.511 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.3753, allocations: 24 kB / 0.511 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005178/0.3805, allocations: 4.301 MB / 0.5152 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.3807, allocations: 191.5 kB / 0.5154 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.381, allocations: 312.5 kB / 0.5157 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00348/0.3845, allocations: 2.946 MB / 0.5185 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3845, allocations: 0 / 0.5185 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3845, allocations: 0 / 0.5185 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3846, allocations: 4 kB / 0.5186 GB, free: 15.5 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001734/0.3863, allocations: 1.033 MB / 0.5196 GB, free: 14.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3863, allocations: 8.031 kB / 0.5196 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.3864, allocations: 90.45 kB / 0.5197 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.3867, allocations: 59.44 kB / 0.5197 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.3871, allocations: 365.8 kB / 0.5201 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3871, allocations: 32.94 kB / 0.5201 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.3872, allocations: 44 kB / 0.5201 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.3879, allocations: 0.5023 MB / 0.5206 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.388, allocations: 15.89 kB / 0.5206 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.388, allocations: 16 kB / 0.5207 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.388, allocations: 8 kB / 0.5207 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.3888, allocations: 0.605 MB / 0.5213 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.3914, allocations: 2.171 MB / 0.5234 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3924, allocations: 0.5594 MB / 0.5239 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.3927, allocations: 258.1 kB / 0.5242 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.3932, allocations: 0.7009 MB / 0.5249 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3932, allocations: 43 kB / 0.5249 GB, free: 8.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.382e-06/0.3932, allocations: 0 / 0.5249 GB, free: 8.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01248/0.4057, allocations: 3.804 MB / 0.5286 GB, free: 4.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.4057, allocations: 59.97 kB / 0.5287 GB, free: 4.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.406, allocations: 298.6 kB / 0.5289 GB, free: 4.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.4061, allocations: 37.7 kB / 0.529 GB, free: 4.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.4062, allocations: 193.2 kB / 0.5292 GB, free: 4.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.4063, allocations: 224.7 kB / 0.5294 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.4064, allocations: 57.69 kB / 0.5294 GB, free: 3.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.4065, allocations: 350.8 kB / 0.5298 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.4071, allocations: 309.1 kB / 0.5301 GB, free: 3.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.4078, allocations: 400.1 kB / 0.5304 GB, free: 2.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.4091, allocations: 0.7242 MB / 0.5312 GB, free: 1.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4091, allocations: 0 / 0.5312 GB, free: 1.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001864/0.411, allocations: 0.9833 MB / 0.5321 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.411, allocations: 4 kB / 0.5321 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.411, allocations: 7.984 kB / 0.5321 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.4125, allocations: 358.3 kB / 0.5325 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.413, allocations: 115.9 kB / 0.5326 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1142/0.5272, allocations: 3.52 MB / 0.536 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.5279, allocations: 60.69 kB / 0.5361 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.528, allocations: 27.77 kB / 0.5361 GB, free: 161.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.5282, allocations: 192.1 kB / 0.5363 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.5283, allocations: 43.44 kB / 0.5363 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.5308, allocations: 1.041 MB / 0.5373 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.5308, allocations: 10.75 kB / 0.5374 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5308, allocations: 0.5312 kB / 0.5374 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001838/0.5327, allocations: 1.089 MB / 0.5384 GB, free: 161.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.5353, allocations: 1.713 MB / 0.5401 GB, free: 160.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5353, allocations: 1.094 kB / 0.5401 GB, free: 160.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.5358, allocations: 116.4 kB / 0.5402 GB, free: 160.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.5376, allocations: 392.4 kB / 0.5406 GB, free: 160.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.5377, allocations: 24.58 kB / 0.5406 GB, free: 160.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.5388, allocations: 0.8801 MB / 0.5415 GB, free: 159.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5388, allocations: 1.031 kB / 0.5415 GB, free: 159.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.5412, allocations: 1.365 MB / 0.5428 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.5413, allocations: 124.5 kB / 0.5429 GB, free: 159.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.5413, allocations: 21.83 kB / 0.5429 GB, free: 159.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.542, allocations: 62.62 kB / 0.543 GB, free: 159.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.5421, allocations: 45.52 kB / 0.543 GB, free: 159.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.5421, allocations: 28.89 kB / 0.5431 GB, free: 159.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.5423, allocations: 223.5 kB / 0.5433 GB, free: 159 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5423, allocations: 2.875 kB / 0.5433 GB, free: 159 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00106/0.5434, allocations: 451.5 kB / 0.5437 GB, free: 159 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003449/0.5468, allocations: 2.386 MB / 0.546 GB, free: 157.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.5485, allocations: 1.007 MB / 0.547 GB, free: 157.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5485, allocations: 4.125 kB / 0.547 GB, free: 157.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000772/0.5493, allocations: 421 kB / 0.5474 GB, free: 157.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5507, allocations: 295.1 kB / 0.5477 GB, free: 157.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/0.5581, allocations: 6.083 MB / 0.5537 GB, free: 153.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.5583, allocations: 0.8556 MB / 0.5545 GB, free: 153.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.5587, allocations: 121.5 kB / 0.5546 GB, free: 153.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.5589, allocations: 170.5 kB / 0.5548 GB, free: 152.9 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5589, allocations: 0 / 0.5548 GB, free: 152.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.33/1.889, allocations: 25.83 MB / 0.58 GB, free: 128.5 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/1.889, allocations: 238.7 kB / 0.5802 GB, free: 128.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/4.453, allocations: 0 / 0.5802 GB, free: 128.2 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches