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.001152/0.001153, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001266/0.001266, allocations: 175.1 kB / 18.66 MB, free: 4.438 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.305/1.305, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001289/0.001289, allocations: 51.92 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07726/0.07856, allocations: 46.62 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3647/0.4433, allocations: 186.6 MB / 0.5481 GB, free: 4.645 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2559/0.6992, allocations: 4.776 MB / 0.5528 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.6998, allocations: 5.094 kB / 0.5528 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.7011, allocations: 251.4 kB / 0.553 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.7025, allocations: 380.6 kB / 0.5534 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01241/0.7149, allocations: 2.872 MB / 0.5562 GB, free: 1.488 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002267/0.7172, allocations: 1.164 MB / 0.5573 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.7176, allocations: 149.7 kB / 0.5575 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/0.7232, allocations: 1.466 MB / 0.5589 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.7246, allocations: 435 kB / 0.5593 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.725, allocations: 62.41 kB / 0.5594 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/0.7402, allocations: 4.216 MB / 0.5635 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006976/0.741, allocations: 226.3 kB / 0.5637 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.7422, allocations: 325.2 kB / 0.564 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007505/0.7498, allocations: 2.913 MB / 0.5669 GB, free: 1.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7498, allocations: 0 / 0.5669 GB, free: 1.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7498, allocations: 2.141 kB / 0.5669 GB, free: 1.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.7498, allocations: 1.062 kB / 0.5669 GB, free: 1.27 MB / 478.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.003457/0.7533, allocations: 1.175 MB / 0.568 GB, free: 16.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.7534, allocations: 9.938 kB / 0.568 GB, free: 16.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001876/0.7536, allocations: 87.92 kB / 0.5681 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/0.754, allocations: 64.03 kB / 0.5682 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.7547, allocations: 367.5 kB / 0.5685 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.7547, allocations: 35.91 kB / 0.5686 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.7548, allocations: 44.78 kB / 0.5686 GB, free: 16.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.7558, allocations: 0.4998 MB / 0.5691 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.7559, allocations: 6.969 kB / 0.5691 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.7559, allocations: 17.78 kB / 0.5691 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.7559, allocations: 12.03 kB / 0.5691 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.757, allocations: 0.6004 MB / 0.5697 GB, free: 16.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.7604, allocations: 2.178 MB / 0.5719 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.7615, allocations: 0.5497 MB / 0.5724 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.7619, allocations: 260.4 kB / 0.5726 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.7624, allocations: 0.6942 MB / 0.5733 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.7625, allocations: 45.62 kB / 0.5734 GB, free: 14.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.014e-06/0.7625, allocations: 0.9375 kB / 0.5734 GB, free: 14.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01356/0.776, allocations: 3.633 MB / 0.5769 GB, free: 13.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.7761, allocations: 60.38 kB / 0.577 GB, free: 13.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.7765, allocations: 297.3 kB / 0.5772 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.474e-05/0.7766, allocations: 38.39 kB / 0.5773 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.7767, allocations: 205.5 kB / 0.5775 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.7768, allocations: 236.3 kB / 0.5777 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.777, allocations: 116.8 kB / 0.5778 GB, free: 13.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.7772, allocations: 348.1 kB / 0.5782 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.7778, allocations: 313.7 kB / 0.5784 GB, free: 12.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.7785, allocations: 389.1 kB / 0.5788 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.7798, allocations: 0.7081 MB / 0.5795 GB, free: 12.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7799, allocations: 0 / 0.5795 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002036/0.7819, allocations: 0.9659 MB / 0.5805 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.7819, allocations: 7.312 kB / 0.5805 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7819, allocations: 3.547 kB / 0.5805 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.7834, allocations: 341.5 kB / 0.5808 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.784, allocations: 120.8 kB / 0.5809 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.7875, allocations: 3.702 MB / 0.5845 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.7881, allocations: 45.12 kB / 0.5846 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.7882, allocations: 28.75 kB / 0.5846 GB, free: 9.305 MB / 494.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.0003092/0.7885, allocations: 195.2 kB / 0.5848 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.7887, allocations: 47.28 kB / 0.5848 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.7911, allocations: 1.017 MB / 0.5858 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.7911, allocations: 14.06 kB / 0.5858 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7911, allocations: 0.8125 kB / 0.5858 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001979/0.7931, allocations: 1.072 MB / 0.5869 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.7961, allocations: 1.694 MB / 0.5885 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7962, allocations: 0.6562 kB / 0.5885 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.7967, allocations: 113.8 kB / 0.5886 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.7984, allocations: 371.8 kB / 0.589 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/0.7984, allocations: 26.77 kB / 0.589 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.7997, allocations: 0.8698 MB / 0.5899 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7998, allocations: 3.5 kB / 0.5899 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.8022, allocations: 1.34 MB / 0.5912 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.8024, allocations: 118.8 kB / 0.5913 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.8025, allocations: 22.41 kB / 0.5913 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.8032, allocations: 37.81 kB / 0.5914 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.8033, allocations: 46.64 kB / 0.5914 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-05/0.8034, allocations: 29.33 kB / 0.5914 GB, free: 7.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.8036, allocations: 223.9 kB / 0.5916 GB, free: 7.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.8036, allocations: 1 kB / 0.5916 GB, free: 7.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001576/0.8052, allocations: 466 kB / 0.5921 GB, free: 7.363 MB / 494.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.004337/0.8096, allocations: 2.372 MB / 0.5944 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.8116, allocations: 0.9982 MB / 0.5954 GB, free: 6.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8116, allocations: 0 / 0.5954 GB, free: 6.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009042/0.8125, allocations: 428.3 kB / 0.5958 GB, free: 6.312 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.8141, allocations: 295.8 kB / 0.5961 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009896/0.824, allocations: 5.743 MB / 0.6017 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.8245, allocations: 0.8538 MB / 0.6025 GB, free: 3.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006158/0.8251, allocations: 137.8 kB / 0.6026 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.8254, allocations: 163.1 kB / 0.6028 GB, free: 3.684 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.8254, allocations: 0 / 0.6028 GB, free: 3.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05924/0.8846, allocations: 27.06 MB / 0.6292 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13, allocations: 12 kB / 0.6292 GB, free: 13.14 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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