Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 59 kB / 306.3 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07616/0.07723, allocations: 50.54 MB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2676/0.3448, allocations: 152.3 MB / 0.4973 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3465, allocations: 1.615 MB / 0.4988 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.3466, allocations: 7.938 kB / 0.4988 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.347, allocations: 55.77 kB / 0.4989 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.3473, allocations: 157.4 kB / 0.499 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.3496, allocations: 0.8969 MB / 0.4999 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.3501, allocations: 0.5021 MB / 0.5004 GB, free: 12 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.3501, allocations: 9.562 kB / 0.5004 GB, free: 4 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.3504, allocations: 147.5 kB / 0.5006 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3506, allocations: 139.5 kB / 0.5007 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.3507, allocations: 8 kB / 0.5007 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.3531, allocations: 1.684 MB / 0.5023 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.3532, allocations: 71.77 kB / 0.5024 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3533, allocations: 103.6 kB / 0.5025 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.3548, allocations: 1.06 MB / 0.5035 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3548, allocations: 5.719 kB / 0.5036 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.3548, allocations: 0 / 0.5036 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3549, allocations: 4 kB / 0.5036 GB, free: 12.79 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001656/0.3565, allocations: 0.7019 MB / 0.5042 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3566, allocations: 12.03 kB / 0.5043 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.3566, allocations: 46.73 kB / 0.5043 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.3568, allocations: 20.75 kB / 0.5043 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.357, allocations: 227.2 kB / 0.5045 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.357, allocations: 12.33 kB / 0.5045 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.3571, allocations: 12 kB / 0.5046 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.3576, allocations: 269.4 kB / 0.5048 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3576, allocations: 0 / 0.5048 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.3576, allocations: 8 kB / 0.5048 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.3577, allocations: 15.73 kB / 0.5048 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006077/0.3583, allocations: 271.7 kB / 0.5051 GB, free: 11.11 MB / 430.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.001315/0.3596, allocations: 0.7892 MB / 0.5059 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.3602, allocations: 221.2 kB / 0.5061 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.3605, allocations: 141.6 kB / 0.5062 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.3608, allocations: 358.5 kB / 0.5066 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3609, allocations: 34.56 kB / 0.5066 GB, free: 9.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.3609, allocations: 0 / 0.5066 GB, free: 9.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002334/0.3632, allocations: 0.682 MB / 0.5073 GB, free: 8.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.3632, allocations: 85.09 kB / 0.5073 GB, free: 8.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3634, allocations: 141.7 kB / 0.5075 GB, free: 8.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.3634, allocations: 33.7 kB / 0.5075 GB, free: 8.418 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.3635, allocations: 108.9 kB / 0.5076 GB, free: 8.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.3635, allocations: 134 kB / 0.5077 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3637, allocations: 69.64 kB / 0.5078 GB, free: 8.102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.3638, allocations: 322.8 kB / 0.5081 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.3641, allocations: 135.9 kB / 0.5082 GB, free: 7.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.3645, allocations: 207.6 kB / 0.5084 GB, free: 7.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.3653, allocations: 363.4 kB / 0.5088 GB, free: 7.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3653, allocations: 0 / 0.5088 GB, free: 7.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008983/0.3662, allocations: 416.1 kB / 0.5092 GB, free: 6.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3662, allocations: 10.81 kB / 0.5092 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3662, allocations: 0 / 0.5092 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3662, allocations: 4 kB / 0.5092 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.3667, allocations: 96.03 kB / 0.5093 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3667, allocations: 4 kB / 0.5093 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.3671, allocations: 35.75 kB / 0.5093 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.3671, allocations: 19.94 kB / 0.5093 GB, free: 6.461 MB / 430.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.0001276/0.3672, allocations: 142.9 kB / 0.5095 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.3673, allocations: 19.81 kB / 0.5095 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.3677, allocations: 178.7 kB / 0.5097 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3677, allocations: 7.984 kB / 0.5097 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3677, allocations: 4 kB / 0.5097 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3677, allocations: 3.938 kB / 0.5097 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.3693, allocations: 0.7673 MB / 0.5104 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3693, allocations: 0 / 0.5104 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.3698, allocations: 83.88 kB / 0.5105 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3698, allocations: 4 kB / 0.5105 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.3698, allocations: 16.14 kB / 0.5105 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.3698, allocations: 1.188 kB / 0.5105 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3698, allocations: 4 kB / 0.5105 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.3711, allocations: 0.714 MB / 0.5112 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.3712, allocations: 120.8 kB / 0.5113 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.3713, allocations: 11.98 kB / 0.5114 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.3717, allocations: 19.98 kB / 0.5114 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3717, allocations: 23.97 kB / 0.5114 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.3717, allocations: 19.92 kB / 0.5114 GB, free: 4.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.3718, allocations: 103.3 kB / 0.5115 GB, free: 4.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3718, allocations: 4 kB / 0.5115 GB, free: 4.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005539/0.3724, allocations: 151.9 kB / 0.5117 GB, free: 3.934 MB / 430.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 (38): * Single equations (assignments): 38 * 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.001894/0.3743, allocations: 1.389 MB / 0.513 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.3751, allocations: 347.9 kB / 0.5134 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3752, allocations: 0 / 0.5134 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.3756, allocations: 184.5 kB / 0.5135 GB, free: 1.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.3763, allocations: 106.5 kB / 0.5136 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.3807, allocations: 2.977 MB / 0.5165 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.381, allocations: 0.741 MB / 0.5173 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.3814, allocations: 80.03 kB / 0.5173 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.3816, allocations: 71.41 kB / 0.5174 GB, free: 13.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3816, allocations: 0 / 0.5174 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.4001, allocations: 8.183 MB / 0.5254 GB, free: 5.758 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.4003, allocations: 187 kB / 0.5256 GB, free: 5.496 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.235, allocations: 0 / 0.5256 GB, free: 5.496 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches