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.0009295/0.0009295, allocations: 76.94 kB / 22.28 MB, free: 2.211 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.001037/0.001037, allocations: 166.7 kB / 25.7 MB, free: 8.449 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.8379/0.8379, allocations: 158.6 MB / 187.6 MB, free: 2.801 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 1.603e-06/1.603e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.501e-05, allocations: 6.25 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2819/0.282, allocations: 145.5 MB / 397 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.2834, allocations: 0.9459 MB / 398 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.2835, allocations: 2.656 kB / 398 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.2839, allocations: 70.44 kB / 398.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.2844, allocations: 308.7 kB / 398.4 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.2868, allocations: 1.295 MB / 399.6 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.2895, allocations: 5.699 MB / 405.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2897, allocations: 107.4 kB / 405.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.2922, allocations: 3.15 MB / 408.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.2939, allocations: 1.959 MB / 410.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.2943, allocations: 234.6 kB / 410.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.2967, allocations: 1.75 MB / 412.5 MB, free: 5.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007624/0.2975, allocations: 1.275 MB / 413.8 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.2985, allocations: 1.263 MB / 415.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.3015, allocations: 4.241 MB / 419.3 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3015, allocations: 0 / 419.3 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3015, allocations: 0 / 419.3 MB, free: 2.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.706e-05/0.3016, allocations: 0 / 419.3 MB, free: 2.273 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.003557/0.3051, allocations: 2.964 MB / 422.3 MB, free: 15.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3051, allocations: 11.98 kB / 422.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.3064, allocations: 0.6071 MB / 422.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000973/0.3074, allocations: 0.7584 MB / 423.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.3075, allocations: 188.8 kB / 423.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/0.3078, allocations: 285.4 kB / 424.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.3104, allocations: 4.038 MB / 428.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.3104, allocations: 0 / 428.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.3106, allocations: 119.9 kB / 428.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.3107, allocations: 56 kB / 428.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.3128, allocations: 1.839 MB / 430.2 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007236/0.3201, allocations: 4.301 MB / 434.5 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.3222, allocations: 2.543 MB / 437 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/0.3231, allocations: 0.7511 MB / 437.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.3234, allocations: 139 kB / 437.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/0.3234, allocations: 98.62 kB / 438 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 4.99e-06/0.3234, allocations: 0 / 438 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.002332/0.3258, allocations: 1.791 MB / 439.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3258, allocations: 94.41 kB / 439.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.3261, allocations: 484.6 kB / 440.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.3263, allocations: 101.7 kB / 440.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.3266, allocations: 0.5003 MB / 441 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/0.3272, allocations: 1.358 MB / 442.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005873/0.3278, allocations: 0.5568 MB / 442.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.3279, allocations: 342 kB / 443.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/0.3285, allocations: 491.8 kB / 443.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.3293, allocations: 0.8947 MB / 444.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.331, allocations: 1.736 MB / 446.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.331, allocations: 7.938 kB / 446.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002028/0.3331, allocations: 1.747 MB / 448.1 MB, free: 5.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3331, allocations: 12 kB / 448.1 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.3331, allocations: 8 kB / 448.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.3331, allocations: 28 kB / 448.1 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.335, allocations: 0.7923 MB / 448.9 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.335, allocations: 31.94 kB / 448.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009102/0.3359, allocations: 289.9 kB / 449.2 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.3361, allocations: 107.9 kB / 449.3 MB, free: 3.969 MB / 362.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.0005192/0.3366, allocations: 338.4 kB / 449.7 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.3369, allocations: 275.8 kB / 449.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.3395, allocations: 2.225 MB / 452.2 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.3395, allocations: 44 kB / 452.2 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3395, allocations: 4 kB / 452.2 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.3395, allocations: 19.92 kB / 452.2 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.3412, allocations: 1.248 MB / 453.5 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3412, allocations: 3.938 kB / 453.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.3428, allocations: 0.7138 MB / 454.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.3429, allocations: 15.94 kB / 454.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.343, allocations: 87.97 kB / 454.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.343, allocations: 12 kB / 454.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.343, allocations: 4 kB / 454.3 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.3457, allocations: 2.505 MB / 456.8 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.3459, allocations: 233.8 kB / 457 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.3461, allocations: 83.89 kB / 457.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.3471, allocations: 171.8 kB / 457.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/0.3475, allocations: 270.8 kB / 457.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/0.3477, allocations: 131.9 kB / 457.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.3479, allocations: 230.1 kB / 457.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3479, allocations: 0 / 457.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001422/0.3493, allocations: 1.116 MB / 459 MB, free: 10.44 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.0007772/0.3501, allocations: 474.8 kB / 459.5 MB, free: 9.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.3518, allocations: 1.637 MB / 461.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/0.3518, allocations: 13.5 kB / 461.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009355/0.3527, allocations: 0.9907 MB / 462.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.355, allocations: 1.158 MB / 463.3 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/0.3604, allocations: 4.559 MB / 467.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3608, allocations: 0.5771 MB / 468.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001568/0.3624, allocations: 0.5832 MB / 469 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002962/0.3654, allocations: 1.186 MB / 470.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3654, allocations: 0 / 470.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of Templates: time 0.2093/0.5747, allocations: 64.69 MB / 0.5223 GB, free: 92.26 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 -s gbode -gbm=radauIIA3 -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.958262399304658]