Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 39.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.255, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4094/0.6644, allocations: 152.3 MB / 0.5598 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.6654, allocations: 0.7043 MB / 0.5605 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.6655, allocations: 5.75 kB / 0.5605 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.6659, allocations: 83.38 kB / 0.5605 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005296/0.6664, allocations: 293.8 kB / 0.5608 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.6689, allocations: 1.118 MB / 0.5619 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003705/0.6726, allocations: 5.623 MB / 0.5674 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.6728, allocations: 89.5 kB / 0.5675 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.6758, allocations: 2.256 MB / 0.5697 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.679, allocations: 2.044 MB / 0.5717 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006763/0.6796, allocations: 238.7 kB / 0.5719 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.6831, allocations: 1.779 MB / 0.5737 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.6844, allocations: 1.239 MB / 0.5749 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.6866, allocations: 1.567 MB / 0.5764 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004958/0.6915, allocations: 4.544 MB / 0.5808 GB, free: 9.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.6915, allocations: 0 / 0.5808 GB, free: 9.688 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6915, allocations: 0 / 0.5808 GB, free: 9.688 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.686e-05/0.6916, allocations: 0 / 0.5808 GB, free: 9.688 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.008914/0.7005, allocations: 3.55 MB / 0.5843 GB, free: 7.871 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.7005, allocations: 10.09 kB / 0.5843 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.7024, allocations: 336.1 kB / 0.5846 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.7049, allocations: 1.342 MB / 0.5859 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.705, allocations: 183.5 kB / 0.5861 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.7054, allocations: 242.9 kB / 0.5863 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006133/0.7115, allocations: 3.823 MB / 0.5901 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.7116, allocations: 0 / 0.5901 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003602/0.7119, allocations: 114.3 kB / 0.5902 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/0.712, allocations: 65.12 kB / 0.5903 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0088/0.7208, allocations: 5.983 MB / 0.5961 GB, free: 0.9688 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.02052/0.7413, allocations: 11.22 MB / 0.6071 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007628/0.7489, allocations: 4.786 MB / 0.6117 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003607/0.7525, allocations: 2.24 MB / 0.6139 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000646/0.7532, allocations: 446.6 kB / 0.6143 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.7533, allocations: 94.62 kB / 0.6144 GB, free: 13.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.851e-06/0.7533, allocations: 0 / 0.6144 GB, free: 13.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01045/0.7637, allocations: 5.821 MB / 0.6201 GB, free: 7.914 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.7638, allocations: 98.41 kB / 0.6202 GB, free: 7.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.7651, allocations: 0.8713 MB / 0.6211 GB, free: 6.926 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003959/0.7655, allocations: 101.7 kB / 0.6212 GB, free: 6.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.7659, allocations: 0.5273 MB / 0.6217 GB, free: 6.289 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.7671, allocations: 1.376 MB / 0.623 GB, free: 4.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.7682, allocations: 0.6216 MB / 0.6236 GB, free: 4.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.7684, allocations: 357.9 kB / 0.624 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.7714, allocations: 1.748 MB / 0.6257 GB, free: 2.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/0.7748, allocations: 2.264 MB / 0.6279 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006829/0.7817, allocations: 4.325 MB / 0.6321 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.7817, allocations: 7.938 kB / 0.6321 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008087/0.7898, allocations: 4.592 MB / 0.6366 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.7898, allocations: 12 kB / 0.6366 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.7898, allocations: 16 kB / 0.6366 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.456e-05/0.7899, allocations: 31.94 kB / 0.6367 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/0.7936, allocations: 0.7917 MB / 0.6374 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.943e-05/0.7936, allocations: 35.92 kB / 0.6375 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.796, allocations: 365.5 kB / 0.6378 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/0.7964, allocations: 143.9 kB / 0.638 GB, free: 5.273 MB / 0.4981 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.00153/0.7979, allocations: 0.766 MB / 0.6387 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007436/0.7987, allocations: 218.8 kB / 0.6389 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009892/0.8085, allocations: 5.164 MB / 0.6439 GB, free: 15.08 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/0.8086, allocations: 43.94 kB / 0.644 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.8086, allocations: 4 kB / 0.644 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.105e-05/0.8086, allocations: 19.92 kB / 0.644 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/0.8137, allocations: 2.826 MB / 0.6468 GB, free: 12.24 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.8137, allocations: 4 kB / 0.6468 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003599/0.8173, allocations: 0.7294 MB / 0.6475 GB, free: 11.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.701e-05/0.8173, allocations: 12 kB / 0.6475 GB, free: 11.49 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003165/0.8177, allocations: 95.95 kB / 0.6476 GB, free: 11.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.293e-05/0.8177, allocations: 19.94 kB / 0.6476 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8177, allocations: 0 / 0.6476 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.8297, allocations: 7.223 MB / 0.6547 GB, free: 4.109 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.8303, allocations: 330.9 kB / 0.655 GB, free: 3.766 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005433/0.8309, allocations: 79.95 kB / 0.6551 GB, free: 3.688 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/0.8339, allocations: 235.6 kB / 0.6553 GB, free: 3.457 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006875/0.8346, allocations: 310.9 kB / 0.6556 GB, free: 3.152 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005285/0.8351, allocations: 179.9 kB / 0.6558 GB, free: 2.977 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001113/0.8362, allocations: 0.6785 MB / 0.6564 GB, free: 2.301 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/0.8362, allocations: 0 / 0.6564 GB, free: 2.301 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.003013/0.8392, allocations: 1.089 MB / 0.6575 GB, free: 1.211 MB / 0.5138 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.001313/0.8405, allocations: 441.4 kB / 0.6579 GB, free: 0.7891 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.007678/0.8482, allocations: 4.116 MB / 0.6619 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.8482, allocations: 12.94 kB / 0.6619 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.8518, allocations: 2.108 MB / 0.664 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005846/0.8576, allocations: 1.247 MB / 0.6652 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.8712, allocations: 6.717 MB / 0.6718 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/0.873, allocations: 1.849 MB / 0.6736 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005711/0.8787, allocations: 1.764 MB / 0.6753 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/0.88, allocations: 295.3 kB / 0.6756 GB, free: 14.61 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/0.88, allocations: 0 / 0.6756 GB, free: 14.61 MB / 0.545 GB Notification: Performance of Templates: time 0.105/0.985, allocations: 65.89 MB / 0.7399 GB, free: 13.12 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.937861060723662]