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.001371/0.001371, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001542/0.001542, allocations: 215 kB / 24.48 MB, free: 3.934 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.472/1.472, allocations: 207.7 MB / 235.3 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.001959/0.001959, allocations: 59.92 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2658, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1665/0.4323, allocations: 131.4 MB / 0.5158 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009119/0.4332, allocations: 0.5536 MB / 0.5164 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.4332, allocations: 0 / 0.5164 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.4336, allocations: 63.66 kB / 0.5164 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.4339, allocations: 162.9 kB / 0.5166 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.4371, allocations: 1.09 MB / 0.5177 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.4375, allocations: 326.9 kB / 0.518 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.4375, allocations: 25.55 kB / 0.518 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.4378, allocations: 151.5 kB / 0.5181 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.438, allocations: 115.6 kB / 0.5182 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.979e-05/0.4381, allocations: 12 kB / 0.5183 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.4404, allocations: 1.357 MB / 0.5196 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.4405, allocations: 75.72 kB / 0.5197 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.4406, allocations: 83.77 kB / 0.5197 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.442, allocations: 0.9611 MB / 0.5207 GB, free: 10.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.442, allocations: 0 / 0.5207 GB, free: 10.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.442, allocations: 4 kB / 0.5207 GB, free: 10.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.442, allocations: 0 / 0.5207 GB, free: 10.39 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.001687/0.4437, allocations: 0.6097 MB / 0.5213 GB, free: 9.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4437, allocations: 11.98 kB / 0.5213 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.4439, allocations: 24.83 kB / 0.5213 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.4442, allocations: 157.9 kB / 0.5215 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4442, allocations: 8.328 kB / 0.5215 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.4442, allocations: 24 kB / 0.5215 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.4449, allocations: 368.2 kB / 0.5218 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4449, allocations: 3.953 kB / 0.5218 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.445, allocations: 4 kB / 0.5218 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.445, allocations: 8 kB / 0.5219 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.4457, allocations: 255.8 kB / 0.5221 GB, free: 8.84 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.001402/0.4471, allocations: 0.6239 MB / 0.5227 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.4477, allocations: 205.2 kB / 0.5229 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.4481, allocations: 125.6 kB / 0.523 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.4482, allocations: 55.95 kB / 0.5231 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4483, allocations: 42.48 kB / 0.5231 GB, free: 7.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.4483, allocations: 3.938 kB / 0.5231 GB, free: 7.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002525/0.4508, allocations: 0.6785 MB / 0.5238 GB, free: 7.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.4509, allocations: 81.11 kB / 0.5239 GB, free: 6.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.451, allocations: 121.8 kB / 0.524 GB, free: 6.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.451, allocations: 29.7 kB / 0.524 GB, free: 6.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.4511, allocations: 112.9 kB / 0.5241 GB, free: 6.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.4512, allocations: 134.8 kB / 0.5242 GB, free: 6.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4513, allocations: 73.64 kB / 0.5243 GB, free: 6.445 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4515, allocations: 322.8 kB / 0.5246 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.4519, allocations: 139.8 kB / 0.5248 GB, free: 5.984 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.4524, allocations: 203.6 kB / 0.5249 GB, free: 5.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008774/0.4532, allocations: 355.4 kB / 0.5253 GB, free: 5.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4532, allocations: 0 / 0.5253 GB, free: 5.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001024/0.4543, allocations: 409.3 kB / 0.5257 GB, free: 4.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4543, allocations: 8 kB / 0.5257 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4543, allocations: 3.938 kB / 0.5257 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4543, allocations: 4 kB / 0.5257 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.4548, allocations: 87.88 kB / 0.5258 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4548, allocations: 4 kB / 0.5258 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.4551, allocations: 36.08 kB / 0.5258 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.4552, allocations: 19.94 kB / 0.5258 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.0001591/0.4553, allocations: 145.7 kB / 0.526 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.4554, allocations: 15.91 kB / 0.526 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.4558, allocations: 174.9 kB / 0.5262 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4558, allocations: 4 kB / 0.5262 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4558, allocations: 3.984 kB / 0.5262 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4558, allocations: 0 / 0.5262 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.4575, allocations: 0.6581 MB / 0.5268 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4575, allocations: 0 / 0.5268 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.458, allocations: 83.88 kB / 0.5269 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.458, allocations: 4.156 kB / 0.5269 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.458, allocations: 16.31 kB / 0.5269 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.458, allocations: 7.984 kB / 0.5269 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.458, allocations: 4 kB / 0.5269 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.4595, allocations: 0.7025 MB / 0.5276 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.4596, allocations: 47.83 kB / 0.5276 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.4597, allocations: 15.94 kB / 0.5277 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.4601, allocations: 19.97 kB / 0.5277 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.4601, allocations: 27.91 kB / 0.5277 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.4602, allocations: 15.98 kB / 0.5277 GB, free: 2.777 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.77e-05/0.4602, allocations: 95.33 kB / 0.5278 GB, free: 2.684 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4602, allocations: 0 / 0.5278 GB, free: 2.684 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005838/0.4608, allocations: 147.7 kB / 0.528 GB, free: 2.539 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.0004631/0.4613, allocations: 246.6 kB / 0.5282 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009431/0.4622, allocations: 328 kB / 0.5285 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.4622, allocations: 0 / 0.5285 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.4627, allocations: 167.8 kB / 0.5287 GB, free: 1.805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.4634, allocations: 100.4 kB / 0.5288 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4649, allocations: 0.6137 MB / 0.5294 GB, free: 1.051 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.465, allocations: 132.5 kB / 0.5295 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003423/0.4653, allocations: 81.88 kB / 0.5296 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.4655, allocations: 31.42 kB / 0.5296 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4655, allocations: 4 kB / 0.5296 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of Templates: time 0.01218/0.4777, allocations: 6.454 MB / 0.5359 GB, free: 10.31 MB / 462.1 MB " [Timeout remaining time 660] 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9191480334848166]