Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.4 MB / 258 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] 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.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "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.001968/0.001968, allocations: 67.89 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2408, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4157/0.6565, allocations: 155.2 MB / 0.5735 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.6576, allocations: 0.7027 MB / 0.5742 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.6577, allocations: 2.094 kB / 0.5742 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.6581, allocations: 87.64 kB / 0.5743 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.6586, allocations: 294.8 kB / 0.5746 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.6613, allocations: 1.125 MB / 0.5757 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004126/0.6654, allocations: 5.625 MB / 0.5812 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.6657, allocations: 90.34 kB / 0.5812 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.669, allocations: 2.263 MB / 0.5835 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/0.6726, allocations: 2.043 MB / 0.5854 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007277/0.6734, allocations: 236.3 kB / 0.5857 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/0.6776, allocations: 1.814 MB / 0.5874 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.679, allocations: 1.245 MB / 0.5887 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002516/0.6815, allocations: 1.564 MB / 0.5902 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005606/0.6871, allocations: 4.565 MB / 0.5946 GB, free: 7.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6871, allocations: 0 / 0.5946 GB, free: 7.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6871, allocations: 0 / 0.5946 GB, free: 7.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001111/0.6872, allocations: 2.125 kB / 0.5946 GB, free: 7.816 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.0104/0.6976, allocations: 3.557 MB / 0.5981 GB, free: 5.648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6977, allocations: 10.25 kB / 0.5981 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.6997, allocations: 335.6 kB / 0.5985 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.7034, allocations: 1.346 MB / 0.5998 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.7035, allocations: 184.9 kB / 0.5999 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005127/0.7041, allocations: 244 kB / 0.6002 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007021/0.7111, allocations: 3.823 MB / 0.6039 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.7111, allocations: 0 / 0.6039 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004419/0.7116, allocations: 116.7 kB / 0.604 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.7116, allocations: 56 kB / 0.6041 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009904/0.7215, allocations: 5.982 MB / 0.6099 GB, free: 9.914 MB / 478.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.02424/0.7458, allocations: 11.23 MB / 0.6209 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007613/0.7534, allocations: 4.789 MB / 0.6256 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/0.7571, allocations: 2.24 MB / 0.6277 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/0.7578, allocations: 442.5 kB / 0.6282 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.7579, allocations: 94.62 kB / 0.6283 GB, free: 6.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.742e-06/0.7579, allocations: 0 / 0.6283 GB, free: 6.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01091/0.7688, allocations: 5.825 MB / 0.6339 GB, free: 476 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.7689, allocations: 98.41 kB / 0.634 GB, free: 364 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.7702, allocations: 0.8636 MB / 0.6349 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004397/0.7707, allocations: 105.7 kB / 0.635 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.7711, allocations: 0.5301 MB / 0.6355 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/0.7724, allocations: 1.374 MB / 0.6368 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.7734, allocations: 0.6216 MB / 0.6375 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7736, allocations: 357.9 kB / 0.6378 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/0.7765, allocations: 1.748 MB / 0.6395 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/0.78, allocations: 2.258 MB / 0.6417 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007213/0.7872, allocations: 4.325 MB / 0.6459 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.7872, allocations: 4.875 kB / 0.6459 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00952/0.7967, allocations: 4.599 MB / 0.6504 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.7968, allocations: 8 kB / 0.6504 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.7968, allocations: 12 kB / 0.6504 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-05/0.7969, allocations: 32.03 kB / 0.6505 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004584/0.8014, allocations: 0.7956 MB / 0.6513 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.556e-05/0.8015, allocations: 27.94 kB / 0.6513 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.8044, allocations: 369.5 kB / 0.6516 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/0.8048, allocations: 149.1 kB / 0.6518 GB, free: 13.83 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.001933/0.8067, allocations: 0.7621 MB / 0.6525 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007871/0.8075, allocations: 218.8 kB / 0.6527 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009905/0.8174, allocations: 5.175 MB / 0.6578 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/0.8174, allocations: 51.88 kB / 0.6578 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.8174, allocations: 0 / 0.6578 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-05/0.8175, allocations: 19.92 kB / 0.6578 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/0.8229, allocations: 2.818 MB / 0.6606 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.8229, allocations: 0 / 0.6606 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/0.8266, allocations: 0.7294 MB / 0.6613 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.503e-05/0.8266, allocations: 20 kB / 0.6613 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003388/0.827, allocations: 91.95 kB / 0.6614 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.827, allocations: 15.94 kB / 0.6614 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.827, allocations: 4 kB / 0.6614 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/0.8394, allocations: 7.234 MB / 0.6685 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008003/0.8402, allocations: 326.9 kB / 0.6688 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004449/0.8406, allocations: 87.89 kB / 0.6689 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00303/0.8436, allocations: 223.7 kB / 0.6691 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006276/0.8443, allocations: 310.9 kB / 0.6694 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005011/0.8448, allocations: 183.9 kB / 0.6696 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001/0.8458, allocations: 0.6863 MB / 0.6703 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.8458, allocations: 0 / 0.6703 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003002/0.8488, allocations: 1.085 MB / 0.6713 GB, free: 9.754 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.001212/0.85, allocations: 457 kB / 0.6717 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007194/0.8572, allocations: 4.118 MB / 0.6758 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.8572, allocations: 9.312 kB / 0.6758 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/0.8607, allocations: 2.111 MB / 0.6778 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/0.8672, allocations: 1.243 MB / 0.6791 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.8811, allocations: 6.724 MB / 0.6856 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.8828, allocations: 1.852 MB / 0.6874 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005246/0.888, allocations: 1.768 MB / 0.6892 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.8891, allocations: 291.3 kB / 0.6894 GB, free: 7.129 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/0.8891, allocations: 4 kB / 0.6894 GB, free: 7.125 MB / 0.545 GB Notification: Performance of Templates: time 0.1112/1, allocations: 66.03 MB / 0.7539 GB, free: 5.523 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.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: 8.072983790189028]