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.001438/0.001438, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.00155/0.00155, allocations: 160.9 kB / 24.27 MB, free: 168 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 1.472/1.472, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.601e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.283/0.2831, allocations: 133.5 MB / 405.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2846, allocations: 0.6732 MB / 406.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2847, allocations: 3.938 kB / 406.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.2851, allocations: 79.5 kB / 406.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.2858, allocations: 298.1 kB / 406.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.2893, allocations: 1.159 MB / 407.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006282/0.2956, allocations: 5.687 MB / 413.6 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.2959, allocations: 96.22 kB / 413.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006514/0.3024, allocations: 2.972 MB / 416.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.3065, allocations: 2.11 MB / 418.8 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007043/0.3072, allocations: 236 kB / 419 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.3109, allocations: 1.524 MB / 420.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.3126, allocations: 1.282 MB / 421.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.3151, allocations: 1.256 MB / 423.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007458/0.3226, allocations: 4.987 MB / 428.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3226, allocations: 0 / 428.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3226, allocations: 0 / 428.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.245e-05/0.3227, allocations: 0 / 428.1 MB, free: 5.117 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.01057/0.3333, allocations: 3.45 MB / 431.5 MB, free: 1.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3333, allocations: 16.03 kB / 431.5 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.3358, allocations: 0.6349 MB / 432.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1009/0.4366, allocations: 1.34 MB / 433.5 MB, free: 136.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.4368, allocations: 182.3 kB / 433.7 MB, free: 136.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009272/0.4378, allocations: 283 kB / 434 MB, free: 136.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007566/0.4453, allocations: 5.942 MB / 439.9 MB, free: 132.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/0.4454, allocations: 1.344 kB / 439.9 MB, free: 132.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.4458, allocations: 111.1 kB / 440 MB, free: 132.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.4458, allocations: 59.38 kB / 440.1 MB, free: 132.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009508/0.4553, allocations: 5.876 MB / 446 MB, free: 130.9 MB / 378.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.01648/0.4718, allocations: 7.335 MB / 453.3 MB, free: 125.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/0.4771, allocations: 4.777 MB / 458.1 MB, free: 120.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.4797, allocations: 2.248 MB / 460.3 MB, free: 118.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/0.4801, allocations: 134.2 kB / 460.5 MB, free: 118.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.4802, allocations: 94.61 kB / 460.5 MB, free: 118 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 6.943e-06/0.4802, allocations: 0 / 460.5 MB, free: 118 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.007848/0.488, allocations: 5.922 MB / 466.5 MB, free: 112.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4881, allocations: 90.47 kB / 466.6 MB, free: 112 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.4887, allocations: 0.6405 MB / 467.2 MB, free: 111.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.489, allocations: 101.7 kB / 467.3 MB, free: 111.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.4892, allocations: 0.5526 MB / 467.8 MB, free: 110.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007206/0.4899, allocations: 1.36 MB / 469.2 MB, free: 109.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007403/0.4906, allocations: 0.6216 MB / 469.8 MB, free: 109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.4907, allocations: 334 kB / 470.2 MB, free: 108.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.4929, allocations: 1.745 MB / 471.9 MB, free: 106.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.4953, allocations: 2.258 MB / 474.2 MB, free: 104.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/0.5003, allocations: 4.327 MB / 478.5 MB, free: 100 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.5003, allocations: 4 kB / 478.5 MB, free: 100 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006221/0.5065, allocations: 4.723 MB / 483.2 MB, free: 95.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.5066, allocations: 12 kB / 483.2 MB, free: 95.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.5066, allocations: 12 kB / 483.2 MB, free: 95.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-05/0.5066, allocations: 24 kB / 483.3 MB, free: 95.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/0.5101, allocations: 0.7975 MB / 484.1 MB, free: 94.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.786e-05/0.5101, allocations: 35.88 kB / 484.1 MB, free: 94.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.5122, allocations: 340.2 kB / 484.4 MB, free: 94.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.5125, allocations: 151.8 kB / 484.6 MB, free: 93.92 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.001155/0.5136, allocations: 0.7582 MB / 485.3 MB, free: 93.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006937/0.5143, allocations: 318.9 kB / 485.6 MB, free: 92.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007244/0.5216, allocations: 5.154 MB / 490.8 MB, free: 87.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.5216, allocations: 43.98 kB / 490.8 MB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.5216, allocations: 4.625 kB / 490.8 MB, free: 87.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-05/0.5216, allocations: 23.86 kB / 490.9 MB, free: 87.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.5247, allocations: 2.204 MB / 493.1 MB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.5247, allocations: 3.984 kB / 493.1 MB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/0.5279, allocations: 0.733 MB / 493.8 MB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/0.5279, allocations: 16 kB / 493.8 MB, free: 84.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/0.5281, allocations: 95.95 kB / 493.9 MB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.5281, allocations: 12 kB / 493.9 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5281, allocations: 0 / 493.9 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008445/0.5365, allocations: 7.336 MB / 0.4895 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.5369, allocations: 229.9 kB / 0.4897 GB, free: 77.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.5372, allocations: 79.89 kB / 0.4898 GB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/0.5398, allocations: 223.8 kB / 0.49 GB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/0.5403, allocations: 326.8 kB / 0.4903 GB, free: 76.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003337/0.5407, allocations: 175.9 kB / 0.4905 GB, free: 76.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00046/0.5411, allocations: 0.5065 MB / 0.491 GB, free: 75.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5411, allocations: 0 / 0.491 GB, free: 75.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001977/0.5431, allocations: 1.12 MB / 0.4921 GB, free: 74.59 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.0008667/0.544, allocations: 455 kB / 0.4925 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005173/0.5491, allocations: 4.126 MB / 0.4966 GB, free: 70.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.5491, allocations: 5 kB / 0.4966 GB, free: 70 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002453/0.5516, allocations: 2.103 MB / 0.4986 GB, free: 67.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/0.5558, allocations: 1.117 MB / 0.4997 GB, free: 66.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009061/0.5648, allocations: 6.337 MB / 0.5059 GB, free: 60.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/0.5656, allocations: 1.259 MB / 0.5071 GB, free: 59.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004135/0.5698, allocations: 1.754 MB / 0.5088 GB, free: 57.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009703/0.5707, allocations: 284.4 kB / 0.5091 GB, free: 57.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5707, allocations: 0 / 0.5091 GB, free: 57.08 MB / 378.7 MB Notification: Performance of Templates: time 0.1626/0.7333, allocations: 58.78 MB / 0.5665 GB, free: 127.6 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.506324950023554]