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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 113.1 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002601/0.002601, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 57.64 kB / 348.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2961, allocations: 49.15 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1764/0.4725, allocations: 131.4 MB / 0.5166 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.4734, allocations: 0.542 MB / 0.5171 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.4735, allocations: 4 kB / 0.5171 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.4739, allocations: 55.69 kB / 0.5172 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.4743, allocations: 170.9 kB / 0.5173 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.4781, allocations: 1.086 MB / 0.5184 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.4786, allocations: 330.9 kB / 0.5187 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.4786, allocations: 5.641 kB / 0.5187 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.4789, allocations: 167.4 kB / 0.5189 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.4791, allocations: 119.6 kB / 0.519 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.4792, allocations: 12 kB / 0.519 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.4819, allocations: 1.349 MB / 0.5203 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.4821, allocations: 75.83 kB / 0.5204 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.4822, allocations: 79.72 kB / 0.5205 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.4839, allocations: 0.9645 MB / 0.5214 GB, free: 10.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4839, allocations: 4 kB / 0.5214 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4839, allocations: 0 / 0.5214 GB, free: 10.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.4839, allocations: 0 / 0.5214 GB, free: 10.38 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.001887/0.4858, allocations: 0.6097 MB / 0.522 GB, free: 9.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4858, allocations: 11.98 kB / 0.522 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.486, allocations: 20.84 kB / 0.522 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.4863, allocations: 161.9 kB / 0.5222 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4863, allocations: 8.328 kB / 0.5222 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.4863, allocations: 20 kB / 0.5222 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.487, allocations: 368.2 kB / 0.5226 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.487, allocations: 11.94 kB / 0.5226 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.4871, allocations: 8 kB / 0.5226 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.4871, allocations: 4 kB / 0.5226 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.4877, allocations: 259.8 kB / 0.5228 GB, free: 8.828 MB / 446.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.001442/0.4892, allocations: 0.6161 MB / 0.5234 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.4898, allocations: 209.1 kB / 0.5236 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.4901, allocations: 129.6 kB / 0.5238 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.4904, allocations: 55.95 kB / 0.5238 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4904, allocations: 38.5 kB / 0.5239 GB, free: 7.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.843e-06/0.4904, allocations: 0 / 0.5239 GB, free: 7.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002462/0.4929, allocations: 0.6785 MB / 0.5245 GB, free: 7.031 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.4929, allocations: 81.11 kB / 0.5246 GB, free: 6.934 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.493, allocations: 125.7 kB / 0.5247 GB, free: 6.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.4931, allocations: 37.7 kB / 0.5248 GB, free: 6.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.4932, allocations: 108.9 kB / 0.5249 GB, free: 6.645 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.4933, allocations: 134.8 kB / 0.525 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.4934, allocations: 69.64 kB / 0.525 GB, free: 6.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4935, allocations: 322.8 kB / 0.5254 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.4939, allocations: 131.9 kB / 0.5255 GB, free: 5.984 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.4944, allocations: 211.5 kB / 0.5257 GB, free: 5.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.4952, allocations: 355.4 kB / 0.526 GB, free: 5.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4952, allocations: 0 / 0.526 GB, free: 5.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000978/0.4962, allocations: 413.3 kB / 0.5264 GB, free: 4.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.4962, allocations: 4 kB / 0.5264 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4962, allocations: 4 kB / 0.5264 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4962, allocations: 4 kB / 0.5264 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.4967, allocations: 87.88 kB / 0.5265 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4967, allocations: 8.219 kB / 0.5265 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.497, allocations: 27.88 kB / 0.5265 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.4971, allocations: 15.98 kB / 0.5266 GB, free: 4.816 MB / 446.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.0001627/0.4972, allocations: 145.7 kB / 0.5267 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.4973, allocations: 23.89 kB / 0.5267 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.4977, allocations: 170.9 kB / 0.5269 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4977, allocations: 4 kB / 0.5269 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4977, allocations: 3.938 kB / 0.5269 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4977, allocations: 7.984 kB / 0.5269 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.4994, allocations: 0.658 MB / 0.5275 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4994, allocations: 4 kB / 0.5275 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.4998, allocations: 84.03 kB / 0.5276 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.4999, allocations: 4 kB / 0.5276 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.4999, allocations: 11.94 kB / 0.5276 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.4999, allocations: 4 kB / 0.5276 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4999, allocations: 7.984 kB / 0.5277 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.5013, allocations: 0.7104 MB / 0.5283 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.5015, allocations: 39.86 kB / 0.5284 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.5015, allocations: 15.94 kB / 0.5284 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.5019, allocations: 19.98 kB / 0.5284 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.5019, allocations: 23.95 kB / 0.5284 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.5019, allocations: 20.05 kB / 0.5285 GB, free: 2.766 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.585e-05/0.502, allocations: 95.58 kB / 0.5286 GB, free: 2.672 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.502, allocations: 4 kB / 0.5286 GB, free: 2.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005998/0.5026, allocations: 147.6 kB / 0.5287 GB, free: 2.523 MB / 446.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.0004823/0.5031, allocations: 242.6 kB / 0.5289 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009083/0.504, allocations: 323.9 kB / 0.5292 GB, free: 1.961 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.504, allocations: 7.938 kB / 0.5292 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.5044, allocations: 167.7 kB / 0.5294 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.5051, allocations: 100.5 kB / 0.5295 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.5066, allocations: 0.6427 MB / 0.5301 GB, free: 1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.5068, allocations: 132.5 kB / 0.5303 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.507, allocations: 39.42 kB / 0.5303 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.507, allocations: 0 / 0.5303 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of Templates: time 0.007859/0.5148, allocations: 4.571 MB / 0.5348 GB, free: 12.23 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.901016416028142]