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.002386/0.002386, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002026/0.002026, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.544/1.544, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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 1.362e-06/1.362e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.312e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3067/0.3067, allocations: 147.4 MB / 419.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3081, allocations: 0.7043 MB / 420.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.3082, allocations: 4 kB / 420.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.3086, allocations: 71.5 kB / 420.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006574/0.3093, allocations: 310 kB / 420.7 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.3123, allocations: 1.148 MB / 421.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00642/0.3187, allocations: 5.687 MB / 427.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.319, allocations: 96.16 kB / 427.6 MB, free: 6.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005175/0.3241, allocations: 2.975 MB / 430.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004221/0.3284, allocations: 2.113 MB / 432.7 MB, free: 1.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007979/0.3292, allocations: 236 kB / 432.9 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1532/0.4823, allocations: 1.516 MB / 434.4 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001644/0.484, allocations: 1.288 MB / 435.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002705/0.4867, allocations: 1.267 MB / 437 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006984/0.4936, allocations: 4.986 MB / 442 MB, free: 6.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4937, allocations: 1.656 kB / 442 MB, free: 6.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4937, allocations: 0 / 442 MB, free: 6.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.773e-05/0.4937, allocations: 0.8125 kB / 442 MB, free: 6.539 MB / 378.7 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.00889/0.5026, allocations: 3.655 MB / 445.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5027, allocations: 9.844 kB / 445.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.5049, allocations: 0.6353 MB / 446.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.5084, allocations: 1.168 MB / 447.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.5085, allocations: 180.1 kB / 447.6 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005871/0.5091, allocations: 287.7 kB / 447.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007235/0.5163, allocations: 4.948 MB / 452.9 MB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.5164, allocations: 2.172 kB / 452.9 MB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005062/0.5169, allocations: 113.1 kB / 453 MB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.5169, allocations: 60.41 kB / 453 MB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00838/0.5253, allocations: 4.554 MB / 457.6 MB, free: 18.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.5468, allocations: 7.738 MB / 465.3 MB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005294/0.5521, allocations: 3.633 MB / 468.9 MB, free: 16.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/0.5546, allocations: 1.575 MB / 470.5 MB, free: 16.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/0.555, allocations: 135.7 kB / 470.7 MB, free: 16.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.077e-05/0.5551, allocations: 99.23 kB / 470.8 MB, free: 16.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 6.873e-06/0.5551, allocations: 0.875 kB / 470.8 MB, free: 16.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.007458/0.5626, allocations: 4.255 MB / 475 MB, free: 16.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.5627, allocations: 93.91 kB / 475.1 MB, free: 16.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.5634, allocations: 0.7142 MB / 475.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004058/0.5638, allocations: 101.1 kB / 475.9 MB, free: 15.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.5641, allocations: 0.6117 MB / 476.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008869/0.565, allocations: 1.428 MB / 478 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008967/0.5659, allocations: 0.6755 MB / 478.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002863/0.5662, allocations: 0.5135 MB / 479.1 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.5681, allocations: 1.114 MB / 480.3 MB, free: 14.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.5707, allocations: 1.851 MB / 482.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005162/0.5758, allocations: 3.337 MB / 485.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.5758, allocations: 3.172 kB / 485.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005975/0.5818, allocations: 3.515 MB / 489 MB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.5818, allocations: 7.875 kB / 489 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5819, allocations: 14.19 kB / 489 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.505e-05/0.5819, allocations: 28.5 kB / 489 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/0.5855, allocations: 0.7829 MB / 489.8 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-05/0.5855, allocations: 37.55 kB / 489.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.588, allocations: 340.5 kB / 490.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/0.5883, allocations: 150.3 kB / 490.3 MB, free: 11.2 MB / 394.7 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.001471/0.5898, allocations: 0.6143 MB / 490.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/0.5906, allocations: 319.5 kB / 491.2 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008667/0.5993, allocations: 4.018 MB / 495.3 MB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/0.5993, allocations: 40.88 kB / 495.3 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.5993, allocations: 0 / 495.3 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.052e-05/0.5994, allocations: 19.92 kB / 495.3 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/0.604, allocations: 1.929 MB / 497.2 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/0.604, allocations: 0 / 497.2 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00378/0.6078, allocations: 0.7276 MB / 498 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.36e-05/0.6078, allocations: 12.75 kB / 498 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/0.6082, allocations: 91.97 kB / 498.1 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/0.6082, allocations: 12.91 kB / 498.1 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6082, allocations: 0 / 498.1 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.6192, allocations: 5.316 MB / 0.4916 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/0.6199, allocations: 230.9 kB / 0.4918 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/0.6204, allocations: 83.94 kB / 0.4919 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/0.6233, allocations: 221.4 kB / 0.4921 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007745/0.6241, allocations: 345.1 kB / 0.4924 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000655/0.6248, allocations: 179.9 kB / 0.4926 GB, free: 14.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000793/0.6256, allocations: 0.5036 MB / 0.4931 GB, free: 14.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6256, allocations: 0 / 0.4931 GB, free: 14.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004005/0.6296, allocations: 1.112 MB / 0.4942 GB, free: 13 MB / 410.7 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.001401/0.631, allocations: 461.4 kB / 0.4946 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007042/0.638, allocations: 3.181 MB / 0.4977 GB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/0.638, allocations: 9 kB / 0.4977 GB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003484/0.6415, allocations: 1.766 MB / 0.4995 GB, free: 7.777 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005517/0.647, allocations: 1.121 MB / 0.5006 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.659, allocations: 5.592 MB / 0.506 GB, free: 1.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.6603, allocations: 1.124 MB / 0.5071 GB, free: 40 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004762/0.6651, allocations: 1.363 MB / 0.5085 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.6664, allocations: 284.4 kB / 0.5087 GB, free: 14.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6664, allocations: 4 kB / 0.5087 GB, free: 14.39 MB / 426.7 MB Notification: Performance of Templates: time 0.1028/0.7691, allocations: 58.65 MB / 0.566 GB, free: 4.527 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] 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.71676354308147]