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.001095/0.001095, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001057/0.001057, allocations: 158.7 kB / 25.6 MB, free: 8.895 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.8535/0.8535, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.342e-06/1.342e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.27e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2437/0.2437, allocations: 143.3 MB / 394.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.2447, allocations: 0.9342 MB / 395.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.2448, allocations: 5.938 kB / 395.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.2451, allocations: 75.42 kB / 395.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.2455, allocations: 303.7 kB / 396 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.2477, allocations: 1.331 MB / 397.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003164/0.2509, allocations: 5.696 MB / 403.1 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.251, allocations: 88.81 kB / 403.2 MB, free: 8.621 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.2538, allocations: 3.152 MB / 406.3 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.2556, allocations: 2.021 MB / 408.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004538/0.2561, allocations: 237.2 kB / 408.6 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.2584, allocations: 1.669 MB / 410.2 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008904/0.2593, allocations: 1.279 MB / 411.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.2605, allocations: 1.258 MB / 412.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.2639, allocations: 4.241 MB / 417 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2639, allocations: 0 / 417 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2639, allocations: 0 / 417 MB, free: 4.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.2639, allocations: 0 / 417 MB, free: 4.383 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.004546/0.2685, allocations: 3.328 MB / 420.3 MB, free: 1.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2685, allocations: 11.98 kB / 420.4 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.2701, allocations: 0.6345 MB / 421 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.2716, allocations: 0.9135 MB / 421.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.2717, allocations: 192.8 kB / 422.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004482/0.2721, allocations: 280 kB / 422.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/0.2756, allocations: 3.833 MB / 426.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.2756, allocations: 0 / 426.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002838/0.2759, allocations: 116 kB / 426.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.276, allocations: 60 kB / 426.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/0.2791, allocations: 2.112 MB / 428.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009723/0.2888, allocations: 4.905 MB / 433.4 MB, free: 3.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.2917, allocations: 2.575 MB / 436 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.2929, allocations: 0.8823 MB / 436.8 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.2932, allocations: 172 kB / 437 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.097e-05/0.2933, allocations: 97.5 kB / 437.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 6.703e-06/0.2933, allocations: 0 / 437.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.004143/0.2975, allocations: 2.379 MB / 439.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.2975, allocations: 94.41 kB / 439.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.298, allocations: 0.625 MB / 440.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.2982, allocations: 97.7 kB / 440.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.2985, allocations: 0.6249 MB / 440.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000883/0.2994, allocations: 1.438 MB / 442.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000845/0.3003, allocations: 0.6881 MB / 443 MB, free: 10.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3004, allocations: 0.5193 MB / 443.6 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/0.3012, allocations: 470.6 kB / 444 MB, free: 9.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.3026, allocations: 1.208 MB / 445.2 MB, free: 7.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/0.3053, allocations: 1.915 MB / 447.1 MB, free: 5.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.3053, allocations: 0 / 447.1 MB, free: 5.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003413/0.3087, allocations: 2.206 MB / 449.4 MB, free: 3.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3087, allocations: 12 kB / 449.4 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.3087, allocations: 12 kB / 449.4 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.3088, allocations: 24.72 kB / 449.4 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.311, allocations: 0.7411 MB / 450.1 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-05/0.3111, allocations: 31.92 kB / 450.2 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.3123, allocations: 289.9 kB / 450.5 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.3125, allocations: 119.9 kB / 450.6 MB, free: 2.367 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.0005119/0.313, allocations: 379.6 kB / 450.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/0.3134, allocations: 314.9 kB / 451.3 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/0.3167, allocations: 2.724 MB / 454 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.3167, allocations: 40 kB / 454 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3167, allocations: 4 kB / 454 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.3167, allocations: 19.92 kB / 454 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.3184, allocations: 1.381 MB / 455.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3184, allocations: 0 / 455.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.32, allocations: 0.6832 MB / 456.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.32, allocations: 20 kB / 456.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.3201, allocations: 87.95 kB / 456.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.3201, allocations: 19.94 kB / 456.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3201, allocations: 3.312 kB / 456.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.3233, allocations: 3.017 MB / 459.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.3235, allocations: 229.8 kB / 459.5 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.3237, allocations: 91.88 kB / 459.6 MB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.3247, allocations: 167.8 kB / 459.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.325, allocations: 282.8 kB / 460 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/0.3252, allocations: 151.9 kB / 460.2 MB, free: 8.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000494/0.3257, allocations: 387.5 kB / 460.5 MB, free: 8.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3257, allocations: 4 kB / 460.5 MB, free: 8.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001374/0.3271, allocations: 1.112 MB / 461.6 MB, free: 7.438 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.0007866/0.3279, allocations: 495.1 kB / 462.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.3298, allocations: 1.904 MB / 464 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3298, allocations: 10.88 kB / 464 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.3308, allocations: 1.163 MB / 465.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.3331, allocations: 1.099 MB / 466.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.3389, allocations: 4.982 MB / 471.3 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3393, allocations: 0.6239 MB / 471.9 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001497/0.3408, allocations: 0.5833 MB / 472.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002726/0.3435, allocations: 1.465 MB / 474 MB, free: 11.16 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3435, allocations: 0 / 474 MB, free: 11.16 MB / 394.7 MB Notification: Performance of Templates: time 0.1868/0.5304, allocations: 64.8 MB / 0.5261 GB, free: 91.3 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: 5.016918761655688]