Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001305/0.001305, allocations: 80.41 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.001448/0.001448, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.853/0.853, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.193e-05, allocations: 2.312 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2212/0.2212, allocations: 145 MB / 419.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008666/0.222, allocations: 0.6886 MB / 419.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.919e-05/0.2221, allocations: 4 kB / 419.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.2224, allocations: 82.53 kB / 419.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.2229, allocations: 303.7 kB / 420.2 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.2248, allocations: 1.148 MB / 421.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003376/0.2282, allocations: 5.699 MB / 427.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.2284, allocations: 88.22 kB / 427.1 MB, free: 7.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.2317, allocations: 3.163 MB / 430.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.234, allocations: 2.015 MB / 432.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.2346, allocations: 244 kB / 432.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.2366, allocations: 1.521 MB / 434.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008456/0.2374, allocations: 1.274 MB / 435.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.2386, allocations: 1.263 MB / 436.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.2419, allocations: 4.126 MB / 440.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2419, allocations: 0 / 440.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2419, allocations: 4 kB / 440.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.516e-05/0.242, allocations: 3.938 kB / 440.8 MB, free: 10.03 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.003972/0.2459, allocations: 3.308 MB / 444.1 MB, free: 6.672 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.246, allocations: 12.03 kB / 444.1 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.2472, allocations: 0.6349 MB / 444.7 MB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2483, allocations: 0.9132 MB / 445.6 MB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.2486, allocations: 176.9 kB / 445.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/0.2489, allocations: 280 kB / 446.1 MB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006823/0.2558, allocations: 3.84 MB / 449.9 MB, free: 232 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.224e-05/0.2558, allocations: 4 kB / 449.9 MB, free: 228 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004841/0.2563, allocations: 116 kB / 450 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.2564, allocations: 56 kB / 450.1 MB, free: 56 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003992/0.2603, allocations: 2.116 MB / 452.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.2735, allocations: 4.905 MB / 457.1 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/0.2772, allocations: 2.578 MB / 459.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.2787, allocations: 0.881 MB / 460.6 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/0.2791, allocations: 135 kB / 460.7 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.029e-05/0.2792, allocations: 105.3 kB / 460.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 8.065e-06/0.2792, allocations: 0 / 460.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.005249/0.2844, allocations: 2.375 MB / 463.2 MB, free: 2.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.2845, allocations: 94.47 kB / 463.3 MB, free: 2.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.2852, allocations: 0.6231 MB / 463.9 MB, free: 2.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003128/0.2855, allocations: 105.7 kB / 464 MB, free: 1.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.2859, allocations: 0.6204 MB / 464.6 MB, free: 1.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/0.2871, allocations: 1.433 MB / 466 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.2882, allocations: 0.6913 MB / 466.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2884, allocations: 0.5198 MB / 467.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.2895, allocations: 470.6 kB / 467.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.2912, allocations: 1.215 MB / 468.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/0.2945, allocations: 1.908 MB / 470.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.2945, allocations: 11.94 kB / 470.8 MB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004584/0.2991, allocations: 2.195 MB / 473 MB, free: 8.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.2991, allocations: 12 kB / 473.1 MB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.2991, allocations: 12 kB / 473.1 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/0.2992, allocations: 24 kB / 473.1 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/0.3023, allocations: 0.7372 MB / 473.8 MB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.64e-05/0.3023, allocations: 39.86 kB / 473.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.304, allocations: 290.1 kB / 474.1 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/0.3043, allocations: 123.9 kB / 474.3 MB, free: 7.164 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.001021/0.3053, allocations: 371.6 kB / 474.6 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007567/0.3061, allocations: 322.9 kB / 474.9 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00558/0.3117, allocations: 2.716 MB / 477.7 MB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/0.3117, allocations: 40.62 kB / 477.7 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3117, allocations: 0 / 477.7 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/0.3117, allocations: 19.92 kB / 477.7 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.3148, allocations: 1.384 MB / 479.1 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.3148, allocations: 0.5625 kB / 479.1 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002851/0.3176, allocations: 0.6749 MB / 479.8 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/0.3177, allocations: 16 kB / 479.8 MB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.3179, allocations: 99.89 kB / 479.9 MB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/0.3179, allocations: 15.31 kB / 479.9 MB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3179, allocations: 0 / 479.9 MB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/0.3228, allocations: 3.02 MB / 482.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.3231, allocations: 229.9 kB / 483.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.3233, allocations: 83.86 kB / 483.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.3245, allocations: 167.9 kB / 483.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/0.3248, allocations: 278.9 kB / 483.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/0.325, allocations: 151.9 kB / 483.8 MB, free: 13.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.3253, allocations: 394.6 kB / 484.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3253, allocations: 0 / 484.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001808/0.3271, allocations: 1.112 MB / 485.3 MB, free: 12 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.0007802/0.3279, allocations: 458.9 kB / 485.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.3301, allocations: 1.902 MB / 487.7 MB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.3301, allocations: 17.12 kB / 487.7 MB, free: 9.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.3312, allocations: 1.158 MB / 488.8 MB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.3337, allocations: 1.113 MB / 490 MB, free: 7.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005711/0.3394, allocations: 4.978 MB / 494.9 MB, free: 2.301 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3398, allocations: 0.6279 MB / 495.6 MB, free: 1.641 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001736/0.3416, allocations: 0.5833 MB / 496.1 MB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1356/0.4771, allocations: 1.459 MB / 497.6 MB, free: 67.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4771, allocations: 0 / 497.6 MB, free: 67.12 MB / 410.7 MB Notification: Performance of Templates: time 0.05742/0.5346, allocations: 65.67 MB / 0.5501 GB, free: 25.3 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.286805079318583]