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.00145/0.00145, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001186/0.001186, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 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 0.8858/0.8858, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|x",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.872e-05/1.993e-05, allocations: 8.875 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.231/0.231, allocations: 145 MB / 419.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.2318, allocations: 0.6886 MB / 419.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.2319, allocations: 7.938 kB / 419.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.2322, allocations: 78.53 kB / 419.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.2326, allocations: 304.5 kB / 420.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.2346, allocations: 1.151 MB / 421.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.2377, allocations: 5.695 MB / 427 MB, free: 7.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.2379, allocations: 92.22 kB / 427.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.2411, allocations: 3.155 MB / 430.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.2429, allocations: 2.023 MB / 432.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000305/0.2432, allocations: 236 kB / 432.5 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.2451, allocations: 1.524 MB / 434 MB, free: 492 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008194/0.2459, allocations: 1.279 MB / 435.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.2472, allocations: 1.256 MB / 436.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.25, allocations: 4.13 MB / 440.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.25, allocations: 0 / 440.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.25, allocations: 0 / 440.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.25, allocations: 4 kB / 440.7 MB, free: 9.793 MB / 362.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.004306/0.2544, allocations: 3.312 MB / 444 MB, free: 6.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2544, allocations: 8.031 kB / 444 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.2556, allocations: 0.6388 MB / 444.6 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.2567, allocations: 0.9054 MB / 445.5 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/0.2568, allocations: 188.9 kB / 445.7 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/0.2571, allocations: 276 kB / 446 MB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.2598, allocations: 3.84 MB / 449.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.2599, allocations: 0 / 449.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.2601, allocations: 112 kB / 450 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.2601, allocations: 56 kB / 450 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.2625, allocations: 2.124 MB / 452.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007538/0.27, allocations: 4.904 MB / 457 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.2721, allocations: 2.574 MB / 459.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008843/0.273, allocations: 0.881 MB / 460.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.2733, allocations: 135 kB / 460.6 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.2733, allocations: 97.45 kB / 460.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 4.819e-06/0.2734, allocations: 0 / 460.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.002989/0.2763, allocations: 2.382 MB / 463.1 MB, free: 2.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.2764, allocations: 90.47 kB / 463.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.277, allocations: 0.627 MB / 463.8 MB, free: 1.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.2772, allocations: 101.7 kB / 463.9 MB, free: 1.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.2775, allocations: 0.6242 MB / 464.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009249/0.2785, allocations: 1.441 MB / 466 MB, free: 15.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006519/0.2791, allocations: 0.6835 MB / 466.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2792, allocations: 0.5276 MB / 467.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.2799, allocations: 470.6 kB / 467.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/0.2809, allocations: 1.211 MB / 468.9 MB, free: 12.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.2829, allocations: 1.908 MB / 470.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.2829, allocations: 4 kB / 470.8 MB, free: 10.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002548/0.2854, allocations: 2.202 MB / 473 MB, free: 8.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2854, allocations: 8 kB / 473 MB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.2855, allocations: 12 kB / 473 MB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.2855, allocations: 32.7 kB / 473 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.2873, allocations: 0.7378 MB / 473.8 MB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.2873, allocations: 35.92 kB / 473.8 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/0.2882, allocations: 286 kB / 474.1 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.2884, allocations: 115.9 kB / 474.2 MB, free: 6.938 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.0005062/0.2889, allocations: 379.6 kB / 474.6 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/0.2894, allocations: 322.9 kB / 474.9 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.2926, allocations: 2.721 MB / 477.6 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.2926, allocations: 43.98 kB / 477.6 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2926, allocations: 3.688 kB / 477.6 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.2926, allocations: 23.86 kB / 477.7 MB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.2946, allocations: 1.384 MB / 479.1 MB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.2946, allocations: 4 kB / 479.1 MB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.2962, allocations: 0.6749 MB / 479.7 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.2962, allocations: 16 kB / 479.7 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.2963, allocations: 87.97 kB / 479.8 MB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.2964, allocations: 12 kB / 479.8 MB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2964, allocations: 3.984 kB / 479.8 MB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.2997, allocations: 3.012 MB / 482.9 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.2998, allocations: 233.8 kB / 483.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.3, allocations: 87.89 kB / 483.2 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.3012, allocations: 171.8 kB / 483.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.3015, allocations: 274.9 kB / 483.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/0.3017, allocations: 151.9 kB / 483.8 MB, free: 13.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002251/0.3019, allocations: 390.5 kB / 484.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3019, allocations: 4 kB / 484.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001696/0.3036, allocations: 1.112 MB / 485.3 MB, free: 11.75 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.0006746/0.3043, allocations: 451 kB / 485.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.3062, allocations: 1.908 MB / 487.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.3062, allocations: 9 kB / 487.6 MB, free: 9.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3073, allocations: 1.164 MB / 488.8 MB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.3097, allocations: 1.109 MB / 489.9 MB, free: 7.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.3153, allocations: 4.978 MB / 494.9 MB, free: 2.078 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.3157, allocations: 0.6201 MB / 495.5 MB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001548/0.3172, allocations: 0.5794 MB / 496.1 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1352/0.4525, allocations: 1.469 MB / 497.5 MB, free: 67.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4525, allocations: 0 / 497.5 MB, free: 67.06 MB / 410.7 MB Notification: Performance of Templates: time 0.05556/0.5081, allocations: 65.63 MB / 0.55 GB, free: 25.02 MB / 410.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.317452474031597]