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.001471/0.001471, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.001722/0.001722, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.385/1.385, allocations: 205.1 MB / 224 MB, free: 12.36 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.00139/0.001391, allocations: 51.92 kB / 280.3 MB, free: 3.371 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09481, allocations: 46.63 MB / 326.9 MB, free: 4.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4132/0.5081, allocations: 184.3 MB / 0.4992 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006702/0.5148, allocations: 4.764 MB / 0.5039 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.5151, allocations: 4 kB / 0.5039 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.516, allocations: 226.9 kB / 0.5041 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006449/0.5166, allocations: 354.2 kB / 0.5044 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008305/0.525, allocations: 2.609 MB / 0.507 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.5267, allocations: 1.169 MB / 0.5081 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.527, allocations: 153.4 kB / 0.5083 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.5307, allocations: 1.391 MB / 0.5096 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005075/0.5312, allocations: 446.6 kB / 0.51 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.5313, allocations: 60 kB / 0.5101 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008247/0.5396, allocations: 4.235 MB / 0.5142 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.5399, allocations: 231.5 kB / 0.5144 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.5404, allocations: 314.9 kB / 0.5147 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00616/0.5466, allocations: 3.001 MB / 0.5177 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5466, allocations: 3.938 kB / 0.5177 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.5466, allocations: 0 / 0.5177 GB, free: 11.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.5466, allocations: 0 / 0.5177 GB, free: 11.97 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.002457/0.5491, allocations: 1.138 MB / 0.5188 GB, free: 10.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5492, allocations: 8.031 kB / 0.5188 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.5493, allocations: 86.52 kB / 0.5189 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.5496, allocations: 59.42 kB / 0.5189 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.5501, allocations: 361.9 kB / 0.5193 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.5502, allocations: 40.94 kB / 0.5193 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.5502, allocations: 40 kB / 0.5194 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/0.5511, allocations: 0.5062 MB / 0.5199 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.5512, allocations: 0 / 0.5199 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.5512, allocations: 20 kB / 0.5199 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.5513, allocations: 8 kB / 0.5199 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/0.5522, allocations: 0.6012 MB / 0.5205 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.5553, allocations: 2.179 MB / 0.5226 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.5565, allocations: 0.5548 MB / 0.5231 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.5568, allocations: 254.1 kB / 0.5234 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.5574, allocations: 0.697 MB / 0.5241 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5574, allocations: 43 kB / 0.5241 GB, free: 4.898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.523e-06/0.5574, allocations: 0 / 0.5241 GB, free: 4.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01406/0.5715, allocations: 3.65 MB / 0.5277 GB, free: 1.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.5716, allocations: 59.97 kB / 0.5277 GB, free: 1.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.5719, allocations: 290.7 kB / 0.528 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.572, allocations: 41.7 kB / 0.528 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5721, allocations: 197.1 kB / 0.5282 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.5723, allocations: 224.7 kB / 0.5284 GB, free: 332 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.5725, allocations: 114.3 kB / 0.5286 GB, free: 212 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.1756/0.748, allocations: 350.8 kB / 0.5289 GB, free: 166.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009538/0.749, allocations: 309.1 kB / 0.5292 GB, free: 166.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/0.7498, allocations: 387.1 kB / 0.5296 GB, free: 166.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.7513, allocations: 0.7095 MB / 0.5302 GB, free: 166.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.7513, allocations: 1.375 kB / 0.5302 GB, free: 166.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002474/0.7538, allocations: 0.9664 MB / 0.5312 GB, free: 165.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.7538, allocations: 6.109 kB / 0.5312 GB, free: 165.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.7539, allocations: 3.031 kB / 0.5312 GB, free: 165.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.7554, allocations: 334.1 kB / 0.5315 GB, free: 165.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.756, allocations: 119.4 kB / 0.5316 GB, free: 165.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.759, allocations: 3.712 MB / 0.5353 GB, free: 162.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/0.7597, allocations: 60.12 kB / 0.5353 GB, free: 162.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.7597, allocations: 26.56 kB / 0.5353 GB, free: 162.2 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.0002952/0.76, allocations: 190.1 kB / 0.5355 GB, free: 162.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.7602, allocations: 49.11 kB / 0.5356 GB, free: 162 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.7627, allocations: 1.02 MB / 0.5366 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.7628, allocations: 6.938 kB / 0.5366 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7628, allocations: 0.7031 kB / 0.5366 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/0.7648, allocations: 1.07 MB / 0.5376 GB, free: 161 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.7677, allocations: 1.698 MB / 0.5393 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.7678, allocations: 7.719 kB / 0.5393 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.7683, allocations: 117.7 kB / 0.5394 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.7702, allocations: 370.5 kB / 0.5397 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.7702, allocations: 24 kB / 0.5398 GB, free: 160.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.7716, allocations: 0.8625 MB / 0.5406 GB, free: 159.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7716, allocations: 0 / 0.5406 GB, free: 159.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.7742, allocations: 1.34 MB / 0.5419 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.7743, allocations: 117.9 kB / 0.542 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.7744, allocations: 26.06 kB / 0.5421 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/0.7751, allocations: 59.44 kB / 0.5421 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.7752, allocations: 42.78 kB / 0.5422 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.7753, allocations: 33.23 kB / 0.5422 GB, free: 158.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.7755, allocations: 227.1 kB / 0.5424 GB, free: 158.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7755, allocations: 0 / 0.5424 GB, free: 158.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001723/0.7773, allocations: 458.2 kB / 0.5428 GB, free: 158.6 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.004104/0.7814, allocations: 2.345 MB / 0.5451 GB, free: 157.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.7837, allocations: 1.063 MB / 0.5462 GB, free: 156.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.7837, allocations: 3.938 kB / 0.5462 GB, free: 156.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009071/0.7846, allocations: 425.9 kB / 0.5466 GB, free: 156.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.7862, allocations: 310.6 kB / 0.5469 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009446/0.7957, allocations: 5.946 MB / 0.5527 GB, free: 153.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.796, allocations: 0.8526 MB / 0.5535 GB, free: 152.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006077/0.7966, allocations: 128.8 kB / 0.5536 GB, free: 152.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.7968, allocations: 164.5 kB / 0.5538 GB, free: 152.1 MB / 430.1 MB Notification: Performance of SimCode: time 5.82e-07/0.7969, allocations: 4 kB / 0.5538 GB, free: 152.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.8346, allocations: 26.69 MB / 0.5799 GB, free: 125.4 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.8348, allocations: 247.7 kB / 0.5801 GB, free: 125.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.52, allocations: 0 / 0.5801 GB, free: 125.1 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