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.002044/0.002044, allocations: 92.31 kB / 21.73 MB, free: 2.82 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.002467/0.002467, allocations: 162.6 kB / 25.02 MB, free: 8.773 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 1.358/1.358, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.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.|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.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.|x",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 250.3 MB, free: 3.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.401e-05, allocations: 2.312 kB / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2731/0.2732, allocations: 131.8 MB / 382.1 MB, free: 2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.2749, allocations: 0.912 MB / 383 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.275, allocations: 0 / 383 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.2754, allocations: 71.52 kB / 383.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007317/0.2761, allocations: 312.8 kB / 383.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.2799, allocations: 1.327 MB / 384.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006537/0.2864, allocations: 5.69 MB / 390.4 MB, free: 9.695 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.2867, allocations: 96.22 kB / 390.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006031/0.2927, allocations: 2.964 MB / 393.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003944/0.2967, allocations: 2.109 MB / 395.6 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000767/0.2975, allocations: 236 kB / 395.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.3016, allocations: 1.669 MB / 397.5 MB, free: 2.598 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.3036, allocations: 1.282 MB / 398.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.3063, allocations: 1.259 MB / 400 MB, free: 52 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008442/0.3147, allocations: 5.093 MB / 405.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3147, allocations: 0 / 405.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3147, allocations: 0 / 405.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.3148, allocations: 0 / 405.1 MB, free: 10.94 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.0109/0.3257, allocations: 3.474 MB / 408.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3258, allocations: 8.031 kB / 408.6 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.3283, allocations: 0.6423 MB / 409.2 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/0.3317, allocations: 1.337 MB / 410.6 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.3319, allocations: 184.8 kB / 410.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000644/0.3325, allocations: 283.9 kB / 411 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009582/0.3421, allocations: 5.947 MB / 417 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/0.3422, allocations: 0 / 417 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004231/0.3426, allocations: 112 kB / 417.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.3427, allocations: 60 kB / 417.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.3537, allocations: 5.869 MB / 423 MB, free: 8.367 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02084/0.3745, allocations: 7.336 MB / 430.4 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008485/0.383, allocations: 4.778 MB / 435.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003978/0.387, allocations: 2.244 MB / 437.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004954/0.3875, allocations: 135 kB / 437.5 MB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.3876, allocations: 94.62 kB / 437.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 6.131e-06/0.3876, allocations: 4 kB / 437.6 MB, free: 9.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.01202/0.3997, allocations: 5.915 MB / 443.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/0.3997, allocations: 90.47 kB / 443.6 MB, free: 3.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/0.4007, allocations: 0.6344 MB / 444.2 MB, free: 3.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003594/0.401, allocations: 105.7 kB / 444.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.4015, allocations: 0.5475 MB / 444.9 MB, free: 2.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001457/0.403, allocations: 1.363 MB / 446.3 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.4043, allocations: 0.6293 MB / 446.9 MB, free: 336 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.09181/0.4961, allocations: 337.7 kB / 447.2 MB, free: 150.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/0.4995, allocations: 1.74 MB / 449 MB, free: 150.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/0.503, allocations: 2.261 MB / 451.2 MB, free: 150 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006715/0.5097, allocations: 4.33 MB / 455.5 MB, free: 148.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/0.5097, allocations: 3.531 kB / 455.5 MB, free: 148.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006692/0.5164, allocations: 4.718 MB / 460.3 MB, free: 147 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.5164, allocations: 11.16 kB / 460.3 MB, free: 147 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.5165, allocations: 11.25 kB / 460.3 MB, free: 147 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/0.5165, allocations: 26.22 kB / 460.3 MB, free: 147 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.5199, allocations: 0.7945 MB / 461.1 MB, free: 146.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.715e-05/0.5199, allocations: 33.91 kB / 461.1 MB, free: 146.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.5219, allocations: 341.2 kB / 461.5 MB, free: 146.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.5222, allocations: 145.1 kB / 461.6 MB, free: 146.8 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.001356/0.5236, allocations: 0.7615 MB / 462.4 MB, free: 146.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007335/0.5243, allocations: 320.3 kB / 462.7 MB, free: 145.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007185/0.5315, allocations: 5.158 MB / 467.8 MB, free: 140.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.5315, allocations: 44 kB / 467.9 MB, free: 140.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5315, allocations: 7.25 kB / 467.9 MB, free: 140.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/0.5315, allocations: 19.92 kB / 467.9 MB, free: 140.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.5346, allocations: 2.202 MB / 470.1 MB, free: 138.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.5346, allocations: 0 / 470.1 MB, free: 138.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/0.5378, allocations: 0.7291 MB / 470.8 MB, free: 137.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.106e-05/0.5379, allocations: 16 kB / 470.9 MB, free: 137.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.5381, allocations: 95.95 kB / 471 MB, free: 137.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.5381, allocations: 15.47 kB / 471 MB, free: 137.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5381, allocations: 0 / 471 MB, free: 137.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008609/0.5467, allocations: 7.343 MB / 478.3 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.547, allocations: 229.6 kB / 478.5 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.5473, allocations: 89.33 kB / 478.6 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/0.5499, allocations: 220.9 kB / 478.8 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005436/0.5505, allocations: 326.2 kB / 479.2 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003173/0.5508, allocations: 183.8 kB / 479.3 MB, free: 129.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004655/0.5513, allocations: 0.4948 MB / 479.8 MB, free: 128.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5513, allocations: 7.375 kB / 479.8 MB, free: 128.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001932/0.5532, allocations: 1.119 MB / 481 MB, free: 127.8 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.001015/0.5542, allocations: 484.6 kB / 481.4 MB, free: 127.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005155/0.5594, allocations: 4.118 MB / 485.6 MB, free: 123.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.5594, allocations: 5 kB / 485.6 MB, free: 123.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.5618, allocations: 2.107 MB / 487.7 MB, free: 121.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004033/0.5658, allocations: 1.123 MB / 488.8 MB, free: 120.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009209/0.575, allocations: 6.334 MB / 495.1 MB, free: 113.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008276/0.5759, allocations: 1.269 MB / 496.4 MB, free: 112.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004087/0.58, allocations: 1.726 MB / 498.1 MB, free: 110.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.581, allocations: 288.4 kB / 498.4 MB, free: 110.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.581, allocations: 0 / 498.4 MB, free: 110.4 MB / 378.7 MB Notification: Performance of Templates: time 0.06394/0.6449, allocations: 58.99 MB / 0.5443 GB, free: 51.38 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.643478203914128]