Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002822, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00173/0.00286, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8744/0.8744, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1597/1.034, allocations: 52.49 MB / 238.5 MB, free: 7.605 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.624e-05, allocations: 2.312 kB / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.233/0.233, allocations: 144.6 MB / 384.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2342, allocations: 0.7091 MB / 385.1 MB, free: 8.133 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.2342, allocations: 2.531 kB / 385.1 MB, free: 8.133 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.2345, allocations: 76.84 kB / 385.2 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.2349, allocations: 303.5 kB / 385.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.2367, allocations: 1.096 MB / 386.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.2394, allocations: 5.706 MB / 392.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.2396, allocations: 115 kB / 392.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.2426, allocations: 3.163 MB / 395.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.2446, allocations: 1.957 MB / 397.5 MB, free: 2.219 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005982/0.2452, allocations: 236 kB / 397.7 MB, free: 1.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.2476, allocations: 1.548 MB / 399.3 MB, free: 448 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000699/0.2483, allocations: 0.9356 MB / 400.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.2493, allocations: 0.8933 MB / 401.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.2521, allocations: 3.401 MB / 404.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.2521, allocations: 3.938 kB / 404.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2521, allocations: 0 / 404.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.405e-05/0.2521, allocations: 3.984 kB / 404.5 MB, free: 11.19 MB / 346.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.00412/0.2562, allocations: 3.626 MB / 408.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.2563, allocations: 8.031 kB / 408.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.2574, allocations: 0.68 MB / 408.8 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009609/0.2584, allocations: 0.7664 MB / 409.6 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.241e-05/0.2585, allocations: 180.9 kB / 409.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.2588, allocations: 285.2 kB / 410 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.2613, allocations: 4.046 MB / 414.1 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.2613, allocations: 11.94 kB / 414.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.2616, allocations: 112 kB / 414.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.2616, allocations: 60 kB / 414.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.2635, allocations: 1.843 MB / 416.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006775/0.2703, allocations: 4.349 MB / 420.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.2722, allocations: 2.533 MB / 423 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007249/0.2729, allocations: 0.7652 MB / 423.8 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.2732, allocations: 139 kB / 423.9 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/0.2733, allocations: 94.62 kB / 424 MB, free: 6.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 5.13e-06/0.2733, allocations: 8 kB / 424 MB, free: 6.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.002124/0.2754, allocations: 1.803 MB / 425.8 MB, free: 5.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2755, allocations: 94.47 kB / 425.9 MB, free: 4.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.2757, allocations: 482.8 kB / 426.4 MB, free: 4.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.2759, allocations: 101.7 kB / 426.5 MB, free: 4.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.2761, allocations: 0.5053 MB / 427 MB, free: 3.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007434/0.2769, allocations: 1.359 MB / 428.3 MB, free: 2.512 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005482/0.2774, allocations: 0.5588 MB / 428.9 MB, free: 1.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.2775, allocations: 349.8 kB / 429.2 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.2781, allocations: 499.7 kB / 429.7 MB, free: 1.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/0.2788, allocations: 0.8881 MB / 430.6 MB, free: 68 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.2804, allocations: 1.786 MB / 432.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.2804, allocations: 0.5625 kB / 432.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001995/0.2824, allocations: 1.758 MB / 434.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2824, allocations: 8.875 kB / 434.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.2824, allocations: 12 kB / 434.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.2825, allocations: 32 kB / 434.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.2843, allocations: 0.862 MB / 435.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/0.2843, allocations: 37.61 kB / 435.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008518/0.2851, allocations: 289.9 kB / 435.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.2853, allocations: 115.9 kB / 435.5 MB, free: 10.95 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.0005195/0.2858, allocations: 327.7 kB / 435.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.2862, allocations: 275.8 kB / 436.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.2886, allocations: 2.239 MB / 438.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.2886, allocations: 43.98 kB / 438.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2886, allocations: 4 kB / 438.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.2887, allocations: 19.92 kB / 438.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.2902, allocations: 1.261 MB / 439.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.2903, allocations: 3.938 kB / 439.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.2919, allocations: 0.7803 MB / 440.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.2921, allocations: 221.9 kB / 440.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.2921, allocations: 16 kB / 440.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.2922, allocations: 83.95 kB / 440.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.2922, allocations: 17.94 kB / 440.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2922, allocations: 0 / 440.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.2948, allocations: 2.522 MB / 443.3 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.295, allocations: 87.88 kB / 443.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009799/0.296, allocations: 167.9 kB / 443.5 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/0.2963, allocations: 270.9 kB / 443.8 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.2965, allocations: 127.9 kB / 443.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.2967, allocations: 236.4 kB / 444.1 MB, free: 2.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2967, allocations: 0 / 444.1 MB, free: 2.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001397/0.2981, allocations: 1.143 MB / 445.3 MB, free: 1.039 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.0007999/0.2989, allocations: 0.4937 MB / 445.8 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.3005, allocations: 1.686 MB / 447.5 MB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-05/0.3006, allocations: 63.42 kB / 447.5 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.3018, allocations: 1.251 MB / 448.8 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.3042, allocations: 1.974 MB / 450.8 MB, free: 11.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.3186, allocations: 4.582 MB / 455.3 MB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.3191, allocations: 0.5731 MB / 455.9 MB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001528/0.3207, allocations: 0.5796 MB / 456.5 MB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002654/0.3233, allocations: 1.207 MB / 457.7 MB, free: 4.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3233, allocations: 0 / 457.7 MB, free: 4.41 MB / 394.7 MB Notification: Performance of Templates: time 0.1795/0.5029, allocations: 68.84 MB / 0.5142 GB, free: 82.11 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.93138871435076]