Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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 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: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 110.6 kB / 17.73 MB, free: 5.344 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.001686/0.001686, allocations: 190.9 kB / 18.66 MB, free: 4.418 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.496/1.496, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001276/0.001276, allocations: 47.94 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08767, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3441/0.4318, allocations: 152.7 MB / 0.5155 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.4328, allocations: 0.6044 MB / 0.5161 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.4329, allocations: 0 / 0.5161 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.4333, allocations: 55.66 kB / 0.5161 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.4338, allocations: 155.1 kB / 0.5163 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.437, allocations: 1.078 MB / 0.5173 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.4375, allocations: 330.8 kB / 0.5176 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.4375, allocations: 17.44 kB / 0.5176 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.4378, allocations: 151.2 kB / 0.5178 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.438, allocations: 119.6 kB / 0.5179 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.4381, allocations: 16 kB / 0.5179 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.4408, allocations: 1.618 MB / 0.5195 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.441, allocations: 64.59 kB / 0.5196 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.4411, allocations: 99.58 kB / 0.5197 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.4426, allocations: 0.994 MB / 0.5206 GB, free: 1.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4427, allocations: 0 / 0.5206 GB, free: 1.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4427, allocations: 4 kB / 0.5206 GB, free: 1.062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4427, allocations: 0 / 0.5206 GB, free: 1.062 MB / 446.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.00178/0.4445, allocations: 0.6754 MB / 0.5213 GB, free: 348 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4445, allocations: 8.031 kB / 0.5213 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.4447, allocations: 28.67 kB / 0.5213 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.445, allocations: 212.7 kB / 0.5215 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.445, allocations: 12.33 kB / 0.5215 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.445, allocations: 12 kB / 0.5215 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.4456, allocations: 269.4 kB / 0.5218 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4456, allocations: 0 / 0.5218 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.4457, allocations: 12 kB / 0.5218 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.4457, allocations: 4 kB / 0.5218 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.4463, allocations: 272.7 kB / 0.5221 GB, free: 15.48 MB / 462.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.001354/0.4477, allocations: 0.789 MB / 0.5228 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.4483, allocations: 221.2 kB / 0.5231 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.4486, allocations: 133.6 kB / 0.5232 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.449, allocations: 364.3 kB / 0.5235 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.449, allocations: 38.56 kB / 0.5236 GB, free: 13.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 9.989e-06/0.449, allocations: 0 / 0.5236 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002393/0.4514, allocations: 0.6777 MB / 0.5242 GB, free: 13.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4515, allocations: 85.11 kB / 0.5243 GB, free: 12.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.4516, allocations: 117.8 kB / 0.5244 GB, free: 12.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.4516, allocations: 33.7 kB / 0.5245 GB, free: 12.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.4517, allocations: 108.8 kB / 0.5246 GB, free: 12.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.4518, allocations: 126.1 kB / 0.5247 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.4519, allocations: 69.64 kB / 0.5248 GB, free: 12.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.452, allocations: 326.8 kB / 0.5251 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.4524, allocations: 137.8 kB / 0.5252 GB, free: 12.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.4528, allocations: 207.5 kB / 0.5254 GB, free: 11.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008361/0.4537, allocations: 359.4 kB / 0.5257 GB, free: 11.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4537, allocations: 0 / 0.5257 GB, free: 11.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009346/0.4546, allocations: 417.2 kB / 0.5261 GB, free: 11.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4547, allocations: 4 kB / 0.5261 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.4547, allocations: 4 kB / 0.5261 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4547, allocations: 4.375 kB / 0.5261 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.4552, allocations: 92.09 kB / 0.5262 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.4552, allocations: 4 kB / 0.5262 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.4555, allocations: 23.89 kB / 0.5263 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.4555, allocations: 19.92 kB / 0.5263 GB, free: 10.88 MB / 462.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.0001487/0.4557, allocations: 145.6 kB / 0.5264 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.4558, allocations: 19.81 kB / 0.5264 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.4562, allocations: 175.7 kB / 0.5266 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4562, allocations: 4 kB / 0.5266 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4562, allocations: 0 / 0.5266 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.4562, allocations: 7.984 kB / 0.5266 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.4579, allocations: 0.7634 MB / 0.5274 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4579, allocations: 0 / 0.5274 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.4583, allocations: 83.81 kB / 0.5274 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4583, allocations: 0 / 0.5274 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.4584, allocations: 12.16 kB / 0.5275 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4584, allocations: 4 kB / 0.5275 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4584, allocations: 4 kB / 0.5275 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.4597, allocations: 0.7103 MB / 0.5282 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4599, allocations: 128.8 kB / 0.5283 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.4599, allocations: 8 kB / 0.5283 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.4603, allocations: 19.98 kB / 0.5283 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.4603, allocations: 23.97 kB / 0.5283 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.4604, allocations: 11.98 kB / 0.5283 GB, free: 8.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.4604, allocations: 103.2 kB / 0.5284 GB, free: 8.535 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4604, allocations: 4 kB / 0.5284 GB, free: 8.531 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005912/0.461, allocations: 139.9 kB / 0.5286 GB, free: 8.395 MB / 462.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.0004364/0.4615, allocations: 231 kB / 0.5288 GB, free: 8.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008671/0.4624, allocations: 351.9 kB / 0.5291 GB, free: 7.816 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4624, allocations: 0 / 0.5291 GB, free: 7.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.4628, allocations: 180.7 kB / 0.5293 GB, free: 7.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/0.4635, allocations: 93.48 kB / 0.5294 GB, free: 7.555 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.465, allocations: 0.6059 MB / 0.53 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.4653, allocations: 0.7377 MB / 0.5307 GB, free: 6.148 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003309/0.4656, allocations: 77.88 kB / 0.5308 GB, free: 6.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.4657, allocations: 35.42 kB / 0.5308 GB, free: 6.035 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4658, allocations: 0 / 0.5308 GB, free: 6.035 MB / 462.1 MB Notification: Performance of Templates: time 0.01005/0.4758, allocations: 6.114 MB / 0.5368 GB, free: 15.91 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches