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.0009698/0.0009698, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.000935/0.000935, allocations: 166.9 kB / 25.33 MB, free: 8.586 MB / 18.57 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 0.8429/0.8429, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|x",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.749e-05, allocations: 6.25 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.256/0.256, allocations: 146 MB / 397.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2571, allocations: 0.9438 MB / 398 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.2572, allocations: 0 / 398 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.2576, allocations: 79.34 kB / 398.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004562/0.2581, allocations: 307 kB / 398.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.2603, allocations: 1.332 MB / 399.7 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00256/0.2629, allocations: 5.691 MB / 405.4 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2631, allocations: 90.12 kB / 405.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.266, allocations: 2.968 MB / 408.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.2683, allocations: 2.109 MB / 410.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005807/0.2689, allocations: 238.1 kB / 410.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.2716, allocations: 1.671 MB / 412.5 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008748/0.2725, allocations: 1.29 MB / 413.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.2739, allocations: 1.263 MB / 415.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.2779, allocations: 4.249 MB / 419.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2779, allocations: 0 / 419.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2779, allocations: 0 / 419.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.155e-05/0.2779, allocations: 3.5 kB / 419.3 MB, free: 3.719 MB / 330.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.004392/0.2823, allocations: 3.676 MB / 423 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2824, allocations: 11.98 kB / 423 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.2836, allocations: 0.6423 MB / 423.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.2853, allocations: 1.15 MB / 424.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.2854, allocations: 184.8 kB / 425 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.2858, allocations: 280 kB / 425.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/0.2892, allocations: 4.086 MB / 429.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.2893, allocations: 0 / 429.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.2895, allocations: 116 kB / 429.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.2895, allocations: 56 kB / 429.5 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.2931, allocations: 2.697 MB / 432.2 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009145/0.3022, allocations: 5.488 MB / 437.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.3054, allocations: 2.835 MB / 440.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.3067, allocations: 1.045 MB / 441.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/0.307, allocations: 138.9 kB / 441.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.246e-05/0.3071, allocations: 97.45 kB / 441.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 5.2e-06/0.3071, allocations: 0 / 441.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.004166/0.3113, allocations: 2.769 MB / 444.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.3113, allocations: 94.47 kB / 444.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.3118, allocations: 0.639 MB / 445.3 MB, free: 9.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002286/0.3121, allocations: 101.7 kB / 445.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.3123, allocations: 0.6111 MB / 446 MB, free: 9.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008104/0.3132, allocations: 1.435 MB / 447.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006684/0.3138, allocations: 0.6682 MB / 448.1 MB, free: 6.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.314, allocations: 0.5199 MB / 448.6 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009839/0.3149, allocations: 0.6041 MB / 449.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.3163, allocations: 1.355 MB / 450.6 MB, free: 4.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.3189, allocations: 2.178 MB / 452.8 MB, free: 1.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.3189, allocations: 7.984 kB / 452.8 MB, free: 1.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003451/0.3223, allocations: 2.504 MB / 455.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3224, allocations: 8 kB / 455.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.3224, allocations: 12 kB / 455.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/0.3224, allocations: 31.94 kB / 455.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.3243, allocations: 0.784 MB / 456.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.193e-05/0.3243, allocations: 39.86 kB / 456.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.3255, allocations: 337.8 kB / 456.5 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.3257, allocations: 147.9 kB / 456.6 MB, free: 13.99 MB / 378.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.0007553/0.3265, allocations: 379.6 kB / 457 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000482/0.3269, allocations: 318.9 kB / 457.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.3309, allocations: 3.06 MB / 460.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.3309, allocations: 40 kB / 460.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3309, allocations: 0 / 460.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.3309, allocations: 27.92 kB / 460.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.3331, allocations: 1.589 MB / 462 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3331, allocations: 0 / 462 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.3349, allocations: 0.7216 MB / 462.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.3349, allocations: 15.94 kB / 462.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.3351, allocations: 95.95 kB / 462.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.3351, allocations: 16 kB / 462.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3351, allocations: 0 / 462.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/0.3395, allocations: 3.457 MB / 466.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.3399, allocations: 225.9 kB / 466.5 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.3401, allocations: 87.88 kB / 466.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.3415, allocations: 224.6 kB / 466.8 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/0.3419, allocations: 342.7 kB / 467.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/0.3421, allocations: 179.9 kB / 467.4 MB, free: 3.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000344/0.3424, allocations: 422.7 kB / 467.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3424, allocations: 0 / 467.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001797/0.3442, allocations: 1.112 MB / 468.9 MB, free: 1.699 MB / 378.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.000903/0.3451, allocations: 499.8 kB / 469.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003043/0.3482, allocations: 2.21 MB / 471.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/0.3482, allocations: 9 kB / 471.6 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.3496, allocations: 1.295 MB / 472.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.3521, allocations: 1.107 MB / 474 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.3583, allocations: 5.054 MB / 479 MB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.3587, allocations: 0.6161 MB / 479.7 MB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002607/0.3613, allocations: 1.375 MB / 481 MB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/0.362, allocations: 288.4 kB / 481.3 MB, free: 5.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.683e-06/0.362, allocations: 0 / 481.3 MB, free: 5.18 MB / 394.7 MB Notification: Performance of Templates: time 0.1975/0.5595, allocations: 58.86 MB / 0.5275 GB, free: 90.67 MB / 426.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.90302572818473]