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.001492/0.001492, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001649/0.001649, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.452/1.452, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.727e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2834/0.2834, allocations: 133.5 MB / 405.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2848, allocations: 0.6651 MB / 406.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.2849, allocations: 3.938 kB / 406.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.2853, allocations: 79.45 kB / 406.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.2859, allocations: 298.4 kB / 406.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.2891, allocations: 1.159 MB / 408.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006856/0.2959, allocations: 5.691 MB / 413.7 MB, free: 3.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.2962, allocations: 88.22 kB / 413.8 MB, free: 3.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005939/0.3022, allocations: 2.976 MB / 416.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004344/0.3065, allocations: 2.106 MB / 418.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.3076, allocations: 240 kB / 419.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.3118, allocations: 1.532 MB / 420.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001886/0.3137, allocations: 1.27 MB / 421.9 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002721/0.3164, allocations: 1.267 MB / 423.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008258/0.3246, allocations: 4.975 MB / 428.2 MB, free: 5.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3246, allocations: 4 kB / 428.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3246, allocations: 0 / 428.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.86e-05/0.3247, allocations: 0 / 428.2 MB, free: 5.176 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.01071/0.3355, allocations: 3.45 MB / 431.6 MB, free: 1.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3355, allocations: 12.03 kB / 431.7 MB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.338, allocations: 0.6426 MB / 432.3 MB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1144/0.4524, allocations: 1.338 MB / 433.6 MB, free: 136.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.4526, allocations: 182.8 kB / 433.8 MB, free: 136.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000857/0.4535, allocations: 278.7 kB / 434.1 MB, free: 136.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007202/0.4607, allocations: 5.947 MB / 440 MB, free: 132.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.4607, allocations: 0 / 440 MB, free: 132.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000391/0.4611, allocations: 115.4 kB / 440.1 MB, free: 132.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.4611, allocations: 60.73 kB / 440.2 MB, free: 132.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008381/0.4695, allocations: 5.871 MB / 446.1 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.01587/0.4854, allocations: 7.335 MB / 453.4 MB, free: 125.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005444/0.4908, allocations: 4.775 MB / 458.2 MB, free: 120.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002656/0.4935, allocations: 2.24 MB / 460.4 MB, free: 118.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/0.4939, allocations: 146.9 kB / 460.6 MB, free: 118.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/0.494, allocations: 94.62 kB / 460.7 MB, free: 118.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 6.162e-06/0.494, allocations: 0 / 460.7 MB, free: 118.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.007909/0.5019, allocations: 5.918 MB / 466.6 MB, free: 112.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.5019, allocations: 90.47 kB / 466.7 MB, free: 112.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/0.5025, allocations: 0.645 MB / 467.3 MB, free: 111.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003674/0.5029, allocations: 101.7 kB / 467.4 MB, free: 111.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.5031, allocations: 0.5451 MB / 468 MB, free: 110.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007372/0.5039, allocations: 1.356 MB / 469.3 MB, free: 109.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007716/0.5046, allocations: 0.6216 MB / 469.9 MB, free: 109.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.479e-05/0.5047, allocations: 341.9 kB / 470.3 MB, free: 108.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/0.5069, allocations: 1.739 MB / 472 MB, free: 107 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.5095, allocations: 2.266 MB / 474.3 MB, free: 104.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005142/0.5146, allocations: 4.331 MB / 478.6 MB, free: 100.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.5146, allocations: 3.469 kB / 478.6 MB, free: 100.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006317/0.5209, allocations: 4.719 MB / 483.3 MB, free: 95.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.521, allocations: 12.59 kB / 483.3 MB, free: 95.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.521, allocations: 12 kB / 483.4 MB, free: 95.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.004e-05/0.521, allocations: 28.75 kB / 483.4 MB, free: 95.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.5245, allocations: 0.7873 MB / 484.2 MB, free: 94.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/0.5246, allocations: 39.81 kB / 484.2 MB, free: 94.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.5267, allocations: 345.8 kB / 484.5 MB, free: 94.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.5269, allocations: 143.9 kB / 484.7 MB, free: 94.01 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.001164/0.5281, allocations: 0.7582 MB / 485.4 MB, free: 93.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006809/0.5288, allocations: 318.9 kB / 485.8 MB, free: 92.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007465/0.5362, allocations: 5.161 MB / 490.9 MB, free: 87.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.5363, allocations: 47.06 kB / 491 MB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.5363, allocations: 0 / 491 MB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/0.5363, allocations: 23.86 kB / 491 MB, free: 87.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.5395, allocations: 2.204 MB / 493.2 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.5395, allocations: 0 / 493.2 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/0.5429, allocations: 0.7294 MB / 493.9 MB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.993e-05/0.543, allocations: 15.94 kB / 493.9 MB, free: 84.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/0.5433, allocations: 91.97 kB / 494 MB, free: 84.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/0.5433, allocations: 12 kB / 494 MB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5433, allocations: 4 kB / 494 MB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008925/0.5522, allocations: 7.34 MB / 0.4896 GB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.5526, allocations: 225.9 kB / 0.4898 GB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.5529, allocations: 83.88 kB / 0.4899 GB, free: 77.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/0.5556, allocations: 227.8 kB / 0.4901 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005697/0.5562, allocations: 322.8 kB / 0.4904 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003372/0.5565, allocations: 183.9 kB / 0.4906 GB, free: 76.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004827/0.557, allocations: 0.5026 MB / 0.4911 GB, free: 75.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.557, allocations: 0 / 0.4911 GB, free: 75.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002014/0.559, allocations: 1.112 MB / 0.4922 GB, free: 74.68 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.0008819/0.5599, allocations: 469.4 kB / 0.4926 GB, free: 74.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005148/0.5651, allocations: 4.121 MB / 0.4967 GB, free: 70.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.5651, allocations: 5 kB / 0.4967 GB, free: 70.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.5675, allocations: 2.103 MB / 0.4987 GB, free: 67.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/0.5715, allocations: 1.111 MB / 0.4998 GB, free: 66.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008855/0.5803, allocations: 6.337 MB / 0.506 GB, free: 60.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/0.5811, allocations: 1.259 MB / 0.5072 GB, free: 59.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00391/0.5851, allocations: 1.75 MB / 0.5089 GB, free: 57.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009579/0.586, allocations: 288.4 kB / 0.5092 GB, free: 57.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.586, allocations: 0 / 0.5092 GB, free: 57.16 MB / 378.7 MB Notification: Performance of Templates: time 0.161/0.747, allocations: 58.82 MB / 0.5667 GB, free: 127.5 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.65667165000923]