Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_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.00154/0.00154, allocations: 110.6 kB / 17.06 MB, free: 5.98 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.001885/0.001885, allocations: 195 kB / 18 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2655, allocations: 49.44 MB / 400.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02952/0.2951, allocations: 26.43 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.2977, allocations: 2.239 MB / 428.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.2978, allocations: 0 / 428.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.2981, allocations: 59.66 kB / 429 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.2985, allocations: 151.2 kB / 429.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01386/0.3124, allocations: 6.511 MB / 435.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000444/0.3128, allocations: 306.9 kB / 435.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.3129, allocations: 9.125 kB / 435.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.3131, allocations: 143.5 kB / 436.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.3133, allocations: 115.6 kB / 436.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3133, allocations: 12 kB / 436.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/0.3289, allocations: 9.504 MB / 445.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3291, allocations: 75.77 kB / 445.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3292, allocations: 87.66 kB / 445.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009589/0.3388, allocations: 4.69 MB / 450.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3388, allocations: 0 / 450.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.3389, allocations: 0 / 450.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3389, allocations: 3.938 kB / 450.6 MB, free: 6.34 MB / 366.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.003604/0.3425, allocations: 1.126 MB / 451.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3425, allocations: 11.97 kB / 451.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.422e-05/0.3426, allocations: 50.73 kB / 451.7 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.3428, allocations: 32.3 kB / 451.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.3431, allocations: 210.8 kB / 452 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3431, allocations: 12.33 kB / 452 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.3432, allocations: 12 kB / 452 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.3439, allocations: 289.4 kB / 452.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.344, allocations: 0 / 452.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.344, allocations: 12 kB / 452.3 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.344, allocations: 7.938 kB / 452.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008109/0.3449, allocations: 315.6 kB / 452.6 MB, free: 4.172 MB / 366.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.001489/0.3464, allocations: 0.8246 MB / 453.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.3472, allocations: 245.3 kB / 453.7 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.3475, allocations: 133.9 kB / 453.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/0.364, allocations: 12.86 MB / 466.7 MB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.3641, allocations: 42.5 kB / 466.7 MB, free: 3.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.324e-06/0.3641, allocations: 0 / 466.7 MB, free: 3.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002982/0.3671, allocations: 0.68 MB / 467.4 MB, free: 2.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.3672, allocations: 85.05 kB / 467.5 MB, free: 2.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3673, allocations: 129.8 kB / 467.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.3674, allocations: 29.7 kB / 467.6 MB, free: 2.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.3675, allocations: 108.8 kB / 467.7 MB, free: 2.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.3676, allocations: 122.2 kB / 467.9 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3677, allocations: 73.67 kB / 467.9 MB, free: 2.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3679, allocations: 326.8 kB / 468.2 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.3683, allocations: 135.9 kB / 468.4 MB, free: 1.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.3688, allocations: 211.5 kB / 468.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000944/0.3698, allocations: 369.1 kB / 468.9 MB, free: 1.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.3698, allocations: 4 kB / 468.9 MB, free: 1.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001172/0.3709, allocations: 415.7 kB / 469.4 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.371, allocations: 4 kB / 469.4 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.371, allocations: 12.2 kB / 469.4 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.371, allocations: 8 kB / 469.4 MB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.3715, allocations: 91.75 kB / 469.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3715, allocations: 4 kB / 469.5 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.3718, allocations: 27.89 kB / 469.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.3719, allocations: 15.98 kB / 469.5 MB, free: 0.5312 MB / 382.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.000148/0.372, allocations: 149.7 kB / 469.7 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.3722, allocations: 19.81 kB / 469.7 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.3726, allocations: 189.5 kB / 469.9 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3727, allocations: 7.938 kB / 469.9 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3727, allocations: 4 kB / 469.9 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3727, allocations: 0 / 469.9 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.3745, allocations: 0.7597 MB / 470.6 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3745, allocations: 0 / 470.6 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.3749, allocations: 79.88 kB / 470.7 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.3749, allocations: 0 / 470.7 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.375, allocations: 20.14 kB / 470.7 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.375, allocations: 4 kB / 470.7 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.375, allocations: 3.938 kB / 470.7 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.3765, allocations: 0.7037 MB / 471.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.3767, allocations: 124.8 kB / 471.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.3767, allocations: 4 kB / 471.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.3771, allocations: 23.98 kB / 471.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3771, allocations: 27.84 kB / 471.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.3772, allocations: 23.97 kB / 471.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.762e-05/0.3773, allocations: 99.2 kB / 471.7 MB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3773, allocations: 4.062 kB / 471.7 MB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002821/0.3801, allocations: 0.9409 MB / 472.7 MB, free: 13.22 MB / 398.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 (37): * Single equations (assignments): 37 * 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.006323/0.3864, allocations: 2.384 MB / 475.1 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.3875, allocations: 351.3 kB / 475.4 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3875, allocations: 3.938 kB / 475.4 MB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.3879, allocations: 180.3 kB / 475.6 MB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.3887, allocations: 95.36 kB / 475.7 MB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/0.3948, allocations: 3.135 MB / 478.8 MB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.3951, allocations: 0.7371 MB / 479.6 MB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000336/0.3954, allocations: 82.05 kB / 479.6 MB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3956, allocations: 71.39 kB / 479.7 MB, free: 5.973 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3956, allocations: 4 kB / 479.7 MB, free: 5.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06324/0.4589, allocations: 32.6 MB / 0.5003 GB, free: 5.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.977/9.436, allocations: 3.281 kB / 0.5003 GB, free: 5.469 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches