Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001954/0.001954, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002362/0.002362, allocations: 207.5 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.84 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2284, allocations: 53.41 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3905/0.6189, allocations: 133.5 MB / 0.5519 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.62, allocations: 0.6588 MB / 0.5525 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.6201, allocations: 3.656 kB / 0.5525 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.6204, allocations: 79.03 kB / 0.5526 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005623/0.621, allocations: 294.4 kB / 0.5529 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.6236, allocations: 1.141 MB / 0.554 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003781/0.6273, allocations: 5.65 MB / 0.5595 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.6276, allocations: 91.55 kB / 0.5596 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003573/0.6312, allocations: 2.304 MB / 0.5619 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.6351, allocations: 2.216 MB / 0.564 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009048/0.636, allocations: 239.2 kB / 0.5643 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004161/0.6402, allocations: 1.516 MB / 0.5657 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.6415, allocations: 1.24 MB / 0.5669 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002706/0.6442, allocations: 1.409 MB / 0.5683 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.6499, allocations: 4.548 MB / 0.5728 GB, free: 15.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.6499, allocations: 0 / 0.5728 GB, free: 15.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6499, allocations: 0 / 0.5728 GB, free: 15.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.65, allocations: 0 / 0.5728 GB, free: 15.05 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.008943/0.659, allocations: 3.489 MB / 0.5762 GB, free: 13.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.659, allocations: 7.969 kB / 0.5762 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.6609, allocations: 333.4 kB / 0.5765 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.6637, allocations: 1.331 MB / 0.5778 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.6638, allocations: 184.3 kB / 0.578 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004044/0.6642, allocations: 240.8 kB / 0.5782 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007627/0.6719, allocations: 5.943 MB / 0.584 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/0.6719, allocations: 3.984 kB / 0.584 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000421/0.6723, allocations: 114.1 kB / 0.5841 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.6724, allocations: 55.94 kB / 0.5842 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008678/0.6811, allocations: 5.872 MB / 0.5899 GB, free: 7.879 MB / 462.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.02118/0.7022, allocations: 7.315 MB / 0.597 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00747/0.7097, allocations: 4.781 MB / 0.6017 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/0.7132, allocations: 2.24 MB / 0.6039 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.7136, allocations: 118.7 kB / 0.604 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.883e-05/0.7137, allocations: 95.5 kB / 0.6041 GB, free: 11.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.623e-06/0.7138, allocations: 0 / 0.6041 GB, free: 11.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01042/0.7242, allocations: 5.796 MB / 0.6098 GB, free: 5.805 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.7243, allocations: 94.47 kB / 0.6099 GB, free: 5.699 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.7251, allocations: 0.6422 MB / 0.6105 GB, free: 5.043 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003982/0.7255, allocations: 101.7 kB / 0.6106 GB, free: 4.938 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.7259, allocations: 0.5456 MB / 0.6111 GB, free: 4.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.7272, allocations: 1.374 MB / 0.6125 GB, free: 3.031 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000967/0.7282, allocations: 0.6294 MB / 0.6131 GB, free: 2.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7283, allocations: 334 kB / 0.6134 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/0.7313, allocations: 1.744 MB / 0.6151 GB, free: 324 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.735, allocations: 2.261 MB / 0.6173 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007032/0.742, allocations: 4.33 MB / 0.6215 GB, free: 9.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/0.742, allocations: 6.25 kB / 0.6215 GB, free: 9.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01008/0.7521, allocations: 4.573 MB / 0.626 GB, free: 4.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.7521, allocations: 12.94 kB / 0.626 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.7522, allocations: 8 kB / 0.626 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.276e-05/0.7522, allocations: 32 kB / 0.6261 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003858/0.7561, allocations: 0.7981 MB / 0.6268 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-05/0.7562, allocations: 37 kB / 0.6269 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.7587, allocations: 337.8 kB / 0.6272 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004397/0.7592, allocations: 147.9 kB / 0.6273 GB, free: 3.594 MB / 494.1 MB 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.001876/0.761, allocations: 0.7594 MB / 0.6281 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009226/0.762, allocations: 198.9 kB / 0.6283 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.7722, allocations: 5.152 MB / 0.6333 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/0.7723, allocations: 40 kB / 0.6333 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.7723, allocations: 7.922 kB / 0.6333 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-05/0.7723, allocations: 23.92 kB / 0.6334 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/0.7769, allocations: 2.209 MB / 0.6355 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.7769, allocations: 0 / 0.6355 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003651/0.7805, allocations: 0.7308 MB / 0.6362 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-05/0.7806, allocations: 12 kB / 0.6362 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002899/0.7809, allocations: 91.97 kB / 0.6363 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.623e-05/0.7809, allocations: 19.98 kB / 0.6364 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7809, allocations: 0 / 0.6364 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/0.7935, allocations: 7.206 MB / 0.6434 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.7941, allocations: 229.9 kB / 0.6436 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.7945, allocations: 83.88 kB / 0.6437 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/0.7974, allocations: 227.7 kB / 0.6439 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000647/0.7981, allocations: 322.8 kB / 0.6442 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00048/0.7985, allocations: 183.8 kB / 0.6444 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007489/0.7993, allocations: 0.5026 MB / 0.6449 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7993, allocations: 0 / 0.6449 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002913/0.8022, allocations: 1.112 MB / 0.646 GB, free: 0.582 MB / 0.4981 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.001228/0.8034, allocations: 440.2 kB / 0.6464 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007581/0.811, allocations: 4.12 MB / 0.6504 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.811, allocations: 9 kB / 0.6504 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003495/0.8145, allocations: 2.106 MB / 0.6525 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/0.8192, allocations: 1.037 MB / 0.6535 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.8323, allocations: 6.658 MB / 0.66 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.8338, allocations: 1.263 MB / 0.6612 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005463/0.8393, allocations: 1.754 MB / 0.6629 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.8405, allocations: 287.3 kB / 0.6632 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.8405, allocations: 0 / 0.6632 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.09882/0.9393, allocations: 62.71 MB / 0.7244 GB, free: 1.129 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.974522948265076]