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.001306/0.001306, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.00143/0.00143, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.393/1.393, allocations: 230.5 MB / 258.1 MB, free: 8.129 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.001918/0.001918, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2759, allocations: 53.3 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4277/0.7036, allocations: 155.3 MB / 0.5735 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.7049, allocations: 0.7064 MB / 0.5742 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.7052, allocations: 0 / 0.5742 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.7056, allocations: 83.92 kB / 0.5743 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008179/0.7064, allocations: 298.4 kB / 0.5746 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.7095, allocations: 1.125 MB / 0.5757 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004617/0.7141, allocations: 5.614 MB / 0.5812 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.7145, allocations: 98.45 kB / 0.5813 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.7185, allocations: 2.258 MB / 0.5835 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/0.7225, allocations: 2.043 MB / 0.5855 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.7237, allocations: 239.7 kB / 0.5857 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004908/0.7286, allocations: 1.815 MB / 0.5875 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.731, allocations: 1.243 MB / 0.5887 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00403/0.735, allocations: 1.564 MB / 0.5902 GB, free: 9.926 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009758/0.7448, allocations: 4.563 MB / 0.5947 GB, free: 7.797 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.7448, allocations: 2.844 kB / 0.5947 GB, free: 7.797 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7448, allocations: 0 / 0.5947 GB, free: 7.797 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001628/0.745, allocations: 0 / 0.5947 GB, free: 7.797 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.01225/0.7572, allocations: 3.556 MB / 0.5981 GB, free: 5.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7573, allocations: 14.25 kB / 0.5981 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.7599, allocations: 335.1 kB / 0.5985 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.7643, allocations: 1.346 MB / 0.5998 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.7645, allocations: 176.9 kB / 0.5999 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.7655, allocations: 248 kB / 0.6002 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007898/0.7734, allocations: 3.823 MB / 0.6039 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/0.7735, allocations: 3.938 kB / 0.6039 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005392/0.774, allocations: 118.3 kB / 0.604 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.417e-05/0.7741, allocations: 60 kB / 0.6041 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.7846, allocations: 5.978 MB / 0.6099 GB, free: 9.891 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.02613/0.8108, allocations: 11.23 MB / 0.6209 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008995/0.8197, allocations: 4.789 MB / 0.6256 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004488/0.8242, allocations: 2.237 MB / 0.6278 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008679/0.8251, allocations: 440.7 kB / 0.6282 GB, free: 6.391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.8252, allocations: 98.62 kB / 0.6283 GB, free: 6.285 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 1.061e-05/0.8252, allocations: 0 / 0.6283 GB, free: 6.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01332/0.8386, allocations: 5.821 MB / 0.634 GB, free: 452 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.8387, allocations: 94.41 kB / 0.634 GB, free: 344 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.8401, allocations: 0.8753 MB / 0.6349 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008144/0.8409, allocations: 97.7 kB / 0.635 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.8414, allocations: 0.5343 MB / 0.6355 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/0.8432, allocations: 1.369 MB / 0.6369 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/0.845, allocations: 0.6255 MB / 0.6375 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.8452, allocations: 357.9 kB / 0.6378 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/0.8487, allocations: 1.74 MB / 0.6395 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004272/0.8529, allocations: 2.262 MB / 0.6417 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008394/0.8613, allocations: 4.329 MB / 0.6459 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-05/0.8613, allocations: 4 kB / 0.6459 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01107/0.8724, allocations: 4.598 MB / 0.6504 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.8725, allocations: 12 kB / 0.6504 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/0.8725, allocations: 12 kB / 0.6505 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.067e-05/0.8725, allocations: 24.78 kB / 0.6505 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/0.8766, allocations: 0.7956 MB / 0.6513 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.585e-05/0.8766, allocations: 35.92 kB / 0.6513 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/0.8795, allocations: 370.5 kB / 0.6516 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006656/0.8802, allocations: 143.9 kB / 0.6518 GB, free: 13.8 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.002281/0.8825, allocations: 0.7621 MB / 0.6525 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/0.8836, allocations: 222.8 kB / 0.6527 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.8947, allocations: 5.171 MB / 0.6578 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/0.8947, allocations: 43.94 kB / 0.6578 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.8948, allocations: 0 / 0.6578 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/0.8948, allocations: 27.92 kB / 0.6579 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005778/0.9006, allocations: 2.816 MB / 0.6606 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.9006, allocations: 0.8125 kB / 0.6606 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00379/0.9044, allocations: 0.7294 MB / 0.6613 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.083e-05/0.9045, allocations: 12 kB / 0.6613 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005465/0.905, allocations: 95.95 kB / 0.6614 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-05/0.9051, allocations: 23.88 kB / 0.6614 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9051, allocations: 0 / 0.6614 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.9186, allocations: 7.227 MB / 0.6685 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.9194, allocations: 326.9 kB / 0.6688 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009021/0.9203, allocations: 87.88 kB / 0.6689 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003476/0.9238, allocations: 231.7 kB / 0.6691 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000884/0.9246, allocations: 310.9 kB / 0.6694 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007038/0.9253, allocations: 179.9 kB / 0.6696 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001157/0.9265, allocations: 0.6785 MB / 0.6703 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9265, allocations: 4 kB / 0.6703 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003687/0.9302, allocations: 1.097 MB / 0.6713 GB, free: 9.723 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.001667/0.9319, allocations: 447.4 kB / 0.6718 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008182/0.94, allocations: 4.121 MB / 0.6758 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.9401, allocations: 5 kB / 0.6758 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.9443, allocations: 2.111 MB / 0.6778 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007414/0.9517, allocations: 1.252 MB / 0.6791 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.9668, allocations: 6.817 MB / 0.6857 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.9686, allocations: 1.849 MB / 0.6875 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/0.9705, allocations: 335.3 kB / 0.6878 GB, free: 8.73 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/0.9705, allocations: 0 / 0.6878 GB, free: 8.73 MB / 0.545 GB Notification: Performance of Templates: time 0.07561/1.046, allocations: 47.26 MB / 0.734 GB, free: 9.59 MB / 0.5919 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 -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: 11.81900885188952]