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.001072/0.001072, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00104/0.00104, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9297/0.9297, allocations: 177 MB / 204.8 MB, free: 5.566 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 2.144e-06/2.144e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.159e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2737/0.2738, allocations: 147.7 MB / 420.6 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.275, allocations: 0.7122 MB / 421.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2751, allocations: 0 / 421.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.2755, allocations: 71.52 kB / 421.4 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.2761, allocations: 298.5 kB / 421.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.2792, allocations: 1.163 MB / 422.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003852/0.283, allocations: 5.692 MB / 428.5 MB, free: 5.883 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.2833, allocations: 92.22 kB / 428.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.2879, allocations: 2.972 MB / 431.6 MB, free: 2.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.2908, allocations: 2.109 MB / 433.7 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008005/0.2916, allocations: 236 kB / 433.9 MB, free: 460 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1792/0.4708, allocations: 1.519 MB / 435.5 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002014/0.4728, allocations: 1.286 MB / 436.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004362/0.4772, allocations: 1.268 MB / 438 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007042/0.4842, allocations: 4.14 MB / 442.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4842, allocations: 0.7812 kB / 442.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4842, allocations: 0 / 442.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001477/0.4844, allocations: 1.594 kB / 442.2 MB, free: 6.355 MB / 378.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.008054/0.4924, allocations: 3.66 MB / 445.8 MB, free: 5.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.4925, allocations: 13.27 kB / 445.8 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.4942, allocations: 0.634 MB / 446.5 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.4962, allocations: 1.161 MB / 447.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.4963, allocations: 182.8 kB / 447.8 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004044/0.4967, allocations: 283.4 kB / 448.1 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.5006, allocations: 4.084 MB / 452.2 MB, free: 17.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.5006, allocations: 0 / 452.2 MB, free: 17.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/0.5009, allocations: 112.2 kB / 452.3 MB, free: 17.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.5009, allocations: 60.47 kB / 452.3 MB, free: 17.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003682/0.5046, allocations: 2.699 MB / 455 MB, free: 17.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.5149, allocations: 5.481 MB / 460.5 MB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.5179, allocations: 2.813 MB / 463.3 MB, free: 17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.5192, allocations: 1.041 MB / 464.4 MB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/0.5196, allocations: 138.2 kB / 464.5 MB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.5197, allocations: 95.27 kB / 464.6 MB, free: 16.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 7.243e-06/0.5197, allocations: 0 / 464.6 MB, free: 16.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.004446/0.5242, allocations: 2.779 MB / 467.4 MB, free: 16.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.5242, allocations: 90.38 kB / 467.5 MB, free: 16.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/0.5248, allocations: 0.6404 MB / 468.1 MB, free: 16.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002711/0.525, allocations: 103.9 kB / 468.2 MB, free: 16.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.5253, allocations: 0.6119 MB / 468.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000744/0.526, allocations: 1.428 MB / 470.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007046/0.5267, allocations: 0.6711 MB / 470.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5269, allocations: 0.517 MB / 471.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.5279, allocations: 0.6066 MB / 472 MB, free: 14.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.5293, allocations: 1.346 MB / 473.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.532, allocations: 2.186 MB / 475.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.532, allocations: 3.688 kB / 475.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003738/0.5357, allocations: 2.504 MB / 478.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.5358, allocations: 10.56 kB / 478.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.5358, allocations: 12.84 kB / 478.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.754e-05/0.5358, allocations: 27.09 kB / 478.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.5378, allocations: 0.7876 MB / 478.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-05/0.5378, allocations: 32.5 kB / 479 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.5394, allocations: 340.8 kB / 479.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.5397, allocations: 148 kB / 479.4 MB, free: 12.89 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.001164/0.5408, allocations: 376.5 kB / 479.8 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/0.5414, allocations: 314.8 kB / 480.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.5458, allocations: 3.071 MB / 483.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/0.5459, allocations: 43.23 kB / 483.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.5459, allocations: 2.125 kB / 483.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.5459, allocations: 19.12 kB / 483.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.5484, allocations: 1.586 MB / 484.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.5485, allocations: 1.062 kB / 484.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.5502, allocations: 0.7243 MB / 485.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.883e-05/0.5503, allocations: 13.97 kB / 485.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/0.5505, allocations: 95.28 kB / 485.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.5505, allocations: 13.34 kB / 485.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5505, allocations: 3.781 kB / 485.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/0.5552, allocations: 3.453 MB / 489.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.5556, allocations: 229.5 kB / 489.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.5558, allocations: 84.64 kB / 489.4 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.5573, allocations: 222.7 kB / 489.7 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003862/0.5577, allocations: 345.1 kB / 490 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/0.5579, allocations: 179.9 kB / 490.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003838/0.5583, allocations: 426.1 kB / 490.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5583, allocations: 0.7812 kB / 490.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002316/0.5606, allocations: 1.116 MB / 491.7 MB, free: 11.1 MB / 394.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.0009581/0.5616, allocations: 465.1 kB / 492.2 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.5651, allocations: 2.207 MB / 494.4 MB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.5651, allocations: 5.625 kB / 494.4 MB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.5671, allocations: 1.305 MB / 495.7 MB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/0.5703, allocations: 1.108 MB / 496.8 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.5778, allocations: 5.031 MB / 0.49 GB, free: 2.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.5783, allocations: 0.62 MB / 0.4907 GB, free: 1.605 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003478/0.5817, allocations: 1.367 MB / 0.492 GB, free: 240 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009165/0.5827, allocations: 284.7 kB / 0.4923 GB, free: 15.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/0.5827, allocations: 0 / 0.4923 GB, free: 15.95 MB / 410.7 MB Notification: Performance of Templates: time 0.06076/0.6434, allocations: 58.67 MB / 0.5496 GB, free: 6.078 MB / 458.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.1582742761820555]