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.001504/0.001504, allocations: 108.7 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 64.92 kB / 306.6 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07901/0.08018, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2872/0.3675, allocations: 152.4 MB / 0.4975 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.3698, allocations: 1.591 MB / 0.499 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.37, allocations: 4 kB / 0.499 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.3704, allocations: 66.58 kB / 0.4991 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.3709, allocations: 147.6 kB / 0.4993 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.3737, allocations: 0.9457 MB / 0.5002 GB, free: 420 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.3741, allocations: 362.4 kB / 0.5005 GB, free: 56 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3742, allocations: 9.562 kB / 0.5005 GB, free: 48 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.3745, allocations: 167.4 kB / 0.5007 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.3748, allocations: 139.5 kB / 0.5008 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.3748, allocations: 12 kB / 0.5008 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.3773, allocations: 1.633 MB / 0.5024 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3774, allocations: 75.77 kB / 0.5025 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3776, allocations: 91.66 kB / 0.5026 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.3793, allocations: 1.076 MB / 0.5036 GB, free: 12.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3793, allocations: 0 / 0.5036 GB, free: 12.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3794, allocations: 4 kB / 0.5036 GB, free: 12.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3794, allocations: 0 / 0.5036 GB, free: 12.86 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.001942/0.3813, allocations: 0.698 MB / 0.5043 GB, free: 12.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3814, allocations: 13.44 kB / 0.5043 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.3814, allocations: 46.73 kB / 0.5044 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.3816, allocations: 24.75 kB / 0.5044 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.3819, allocations: 231.2 kB / 0.5046 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.3819, allocations: 12.33 kB / 0.5046 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.3819, allocations: 12 kB / 0.5046 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.3825, allocations: 269.4 kB / 0.5049 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3826, allocations: 0 / 0.5049 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.3826, allocations: 12 kB / 0.5049 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.3826, allocations: 4 kB / 0.5049 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/0.3833, allocations: 275.7 kB / 0.5052 GB, free: 11.17 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.001428/0.3847, allocations: 0.7897 MB / 0.506 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.3854, allocations: 217.1 kB / 0.5062 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.3857, allocations: 138.3 kB / 0.5063 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.3861, allocations: 358.9 kB / 0.5066 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3861, allocations: 42.5 kB / 0.5067 GB, free: 9.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.3861, allocations: 0 / 0.5067 GB, free: 9.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002518/0.3887, allocations: 0.6748 MB / 0.5073 GB, free: 8.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3887, allocations: 85.11 kB / 0.5074 GB, free: 8.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3888, allocations: 141.7 kB / 0.5076 GB, free: 8.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.3889, allocations: 33.7 kB / 0.5076 GB, free: 8.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.389, allocations: 108.8 kB / 0.5077 GB, free: 8.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.3891, allocations: 130 kB / 0.5078 GB, free: 8.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.3892, allocations: 73.64 kB / 0.5079 GB, free: 8.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3893, allocations: 330.8 kB / 0.5082 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.3897, allocations: 131.9 kB / 0.5083 GB, free: 7.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.3901, allocations: 207.6 kB / 0.5085 GB, free: 7.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.3909, allocations: 362.7 kB / 0.5089 GB, free: 7.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3909, allocations: 0 / 0.5089 GB, free: 7.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009129/0.3918, allocations: 404.5 kB / 0.5093 GB, free: 6.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3918, allocations: 10.81 kB / 0.5093 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3919, allocations: 0 / 0.5093 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3919, allocations: 4.219 kB / 0.5093 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.3924, allocations: 91.88 kB / 0.5094 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3924, allocations: 11.92 kB / 0.5094 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.3927, allocations: 31.77 kB / 0.5094 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.3928, allocations: 19.98 kB / 0.5094 GB, free: 6.539 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.0001426/0.3929, allocations: 142.9 kB / 0.5096 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.393, allocations: 23.75 kB / 0.5096 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.3934, allocations: 171.6 kB / 0.5097 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3934, allocations: 15.94 kB / 0.5098 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3934, allocations: 0 / 0.5098 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.3934, allocations: 7.922 kB / 0.5098 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.3951, allocations: 0.7712 MB / 0.5105 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3951, allocations: 0 / 0.5105 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.3956, allocations: 85.91 kB / 0.5106 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3956, allocations: 4 kB / 0.5106 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.3957, allocations: 12 kB / 0.5106 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.3957, allocations: 3.938 kB / 0.5106 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3957, allocations: 4 kB / 0.5106 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3971, allocations: 0.7179 MB / 0.5113 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.3972, allocations: 120.8 kB / 0.5114 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.3973, allocations: 8 kB / 0.5114 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.3977, allocations: 23.97 kB / 0.5115 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.3977, allocations: 23.97 kB / 0.5115 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.3977, allocations: 12.06 kB / 0.5115 GB, free: 4.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.301e-05/0.3978, allocations: 114.1 kB / 0.5116 GB, free: 4.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3978, allocations: 0 / 0.5116 GB, free: 4.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006157/0.3985, allocations: 155.8 kB / 0.5118 GB, free: 3.996 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.002089/0.4006, allocations: 1.387 MB / 0.5131 GB, free: 2.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009335/0.4015, allocations: 367.8 kB / 0.5135 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4015, allocations: 0 / 0.5135 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.402, allocations: 184.4 kB / 0.5136 GB, free: 2.031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/0.4027, allocations: 112.7 kB / 0.5137 GB, free: 1.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.4074, allocations: 2.967 MB / 0.5166 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.4078, allocations: 0.7452 MB / 0.5174 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004042/0.4082, allocations: 74.23 kB / 0.5174 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.4084, allocations: 75.39 kB / 0.5175 GB, free: 13.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.755e-06/0.4084, allocations: 112 / 0.5175 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.4475, allocations: 8.417 MB / 0.5257 GB, free: 5.602 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.4477, allocations: 176.4 kB / 0.5259 GB, free: 5.348 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.519, allocations: 0 / 0.5259 GB, free: 5.348 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