Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.0008755/0.0008755, allocations: 91.69 kB / 17.3 MB, free: 6.395 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.0009029/0.0009029, allocations: 173.7 kB / 18.2 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.173/1.173, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004449/0.0004451, allocations: 11.12 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07438/0.07484, allocations: 47.59 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2431/0.318, allocations: 66 MB / 395.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005142/0.3231, allocations: 5.478 MB / 400.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.3235, allocations: 3.938 kB / 400.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008444/0.3243, allocations: 311.8 kB / 400.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007634/0.3251, allocations: 0.4978 MB / 401.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01279/0.3379, allocations: 5.902 MB / 407.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.34, allocations: 2.31 MB / 409.6 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.3402, allocations: 173.8 kB / 409.7 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.3408, allocations: 0.5195 MB / 410.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.3414, allocations: 0.5661 MB / 410.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.3414, allocations: 40.5 kB / 410.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01367/0.3551, allocations: 10.27 MB / 421.1 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.3555, allocations: 273 kB / 421.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.356, allocations: 412 kB / 421.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008853/0.3648, allocations: 5.979 MB / 427.8 MB, free: 164 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3649, allocations: 0 / 427.8 MB, free: 164 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3649, allocations: 0 / 427.8 MB, free: 164 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3649, allocations: 0 / 427.8 MB, free: 164 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003326/0.3682, allocations: 1.4 MB / 429.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3683, allocations: 12.03 kB / 429.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.3684, allocations: 104 kB / 429.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.3688, allocations: 87.17 kB / 429.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.3693, allocations: 443.7 kB / 429.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.3694, allocations: 49.31 kB / 429.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.3695, allocations: 60 kB / 429.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.3711, allocations: 0.8146 MB / 430.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.3711, allocations: 3.906 kB / 430.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.3712, allocations: 28 kB / 430.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3712, allocations: 12 kB / 430.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.373, allocations: 1.032 MB / 431.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.3887, allocations: 12.82 MB / 444.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.3903, allocations: 0.7567 MB / 445.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.3909, allocations: 407.6 kB / 445.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01344/0.4044, allocations: 12.31 MB / 458.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.4044, allocations: 43.72 kB / 458.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.204e-06/0.4044, allocations: 0 / 458.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009045/0.4135, allocations: 3.419 MB / 461.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.4135, allocations: 60.41 kB / 461.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.414, allocations: 360.5 kB / 462 MB, free: 9.305 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.4141, allocations: 41.7 kB / 462 MB, free: 9.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.4142, allocations: 247.3 kB / 462.2 MB, free: 9.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.4144, allocations: 307.2 kB / 462.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/0.4145, allocations: 73.67 kB / 462.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4147, allocations: 358.8 kB / 463 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.4152, allocations: 373.8 kB / 463.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/0.4161, allocations: 496.2 kB / 463.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.4177, allocations: 0.8964 MB / 464.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4177, allocations: 4 kB / 464.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002384/0.4201, allocations: 1.117 MB / 465.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4202, allocations: 8 kB / 465.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.4202, allocations: 0 / 465.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/0.421, allocations: 171.5 kB / 466 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.4217, allocations: 187.7 kB / 466.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.4242, allocations: 3.919 MB / 470.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.4247, allocations: 67.89 kB / 470.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/0.4248, allocations: 43.98 kB / 470.2 MB, free: 0.6133 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.4251, allocations: 225.6 kB / 470.4 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.4254, allocations: 63.44 kB / 470.5 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.4276, allocations: 1.275 MB / 471.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4277, allocations: 11.98 kB / 471.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.4277, allocations: 0 / 471.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/0.4293, allocations: 1.331 MB / 473.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.4322, allocations: 1.967 MB / 475.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4322, allocations: 3.938 kB / 475.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.4329, allocations: 163.8 kB / 475.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.4346, allocations: 301.2 kB / 475.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.4347, allocations: 27.98 kB / 475.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007352/0.4354, allocations: 1.289 MB / 476.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4354, allocations: 4.188 kB / 476.9 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.4378, allocations: 1.405 MB / 478.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.438, allocations: 140.4 kB / 478.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.4381, allocations: 27.94 kB / 478.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.4386, allocations: 59.92 kB / 478.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.4387, allocations: 48.94 kB / 478.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.4388, allocations: 51.89 kB / 478.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.4391, allocations: 283 kB / 478.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4391, allocations: 0 / 478.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003587/0.4427, allocations: 1.394 MB / 480.3 MB, free: 6.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007199/0.4499, allocations: 3.59 MB / 483.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.4518, allocations: 1.156 MB / 485 MB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4518, allocations: 0 / 485 MB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.4526, allocations: 491.2 kB / 485.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.4545, allocations: 382.5 kB / 485.9 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.4648, allocations: 7.528 MB / 493.4 MB, free: 8.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.4653, allocations: 0.9128 MB / 494.3 MB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007205/0.466, allocations: 209.1 kB / 494.5 MB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.4664, allocations: 231.3 kB / 494.7 MB, free: 7.625 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4664, allocations: 0 / 494.7 MB, free: 7.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.219/0.6854, allocations: 56.89 MB / 0.5387 GB, free: 171.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.6856, allocations: 263.7 kB / 0.5389 GB, free: 170.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.697/4.383, allocations: 0 / 0.5389 GB, free: 170.7 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches