Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=500,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=500,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.521/1.521, allocations: 230.4 MB / 251.1 MB, free: 8.523 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.83 kB / 369 MB, free: 6.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2473, allocations: 53.31 MB / 422.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03449/0.2818, allocations: 26.75 MB / 449 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.285, allocations: 2.251 MB / 451.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2851, allocations: 8 kB / 451.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.2855, allocations: 59.64 kB / 451.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.2861, allocations: 167 kB / 451.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01755/0.3036, allocations: 6.554 MB / 458 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.3042, allocations: 334.7 kB / 458.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.3043, allocations: 9.562 kB / 458.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.3046, allocations: 143.5 kB / 458.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.3049, allocations: 135.5 kB / 458.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.3049, allocations: 12 kB / 458.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01903/0.3239, allocations: 9.659 MB / 468.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.3241, allocations: 63.86 kB / 468.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3243, allocations: 115.4 kB / 468.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.3364, allocations: 4.736 MB / 473.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3364, allocations: 11.94 kB / 473.2 MB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3364, allocations: 0 / 473.2 MB, free: 4.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3364, allocations: 0 / 473.2 MB, free: 4.766 MB / 382.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.003826/0.3402, allocations: 1.173 MB / 474.4 MB, free: 3.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3403, allocations: 12.03 kB / 474.4 MB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.3405, allocations: 24.22 kB / 474.5 MB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.3408, allocations: 225.6 kB / 474.7 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3408, allocations: 8.328 kB / 474.7 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.3409, allocations: 23.95 kB / 474.7 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.3417, allocations: 293.4 kB / 475 MB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3417, allocations: 0 / 475 MB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.3417, allocations: 8 kB / 475 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3417, allocations: 7.938 kB / 475 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.3425, allocations: 315.8 kB / 475.3 MB, free: 2.59 MB / 382.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.001587/0.3441, allocations: 0.8167 MB / 476.1 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/0.3448, allocations: 241.1 kB / 476.4 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.3452, allocations: 129.6 kB / 476.5 MB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01747/0.3626, allocations: 12.84 MB / 489.3 MB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.3627, allocations: 42.48 kB / 489.4 MB, free: 1.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.974e-06/0.3627, allocations: 0 / 489.4 MB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003011/0.3657, allocations: 0.6997 MB / 490.1 MB, free: 1.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.3658, allocations: 85.09 kB / 490.2 MB, free: 1.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3659, allocations: 137.8 kB / 490.3 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.366, allocations: 37.7 kB / 490.3 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.366, allocations: 108.9 kB / 490.4 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.3662, allocations: 142.8 kB / 490.6 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3663, allocations: 69.64 kB / 490.6 MB, free: 0.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3664, allocations: 338.8 kB / 491 MB, free: 248 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.3668, allocations: 131.9 kB / 491.1 MB, free: 116 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.3673, allocations: 211.6 kB / 491.3 MB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/0.3683, allocations: 368.9 kB / 491.7 MB, free: 15.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3683, allocations: 4 kB / 491.7 MB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001215/0.3695, allocations: 416 kB / 492.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3695, allocations: 8 kB / 492.1 MB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.3695, allocations: 4 kB / 492.1 MB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3695, allocations: 7.938 kB / 492.1 MB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.37, allocations: 87.88 kB / 492.2 MB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.37, allocations: 7.984 kB / 492.2 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.3704, allocations: 19.98 kB / 492.2 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.3704, allocations: 19.98 kB / 492.2 MB, free: 14.93 MB / 414.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.0001615/0.3706, allocations: 145.7 kB / 492.4 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.3707, allocations: 27.8 kB / 492.4 MB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.3712, allocations: 185.5 kB / 492.6 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.3713, allocations: 4 kB / 492.6 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3713, allocations: 4 kB / 492.6 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3713, allocations: 3.984 kB / 492.6 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.3733, allocations: 0.7829 MB / 493.4 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.3733, allocations: 8 kB / 493.4 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.3738, allocations: 84.03 kB / 493.5 MB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.3738, allocations: 4 kB / 493.5 MB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.3738, allocations: 8 kB / 493.5 MB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.3738, allocations: 7.984 kB / 493.5 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3738, allocations: 0 / 493.5 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3754, allocations: 0.7181 MB / 494.2 MB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.3756, allocations: 132.9 kB / 494.3 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.3756, allocations: 8 kB / 494.3 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.376, allocations: 15.98 kB / 494.4 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.3761, allocations: 31.84 kB / 494.4 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.3761, allocations: 20.05 kB / 494.4 MB, free: 12.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.324e-05/0.3762, allocations: 118 kB / 494.5 MB, free: 12.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3762, allocations: 0 / 494.5 MB, free: 12.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00273/0.3789, allocations: 0.9589 MB / 495.5 MB, free: 11.54 MB / 414.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 (37): * Single equations (assignments): 37 * 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.00476/0.3837, allocations: 1.279 MB / 496.8 MB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.3849, allocations: 336 kB / 497.1 MB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3849, allocations: 0 / 497.1 MB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.3854, allocations: 159.8 kB / 497.2 MB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007916/0.3862, allocations: 100.1 kB / 497.3 MB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3878, allocations: 0.6204 MB / 498 MB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3882, allocations: 0.749 MB / 498.7 MB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003812/0.3886, allocations: 82.22 kB / 498.8 MB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3887, allocations: 43.42 kB / 498.8 MB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3887, allocations: 0 / 498.8 MB, free: 8.109 MB / 414.1 MB Notification: Performance of Templates: time 0.04887/0.4376, allocations: 30.03 MB / 0.5165 GB, free: 10.1 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches