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.001218/0.001218, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.67 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.08043, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3173/0.3978, allocations: 154.4 MB / 0.5 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3995, allocations: 1.604 MB / 0.5016 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.3996, allocations: 8 kB / 0.5016 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.4, allocations: 67.58 kB / 0.5017 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.4004, allocations: 161.2 kB / 0.5018 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.4032, allocations: 1.03 MB / 0.5028 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.4036, allocations: 358.3 kB / 0.5032 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.4037, allocations: 17.55 kB / 0.5032 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.404, allocations: 167.4 kB / 0.5033 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.4042, allocations: 123.6 kB / 0.5035 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4044, allocations: 12 kB / 0.5035 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.4069, allocations: 1.587 MB / 0.505 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.407, allocations: 67.84 kB / 0.5051 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.4073, allocations: 107.6 kB / 0.5052 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.4087, allocations: 1.033 MB / 0.5062 GB, free: 10.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4087, allocations: 0 / 0.5062 GB, free: 10.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4087, allocations: 0 / 0.5062 GB, free: 10.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.4087, allocations: 0 / 0.5062 GB, free: 10.36 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.001792/0.4105, allocations: 0.698 MB / 0.5069 GB, free: 9.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.875e-05/0.4106, allocations: 11.97 kB / 0.5069 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.4107, allocations: 46.73 kB / 0.5069 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.4109, allocations: 24.75 kB / 0.507 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4111, allocations: 227 kB / 0.5072 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4111, allocations: 20.33 kB / 0.5072 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4112, allocations: 16 kB / 0.5072 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.4118, allocations: 261.4 kB / 0.5075 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4119, allocations: 0 / 0.5075 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.4119, allocations: 8 kB / 0.5075 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.4119, allocations: 4 kB / 0.5075 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.4126, allocations: 272.4 kB / 0.5077 GB, free: 8.684 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.001452/0.4141, allocations: 0.7937 MB / 0.5085 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.4148, allocations: 225 kB / 0.5087 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.4152, allocations: 137.6 kB / 0.5088 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.4155, allocations: 360.4 kB / 0.5092 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4155, allocations: 34.56 kB / 0.5092 GB, free: 6.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.4155, allocations: 0 / 0.5092 GB, free: 6.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.00263/0.4181, allocations: 0.6829 MB / 0.5099 GB, free: 6.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.4182, allocations: 81.11 kB / 0.51 GB, free: 6.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4183, allocations: 141.7 kB / 0.5101 GB, free: 6.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.4183, allocations: 29.7 kB / 0.5101 GB, free: 6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.4184, allocations: 108.9 kB / 0.5102 GB, free: 5.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.4185, allocations: 134 kB / 0.5104 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.4186, allocations: 69.64 kB / 0.5104 GB, free: 5.684 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.4187, allocations: 330.8 kB / 0.5107 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.4191, allocations: 139.8 kB / 0.5109 GB, free: 5.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.4196, allocations: 207.5 kB / 0.5111 GB, free: 4.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.4204, allocations: 359.4 kB / 0.5114 GB, free: 4.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4205, allocations: 4 kB / 0.5114 GB, free: 4.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001142/0.4216, allocations: 412.6 kB / 0.5118 GB, free: 4.195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4216, allocations: 4 kB / 0.5118 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4216, allocations: 7.984 kB / 0.5118 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4217, allocations: 4 kB / 0.5118 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.4221, allocations: 87.88 kB / 0.5119 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4222, allocations: 4 kB / 0.5119 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.4225, allocations: 35.75 kB / 0.512 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.4225, allocations: 16.09 kB / 0.512 GB, free: 4.039 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.0001364/0.4227, allocations: 146.8 kB / 0.5121 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4228, allocations: 19.81 kB / 0.5121 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.4232, allocations: 175.5 kB / 0.5123 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4233, allocations: 4 kB / 0.5123 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4233, allocations: 0.875 kB / 0.5123 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4233, allocations: 3.938 kB / 0.5123 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.4251, allocations: 0.7778 MB / 0.5131 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4251, allocations: 4.156 kB / 0.5131 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.4256, allocations: 79.89 kB / 0.5131 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.4256, allocations: 4 kB / 0.5131 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.4256, allocations: 13.98 kB / 0.5132 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4256, allocations: 7.938 kB / 0.5132 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4256, allocations: 0 / 0.5132 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.4271, allocations: 0.7141 MB / 0.5139 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4272, allocations: 120.8 kB / 0.514 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.4273, allocations: 15.5 kB / 0.514 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.4277, allocations: 23.92 kB / 0.514 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4278, allocations: 28.03 kB / 0.514 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.4278, allocations: 15.98 kB / 0.5141 GB, free: 1.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.4279, allocations: 103.2 kB / 0.5142 GB, free: 1.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4279, allocations: 0 / 0.5142 GB, free: 1.656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005787/0.4285, allocations: 155.9 kB / 0.5143 GB, free: 1.504 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.002028/0.4305, allocations: 1.386 MB / 0.5157 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4316, allocations: 363.7 kB / 0.516 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.4316, allocations: 4 kB / 0.516 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.4321, allocations: 186.3 kB / 0.5162 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.4329, allocations: 112.2 kB / 0.5163 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/0.4377, allocations: 2.889 MB / 0.5191 GB, free: 12.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.4381, allocations: 0.7374 MB / 0.5198 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.4385, allocations: 78.39 kB / 0.5199 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.4387, allocations: 71.41 kB / 0.52 GB, free: 11.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4387, allocations: 0 / 0.52 GB, free: 11.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.592/3.03, allocations: 8.534 MB / 0.5283 GB, free: 3.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.06/12.09, allocations: 8.328 kB / 0.5283 GB, free: 3.027 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