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.0006774/0.0006774, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009713/0.001649, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007028/0.0007028, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009051/0.001608, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8832/0.8832, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07464/0.9578, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.002e-06/1.002e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.901e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2226/0.2226, allocations: 147.6 MB / 392.1 MB, free: 5.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.2235, allocations: 0.7132 MB / 392.8 MB, free: 4.898 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.2236, allocations: 4 kB / 392.8 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.2238, allocations: 74.61 kB / 392.9 MB, free: 4.824 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.2242, allocations: 300.4 kB / 393.2 MB, free: 4.539 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.2261, allocations: 1.096 MB / 394.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.2295, allocations: 5.723 MB / 400 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.2297, allocations: 112.2 kB / 400.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.2328, allocations: 3.165 MB / 403.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.2347, allocations: 1.965 MB / 405.2 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.235, allocations: 236 kB / 405.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.2371, allocations: 1.587 MB / 407 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.2381, allocations: 0.9239 MB / 408 MB, free: 5.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009889/0.2391, allocations: 0.8933 MB / 408.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.242, allocations: 3.444 MB / 412.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.2421, allocations: 0 / 412.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2421, allocations: 0 / 412.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.2421, allocations: 0 / 412.3 MB, free: 1.332 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.003845/0.2459, allocations: 3.629 MB / 415.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.246, allocations: 8.031 kB / 415.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2471, allocations: 0.6839 MB / 416.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000931/0.248, allocations: 0.767 MB / 417.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.2481, allocations: 184.9 kB / 417.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.2484, allocations: 280 kB / 417.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.2511, allocations: 4.054 MB / 421.9 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.2511, allocations: 0 / 421.9 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.2513, allocations: 116 kB / 422 MB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.2514, allocations: 56 kB / 422.1 MB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.2534, allocations: 1.847 MB / 423.9 MB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006868/0.2603, allocations: 4.349 MB / 428.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1446/0.4049, allocations: 2.533 MB / 430.8 MB, free: 28.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.4061, allocations: 0.765 MB / 431.6 MB, free: 28.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.4064, allocations: 134.1 kB / 431.7 MB, free: 28.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.223e-05/0.4065, allocations: 94.17 kB / 431.8 MB, free: 28.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 5.65e-06/0.4065, allocations: 1.094 kB / 431.8 MB, free: 28.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.002958/0.4094, allocations: 1.808 MB / 433.6 MB, free: 28.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.4095, allocations: 94.8 kB / 433.7 MB, free: 28.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.4098, allocations: 478.7 kB / 434.2 MB, free: 28.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.41, allocations: 102.7 kB / 434.3 MB, free: 28.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.4102, allocations: 0.5083 MB / 434.8 MB, free: 28.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.4108, allocations: 1.356 MB / 436.1 MB, free: 27.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006164/0.4115, allocations: 0.5567 MB / 436.7 MB, free: 27.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.4115, allocations: 340.8 kB / 437 MB, free: 26.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.4122, allocations: 494.9 kB / 437.5 MB, free: 26.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/0.4129, allocations: 0.9019 MB / 438.4 MB, free: 26.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.4144, allocations: 1.75 MB / 440.1 MB, free: 25.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.4144, allocations: 4.531 kB / 440.1 MB, free: 25.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001893/0.4163, allocations: 1.752 MB / 441.9 MB, free: 25.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4163, allocations: 12.72 kB / 441.9 MB, free: 25.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4163, allocations: 11.72 kB / 441.9 MB, free: 25.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.4163, allocations: 30.73 kB / 442 MB, free: 25.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.4182, allocations: 0.8673 MB / 442.8 MB, free: 25.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.4182, allocations: 34.25 kB / 442.9 MB, free: 25.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.4191, allocations: 292.6 kB / 443.1 MB, free: 25.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.4193, allocations: 111.7 kB / 443.2 MB, free: 25.69 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.0004917/0.4198, allocations: 333.7 kB / 443.6 MB, free: 25.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.4201, allocations: 270.1 kB / 443.8 MB, free: 25.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.4224, allocations: 2.253 MB / 446.1 MB, free: 25.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.4225, allocations: 44.34 kB / 446.1 MB, free: 25.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4225, allocations: 0.7188 kB / 446.1 MB, free: 25.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.4225, allocations: 20.3 kB / 446.2 MB, free: 25.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.424, allocations: 1.256 MB / 447.4 MB, free: 25.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.424, allocations: 0 / 447.4 MB, free: 25.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.4256, allocations: 0.7822 MB / 448.2 MB, free: 25.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.4258, allocations: 227.5 kB / 448.4 MB, free: 24.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.4258, allocations: 12.91 kB / 448.4 MB, free: 24.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.4259, allocations: 84.94 kB / 448.5 MB, free: 24.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.467e-06/0.4259, allocations: 14.16 kB / 448.5 MB, free: 24.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4259, allocations: 5.062 kB / 448.5 MB, free: 24.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.4283, allocations: 2.522 MB / 451.1 MB, free: 24.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.4285, allocations: 83.27 kB / 451.1 MB, free: 24.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/0.4294, allocations: 169.7 kB / 451.3 MB, free: 24.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.4297, allocations: 268 kB / 451.6 MB, free: 24.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/0.4299, allocations: 138 kB / 451.7 MB, free: 24.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.43, allocations: 238.2 kB / 451.9 MB, free: 24.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.43, allocations: 0.8125 kB / 451.9 MB, free: 24.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001316/0.4313, allocations: 1.147 MB / 453.1 MB, free: 24.5 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.0006663/0.432, allocations: 489.2 kB / 453.6 MB, free: 24.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4335, allocations: 1.643 MB / 455.2 MB, free: 24.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.321e-05/0.4336, allocations: 64.67 kB / 455.3 MB, free: 24.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008177/0.4344, allocations: 0.9888 MB / 456.2 MB, free: 24.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.4366, allocations: 1.444 MB / 457.7 MB, free: 24.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.4512, allocations: 4.576 MB / 462.3 MB, free: 22.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.4516, allocations: 0.5778 MB / 462.8 MB, free: 22.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001575/0.4531, allocations: 0.5858 MB / 463.4 MB, free: 22.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/0.4557, allocations: 1.185 MB / 464.6 MB, free: 22.38 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4557, allocations: 1 kB / 464.6 MB, free: 22.38 MB / 394.7 MB Notification: Performance of Templates: time 0.05548/0.5112, allocations: 68.6 MB / 0.5207 GB, free: 9.531 MB / 442.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 -ignoreHideResult -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: 4.9745711628347635]