Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001903/0.001903, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002309/0.002309, allocations: 198.7 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 207.6 MB / 236 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 51.92 kB / 348.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2763, allocations: 49.16 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1853/0.4615, allocations: 153.6 MB / 0.5383 GB, free: 9.184 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.4633, allocations: 0.9722 MB / 0.5393 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.4635, allocations: 0 / 0.5393 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.4639, allocations: 79.48 kB / 0.5393 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.4646, allocations: 294.7 kB / 0.5396 GB, free: 7.844 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.4691, allocations: 1.327 MB / 0.5409 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005916/0.475, allocations: 5.673 MB / 0.5465 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.4753, allocations: 88.22 kB / 0.5466 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.4795, allocations: 2.275 MB / 0.5488 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004073/0.4836, allocations: 2.049 MB / 0.5508 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.4848, allocations: 240 kB / 0.551 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005795/0.4906, allocations: 1.993 MB / 0.5529 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002517/0.4932, allocations: 1.239 MB / 0.5542 GB, free: 8.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003927/0.4971, allocations: 1.561 MB / 0.5557 GB, free: 7.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009878/0.507, allocations: 4.65 MB / 0.5602 GB, free: 2.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.507, allocations: 0 / 0.5602 GB, free: 2.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.507, allocations: 4 kB / 0.5602 GB, free: 2.676 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.5072, allocations: 0 / 0.5602 GB, free: 2.676 MB / 478.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.222/0.7292, allocations: 3.491 MB / 0.5636 GB, free: 162.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.7292, allocations: 9.781 kB / 0.5636 GB, free: 162.9 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/0.7319, allocations: 339.7 kB / 0.564 GB, free: 162.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004122/0.736, allocations: 1.329 MB / 0.5653 GB, free: 162.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.7362, allocations: 181.5 kB / 0.5654 GB, free: 162.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006651/0.7369, allocations: 246.9 kB / 0.5657 GB, free: 162.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008006/0.7449, allocations: 3.819 MB / 0.5694 GB, free: 161.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.066e-05/0.7449, allocations: 1.5 kB / 0.5694 GB, free: 161.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005482/0.7455, allocations: 118.2 kB / 0.5695 GB, free: 161 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/0.7455, allocations: 58.91 kB / 0.5696 GB, free: 161 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009907/0.7555, allocations: 5.995 MB / 0.5754 GB, free: 159.1 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.0203/0.7758, allocations: 11.26 MB / 0.5864 GB, free: 150.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.7816, allocations: 4.782 MB / 0.5911 GB, free: 145.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/0.7846, allocations: 2.244 MB / 0.5933 GB, free: 143.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004632/0.785, allocations: 134.9 kB / 0.5934 GB, free: 142.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.57e-05/0.7851, allocations: 94.62 kB / 0.5935 GB, free: 142.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.801e-06/0.7851, allocations: 0 / 0.5935 GB, free: 142.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.00811/0.7932, allocations: 5.825 MB / 0.5992 GB, free: 137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.7933, allocations: 90.47 kB / 0.5993 GB, free: 136.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009144/0.7942, allocations: 0.8733 MB / 0.6001 GB, free: 136 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004823/0.7947, allocations: 101.7 kB / 0.6002 GB, free: 135.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.7949, allocations: 0.5278 MB / 0.6007 GB, free: 135.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008227/0.7958, allocations: 1.369 MB / 0.6021 GB, free: 134 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006981/0.7965, allocations: 0.6277 MB / 0.6027 GB, free: 133.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.7965, allocations: 357.9 kB / 0.603 GB, free: 133.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.7988, allocations: 1.744 MB / 0.6047 GB, free: 131.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.8013, allocations: 2.262 MB / 0.607 GB, free: 128.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/0.8062, allocations: 4.324 MB / 0.6112 GB, free: 124.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/0.8062, allocations: 6.188 kB / 0.6112 GB, free: 124.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00608/0.8123, allocations: 4.607 MB / 0.6157 GB, free: 119.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.8123, allocations: 12 kB / 0.6157 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.8123, allocations: 8 kB / 0.6157 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/0.8124, allocations: 28 kB / 0.6157 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.8157, allocations: 0.7922 MB / 0.6165 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.503e-05/0.8158, allocations: 31.94 kB / 0.6165 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.8182, allocations: 365.6 kB / 0.6169 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/0.8186, allocations: 143.9 kB / 0.617 GB, free: 118.4 MB / 478.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.001321/0.8199, allocations: 0.7582 MB / 0.6178 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/0.8205, allocations: 226.7 kB / 0.618 GB, free: 117.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007363/0.8278, allocations: 5.172 MB / 0.623 GB, free: 112.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/0.8279, allocations: 40 kB / 0.6231 GB, free: 112.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.8279, allocations: 3.938 kB / 0.6231 GB, free: 112.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/0.8279, allocations: 19.92 kB / 0.6231 GB, free: 112.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/0.8316, allocations: 2.803 MB / 0.6258 GB, free: 109.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.8316, allocations: 4 kB / 0.6258 GB, free: 109.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/0.8349, allocations: 0.7294 MB / 0.6265 GB, free: 108.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.016e-05/0.835, allocations: 12 kB / 0.6265 GB, free: 108.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003352/0.8353, allocations: 91.95 kB / 0.6266 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.8353, allocations: 16.88 kB / 0.6267 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8353, allocations: 3.938 kB / 0.6267 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009051/0.8444, allocations: 7.226 MB / 0.6337 GB, free: 101.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/0.8449, allocations: 257.7 kB / 0.634 GB, free: 100.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005061/0.8454, allocations: 79.89 kB / 0.634 GB, free: 100.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/0.8482, allocations: 227.8 kB / 0.6343 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/0.8488, allocations: 322.8 kB / 0.6346 GB, free: 100.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004127/0.8492, allocations: 187.9 kB / 0.6347 GB, free: 100.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007147/0.8499, allocations: 0.6785 MB / 0.6354 GB, free: 99.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8499, allocations: 4 kB / 0.6354 GB, free: 99.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002167/0.8521, allocations: 1.089 MB / 0.6365 GB, free: 98.33 MB / 478.1 MB 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.001017/0.8531, allocations: 474.4 kB / 0.6369 GB, free: 97.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005724/0.8588, allocations: 4.121 MB / 0.6409 GB, free: 93.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.8588, allocations: 9 kB / 0.641 GB, free: 93.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002827/0.8617, allocations: 2.107 MB / 0.643 GB, free: 91.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005608/0.8673, allocations: 1.246 MB / 0.6442 GB, free: 90.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.8777, allocations: 6.818 MB / 0.6509 GB, free: 83.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.8786, allocations: 1.849 MB / 0.6527 GB, free: 81.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/0.8802, allocations: 331.3 kB / 0.653 GB, free: 81.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/0.8802, allocations: 0 / 0.653 GB, free: 81.3 MB / 478.1 MB Notification: Performance of Templates: time 0.05399/0.9342, allocations: 47.31 MB / 0.6992 GB, free: 33.84 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.146720014046878]