Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.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.001976/0.001976, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002524/0.002524, allocations: 210.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.809 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+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.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_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_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 47.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2285, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3873/0.6157, allocations: 133.5 MB / 0.5518 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.6168, allocations: 0.6551 MB / 0.5525 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.593e-05/0.6169, allocations: 3.562 kB / 0.5525 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.6173, allocations: 76.31 kB / 0.5526 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006008/0.6179, allocations: 291.9 kB / 0.5528 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.6207, allocations: 1.137 MB / 0.5539 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004119/0.6248, allocations: 5.651 MB / 0.5595 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.6251, allocations: 97.81 kB / 0.5596 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004005/0.6291, allocations: 2.309 MB / 0.5618 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/0.6329, allocations: 2.209 MB / 0.564 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007714/0.6337, allocations: 235.8 kB / 0.5642 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.6374, allocations: 1.525 MB / 0.5657 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.6386, allocations: 1.238 MB / 0.5669 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002553/0.6411, allocations: 1.407 MB / 0.5683 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.6463, allocations: 4.548 MB / 0.5727 GB, free: 15.08 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6463, allocations: 1.453 kB / 0.5727 GB, free: 15.08 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6463, allocations: 0 / 0.5727 GB, free: 15.08 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.162e-05/0.6464, allocations: 4 kB / 0.5727 GB, free: 15.08 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.008847/0.6552, allocations: 3.479 MB / 0.5761 GB, free: 13.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.6553, allocations: 10.91 kB / 0.5761 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.6572, allocations: 333.8 kB / 0.5764 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.66, allocations: 1.334 MB / 0.5777 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.6601, allocations: 183.4 kB / 0.5779 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.6605, allocations: 243.5 kB / 0.5781 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007305/0.6678, allocations: 5.941 MB / 0.5839 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.903e-05/0.6678, allocations: 0 / 0.5839 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003756/0.6682, allocations: 116.5 kB / 0.5841 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.6683, allocations: 58.25 kB / 0.5841 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008279/0.6765, allocations: 5.876 MB / 0.5899 GB, free: 8.031 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.01918/0.6957, allocations: 7.313 MB / 0.597 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007599/0.7033, allocations: 4.773 MB / 0.6017 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/0.707, allocations: 2.25 MB / 0.6039 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/0.7075, allocations: 112.5 kB / 0.604 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.7076, allocations: 94.62 kB / 0.604 GB, free: 11.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.492e-06/0.7076, allocations: 0 / 0.604 GB, free: 11.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01033/0.7179, allocations: 5.8 MB / 0.6097 GB, free: 6.031 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.718, allocations: 94.47 kB / 0.6098 GB, free: 5.926 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.7189, allocations: 0.6383 MB / 0.6104 GB, free: 5.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004257/0.7193, allocations: 101.7 kB / 0.6105 GB, free: 5.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.7197, allocations: 0.5518 MB / 0.6111 GB, free: 4.613 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.721, allocations: 1.366 MB / 0.6124 GB, free: 3.266 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009815/0.722, allocations: 0.6333 MB / 0.613 GB, free: 2.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.7221, allocations: 334 kB / 0.6133 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/0.7252, allocations: 1.74 MB / 0.615 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003558/0.7287, allocations: 2.267 MB / 0.6172 GB, free: 14.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/0.736, allocations: 4.326 MB / 0.6215 GB, free: 9.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.7361, allocations: 4 kB / 0.6215 GB, free: 9.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009028/0.7451, allocations: 4.578 MB / 0.6259 GB, free: 5.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.7451, allocations: 12.06 kB / 0.626 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.7451, allocations: 16 kB / 0.626 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.455e-05/0.7452, allocations: 30.34 kB / 0.626 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/0.7491, allocations: 0.7857 MB / 0.6268 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.582e-05/0.7491, allocations: 36.53 kB / 0.6268 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.7516, allocations: 341.8 kB / 0.6271 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/0.7519, allocations: 143.9 kB / 0.6273 GB, free: 3.832 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.001707/0.7536, allocations: 0.7668 MB / 0.628 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/0.7543, allocations: 195.7 kB / 0.6282 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00951/0.7638, allocations: 5.152 MB / 0.6332 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/0.7638, allocations: 44 kB / 0.6333 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.7639, allocations: 7.938 kB / 0.6333 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-05/0.7639, allocations: 23.91 kB / 0.6333 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/0.7687, allocations: 2.207 MB / 0.6355 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.7687, allocations: 0.625 kB / 0.6355 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003661/0.7723, allocations: 0.7268 MB / 0.6362 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.795e-05/0.7724, allocations: 16 kB / 0.6362 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003092/0.7727, allocations: 91.97 kB / 0.6363 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.173e-05/0.7727, allocations: 16 kB / 0.6363 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7727, allocations: 4 kB / 0.6363 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.7852, allocations: 7.214 MB / 0.6433 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/0.7858, allocations: 225.9 kB / 0.6436 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/0.7862, allocations: 83.88 kB / 0.6436 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/0.7891, allocations: 227.7 kB / 0.6439 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006583/0.7898, allocations: 326.8 kB / 0.6442 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004342/0.7902, allocations: 183.8 kB / 0.6443 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000722/0.7909, allocations: 0.4987 MB / 0.6448 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.7909, allocations: 0 / 0.6448 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002919/0.7939, allocations: 1.116 MB / 0.6459 GB, free: 0.8047 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.001139/0.795, allocations: 436.3 kB / 0.6463 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007652/0.8027, allocations: 4.116 MB / 0.6504 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.8027, allocations: 5 kB / 0.6504 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003576/0.8062, allocations: 2.11 MB / 0.6524 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/0.8114, allocations: 1.036 MB / 0.6534 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.8249, allocations: 6.671 MB / 0.6599 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.8263, allocations: 1.267 MB / 0.6612 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00525/0.8315, allocations: 1.746 MB / 0.6629 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.8326, allocations: 283.3 kB / 0.6632 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.8326, allocations: 0 / 0.6632 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.09828/0.9309, allocations: 62.75 MB / 0.7244 GB, free: 1.492 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.893631737679243]