Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 156.8 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.669e-05, allocations: 3.469 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1675/0.1676, allocations: 130.6 MB / 449.6 MB, free: 8.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1689, allocations: 0.6671 MB / 450.2 MB, free: 7.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1691, allocations: 4 kB / 450.2 MB, free: 7.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.1695, allocations: 75.45 kB / 450.3 MB, free: 7.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007186/0.1702, allocations: 306.3 kB / 450.6 MB, free: 7.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.1737, allocations: 1.151 MB / 451.7 MB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006061/0.1798, allocations: 5.679 MB / 457.4 MB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.1801, allocations: 100.2 kB / 457.5 MB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006485/0.1866, allocations: 2.956 MB / 460.5 MB, free: 13.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004307/0.1909, allocations: 2.101 MB / 462.6 MB, free: 11.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.192, allocations: 240 kB / 462.8 MB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.1962, allocations: 1.493 MB / 464.3 MB, free: 9.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.198, allocations: 1.27 MB / 465.6 MB, free: 8.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.2004, allocations: 1.267 MB / 466.8 MB, free: 7.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007395/0.2078, allocations: 4.941 MB / 471.8 MB, free: 2.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2078, allocations: 0 / 471.8 MB, free: 2.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2078, allocations: 3.938 kB / 471.8 MB, free: 2.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001139/0.208, allocations: 0 / 471.8 MB, free: 2.266 MB / 430.1 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.1557/0.3637, allocations: 3.451 MB / 475.2 MB, free: 144 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3637, allocations: 11.08 kB / 475.3 MB, free: 144 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.3657, allocations: 335 kB / 475.6 MB, free: 143.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.3683, allocations: 1.33 MB / 476.9 MB, free: 143.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3685, allocations: 183.1 kB / 477.1 MB, free: 143.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/0.3689, allocations: 244.1 kB / 477.3 MB, free: 143.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007233/0.3761, allocations: 5.945 MB / 483.3 MB, free: 139.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.3761, allocations: 0.5938 kB / 483.3 MB, free: 139.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003896/0.3765, allocations: 115.7 kB / 483.4 MB, free: 139.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.3766, allocations: 57.88 kB / 483.4 MB, free: 139.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009349/0.3859, allocations: 5.883 MB / 489.3 MB, free: 137.9 MB / 430.1 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.01738/0.4033, allocations: 7.3 MB / 496.6 MB, free: 133.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005353/0.4086, allocations: 4.772 MB / 0.4896 GB, free: 128.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002609/0.4113, allocations: 2.24 MB / 0.4918 GB, free: 126.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003673/0.4116, allocations: 111 kB / 0.4919 GB, free: 126.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.4117, allocations: 94.62 kB / 0.492 GB, free: 126.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 6.422e-06/0.4117, allocations: 0 / 0.492 GB, free: 126.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.007914/0.4196, allocations: 5.805 MB / 0.4977 GB, free: 120.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4196, allocations: 94.45 kB / 0.4978 GB, free: 120.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.4202, allocations: 0.64 MB / 0.4984 GB, free: 119.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003119/0.4205, allocations: 101.7 kB / 0.4985 GB, free: 119.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.4207, allocations: 0.5486 MB / 0.499 GB, free: 119 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006282/0.4214, allocations: 1.358 MB / 0.5004 GB, free: 117.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007808/0.4222, allocations: 0.6255 MB / 0.501 GB, free: 117.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.4222, allocations: 337.9 kB / 0.5013 GB, free: 116.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.4245, allocations: 1.742 MB / 0.503 GB, free: 115 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.427, allocations: 2.262 MB / 0.5052 GB, free: 112.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/0.4323, allocations: 4.326 MB / 0.5094 GB, free: 108.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.4323, allocations: 7.875 kB / 0.5094 GB, free: 108.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006201/0.4385, allocations: 4.571 MB / 0.5139 GB, free: 103.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4385, allocations: 12.94 kB / 0.5139 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4385, allocations: 12 kB / 0.5139 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/0.4386, allocations: 27.94 kB / 0.514 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/0.4421, allocations: 0.7918 MB / 0.5147 GB, free: 102.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-05/0.4421, allocations: 35.92 kB / 0.5148 GB, free: 102.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.4443, allocations: 341.8 kB / 0.5151 GB, free: 102.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.4445, allocations: 147.9 kB / 0.5152 GB, free: 102.1 MB / 430.1 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.001173/0.4457, allocations: 0.7543 MB / 0.516 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/0.4462, allocations: 202.9 kB / 0.5162 GB, free: 101.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007485/0.4537, allocations: 5.155 MB / 0.5212 GB, free: 95.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.4537, allocations: 43.94 kB / 0.5212 GB, free: 95.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4537, allocations: 0 / 0.5212 GB, free: 95.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/0.4538, allocations: 19.92 kB / 0.5213 GB, free: 95.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.457, allocations: 2.211 MB / 0.5234 GB, free: 93.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.457, allocations: 0 / 0.5234 GB, free: 93.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/0.4604, allocations: 0.7294 MB / 0.5241 GB, free: 92.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.257e-05/0.4604, allocations: 16 kB / 0.5241 GB, free: 92.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/0.4606, allocations: 83.97 kB / 0.5242 GB, free: 92.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/0.4606, allocations: 16 kB / 0.5242 GB, free: 92.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4606, allocations: 3.938 kB / 0.5242 GB, free: 92.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009032/0.4697, allocations: 7.211 MB / 0.5313 GB, free: 85.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.4701, allocations: 233.8 kB / 0.5315 GB, free: 85.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/0.4704, allocations: 83.88 kB / 0.5316 GB, free: 85.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/0.4733, allocations: 219.8 kB / 0.5318 GB, free: 85.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005566/0.4739, allocations: 334.7 kB / 0.5321 GB, free: 84.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003437/0.4742, allocations: 179.9 kB / 0.5323 GB, free: 84.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004991/0.4747, allocations: 0.4987 MB / 0.5328 GB, free: 84.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4747, allocations: 4 kB / 0.5328 GB, free: 84.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001974/0.4767, allocations: 1.104 MB / 0.5339 GB, free: 82.93 MB / 430.1 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.001031/0.4777, allocations: 464.8 kB / 0.5343 GB, free: 82.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.4831, allocations: 4.114 MB / 0.5383 GB, free: 78.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.4831, allocations: 13.06 kB / 0.5383 GB, free: 78.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002571/0.4857, allocations: 2.111 MB / 0.5404 GB, free: 76.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/0.4903, allocations: 1.03 MB / 0.5414 GB, free: 75.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/0.5001, allocations: 6.309 MB / 0.5476 GB, free: 68.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/0.501, allocations: 1.271 MB / 0.5488 GB, free: 67.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004067/0.505, allocations: 1.73 MB / 0.5505 GB, free: 65.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.5061, allocations: 280.4 kB / 0.5508 GB, free: 65.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5061, allocations: 4 kB / 0.5508 GB, free: 65.53 MB / 430.1 MB Notification: Performance of Templates: time 0.0695/0.5756, allocations: 58.49 MB / 0.6079 GB, free: 7.738 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.7514775060117245]