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.001337/0.001337, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.003056, allocations: 449.8 kB / 10.44 MB, free: 252 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.00127/0.00127, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002637, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9027/0.9027, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.006, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.082e-06/1.082e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.945e-06/9.027e-06, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2195/0.2195, allocations: 147.6 MB / 392.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.2204, allocations: 0.7094 MB / 393 MB, free: 4.789 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.2205, allocations: 7.938 kB / 393 MB, free: 4.781 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.2207, allocations: 78.33 kB / 393.1 MB, free: 4.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.2211, allocations: 301.1 kB / 393.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.223, allocations: 1.088 MB / 394.4 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003226/0.2262, allocations: 5.715 MB / 400.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.2265, allocations: 116.1 kB / 400.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/0.2299, allocations: 3.165 MB / 403.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.2323, allocations: 1.969 MB / 405.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007347/0.233, allocations: 239.9 kB / 405.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.2355, allocations: 1.579 MB / 407.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007645/0.2363, allocations: 0.9395 MB / 408.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.2374, allocations: 0.8933 MB / 409.1 MB, free: 4.664 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.2405, allocations: 3.425 MB / 412.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.2405, allocations: 4 kB / 412.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2405, allocations: 0 / 412.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.297e-05/0.2406, allocations: 0 / 412.5 MB, free: 1.227 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.004533/0.2451, allocations: 3.632 MB / 416.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.2451, allocations: 8.031 kB / 416.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.2465, allocations: 0.6839 MB / 416.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.2475, allocations: 0.7786 MB / 417.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.2476, allocations: 184.9 kB / 417.8 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.248, allocations: 280 kB / 418 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.2504, allocations: 4.043 MB / 422.1 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.2505, allocations: 0 / 422.1 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.2507, allocations: 116 kB / 422.2 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.2507, allocations: 63.94 kB / 422.3 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.2528, allocations: 1.847 MB / 424.1 MB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006715/0.2595, allocations: 4.349 MB / 428.5 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1395/0.399, allocations: 2.535 MB / 431 MB, free: 31.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.4002, allocations: 0.7609 MB / 431.7 MB, free: 31.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/0.4006, allocations: 137.6 kB / 431.9 MB, free: 31.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.391e-05/0.4007, allocations: 94.38 kB / 432 MB, free: 31.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 5.941e-06/0.4007, allocations: 1.25 kB / 432 MB, free: 31.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.003126/0.4038, allocations: 1.809 MB / 433.8 MB, free: 31.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.4039, allocations: 94.59 kB / 433.9 MB, free: 31.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.4042, allocations: 474 kB / 434.3 MB, free: 31.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002107/0.4045, allocations: 104 kB / 434.4 MB, free: 31.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.4047, allocations: 0.506 MB / 434.9 MB, free: 31.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006289/0.4053, allocations: 1.354 MB / 436.3 MB, free: 30.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000622/0.4059, allocations: 0.5623 MB / 436.9 MB, free: 30.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.406, allocations: 338.5 kB / 437.2 MB, free: 30.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.4066, allocations: 496.5 kB / 437.7 MB, free: 30.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/0.4073, allocations: 0.8981 MB / 438.6 MB, free: 29.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.4089, allocations: 1.782 MB / 440.4 MB, free: 29.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.4089, allocations: 5.031 kB / 440.4 MB, free: 29.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001927/0.4108, allocations: 1.756 MB / 442.1 MB, free: 29.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4109, allocations: 9.781 kB / 442.1 MB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.4109, allocations: 11.47 kB / 442.1 MB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.4109, allocations: 28.09 kB / 442.2 MB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.4128, allocations: 0.8723 MB / 443 MB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.4128, allocations: 32.91 kB / 443.1 MB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/0.4137, allocations: 295 kB / 443.4 MB, free: 28.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.4139, allocations: 106.2 kB / 443.5 MB, free: 28.98 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.0005221/0.4144, allocations: 334.5 kB / 443.8 MB, free: 28.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.4148, allocations: 272.3 kB / 444.1 MB, free: 28.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.4173, allocations: 2.248 MB / 446.3 MB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.4173, allocations: 40.72 kB / 446.3 MB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4173, allocations: 5.609 kB / 446.4 MB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.4173, allocations: 23.17 kB / 446.4 MB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.419, allocations: 1.255 MB / 447.6 MB, free: 28.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.419, allocations: 0 / 447.6 MB, free: 28.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.4207, allocations: 0.7827 MB / 448.4 MB, free: 28.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4209, allocations: 224.3 kB / 448.6 MB, free: 28.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.4209, allocations: 15 kB / 448.6 MB, free: 28.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.421, allocations: 83.7 kB / 448.7 MB, free: 28.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.421, allocations: 15.12 kB / 448.7 MB, free: 28.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.421, allocations: 0 / 448.7 MB, free: 28.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.4236, allocations: 2.53 MB / 451.3 MB, free: 27.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.4238, allocations: 80.73 kB / 451.3 MB, free: 27.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009913/0.4247, allocations: 173.1 kB / 451.5 MB, free: 27.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/0.4251, allocations: 265.4 kB / 451.8 MB, free: 27.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.4252, allocations: 132.2 kB / 451.9 MB, free: 27.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.4254, allocations: 233.5 kB / 452.1 MB, free: 27.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4254, allocations: 0 / 452.1 MB, free: 27.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001369/0.4268, allocations: 1.152 MB / 453.3 MB, free: 27.8 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.0007221/0.4275, allocations: 493.9 kB / 453.8 MB, free: 27.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.4291, allocations: 1.688 MB / 455.5 MB, free: 27.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.232e-05/0.4292, allocations: 60.62 kB / 455.5 MB, free: 27.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.4302, allocations: 1.252 MB / 456.8 MB, free: 27.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.4326, allocations: 1.978 MB / 458.7 MB, free: 26.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.4471, allocations: 4.577 MB / 463.3 MB, free: 25.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4474, allocations: 0.5731 MB / 463.9 MB, free: 25.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001856/0.4493, allocations: 0.5869 MB / 464.5 MB, free: 25.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/0.452, allocations: 1.189 MB / 465.7 MB, free: 25.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.452, allocations: 0 / 465.7 MB, free: 25.17 MB / 394.7 MB Notification: Performance of Templates: time 0.05376/0.5058, allocations: 69.06 MB / 0.5222 GB, free: 10.48 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.868927387520671]