Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.PsychrometricData") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002023/0.002023, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.4 MB / 251.1 MB, free: 8.426 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.83 kB / 368.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2355, allocations: 53.32 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3936/0.6291, allocations: 155.2 MB / 0.5639 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.63, allocations: 0.6913 MB / 0.5646 GB, free: 15 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.6301, allocations: 3.719 kB / 0.5646 GB, free: 15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.6305, allocations: 89.22 kB / 0.5647 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.631, allocations: 292 kB / 0.565 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.6338, allocations: 1.122 MB / 0.5661 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003773/0.6376, allocations: 5.616 MB / 0.5715 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.6378, allocations: 189.4 kB / 0.5717 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.6409, allocations: 2.267 MB / 0.5739 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.6438, allocations: 2.034 MB / 0.5759 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005809/0.6444, allocations: 246.5 kB / 0.5762 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003547/0.648, allocations: 1.813 MB / 0.5779 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.6491, allocations: 1.242 MB / 0.5791 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.6516, allocations: 1.562 MB / 0.5807 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005387/0.6569, allocations: 4.565 MB / 0.5851 GB, free: 13.39 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6569, allocations: 0 / 0.5851 GB, free: 13.39 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6569, allocations: 0 / 0.5851 GB, free: 13.39 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.517e-05/0.657, allocations: 4 kB / 0.5851 GB, free: 13.39 MB / 478.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.009135/0.6662, allocations: 3.557 MB / 0.5886 GB, free: 11.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.6662, allocations: 10.06 kB / 0.5886 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.6681, allocations: 339.3 kB / 0.5889 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.6707, allocations: 1.341 MB / 0.5902 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.6708, allocations: 183.9 kB / 0.5904 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/0.6712, allocations: 242.9 kB / 0.5907 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005856/0.677, allocations: 3.827 MB / 0.5944 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.6771, allocations: 3.984 kB / 0.5944 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003466/0.6774, allocations: 112.8 kB / 0.5945 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.6774, allocations: 62.5 kB / 0.5946 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008128/0.6856, allocations: 5.984 MB / 0.6004 GB, free: 7.105 MB / 478.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.02143/0.707, allocations: 11.23 MB / 0.6114 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007364/0.7144, allocations: 4.785 MB / 0.616 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/0.7179, allocations: 2.244 MB / 0.6182 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/0.7185, allocations: 441.5 kB / 0.6187 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.7186, allocations: 99.8 kB / 0.6188 GB, free: 3.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 4.9e-06/0.7186, allocations: 0 / 0.6188 GB, free: 3.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01007/0.7287, allocations: 5.825 MB / 0.6244 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.7288, allocations: 94.41 kB / 0.6245 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.73, allocations: 0.8752 MB / 0.6254 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000435/0.7304, allocations: 101.7 kB / 0.6255 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004897/0.7309, allocations: 0.5263 MB / 0.626 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/0.7325, allocations: 1.373 MB / 0.6273 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.7335, allocations: 0.6294 MB / 0.628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.7337, allocations: 357.9 kB / 0.6283 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003025/0.7367, allocations: 1.744 MB / 0.63 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/0.7402, allocations: 2.262 MB / 0.6322 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006877/0.7471, allocations: 4.329 MB / 0.6364 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.7471, allocations: 0 / 0.6364 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007818/0.7549, allocations: 4.599 MB / 0.6409 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.7549, allocations: 15.98 kB / 0.6409 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.755, allocations: 12 kB / 0.6409 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.944e-05/0.755, allocations: 24 kB / 0.641 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/0.7587, allocations: 0.7918 MB / 0.6417 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.102e-05/0.7588, allocations: 35.92 kB / 0.6418 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.7611, allocations: 365.6 kB / 0.6421 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/0.7614, allocations: 147.9 kB / 0.6423 GB, free: 11.02 MB / 0.5137 GB 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.001542/0.763, allocations: 0.7582 MB / 0.643 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/0.7636, allocations: 218.8 kB / 0.6432 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0096/0.7732, allocations: 5.171 MB / 0.6483 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/0.7732, allocations: 43.94 kB / 0.6483 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.7732, allocations: 7.984 kB / 0.6483 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.254e-05/0.7733, allocations: 23.86 kB / 0.6483 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.7786, allocations: 2.821 MB / 0.6511 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.7786, allocations: 0 / 0.6511 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/0.7822, allocations: 0.7294 MB / 0.6518 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.814e-05/0.7822, allocations: 16 kB / 0.6518 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/0.7825, allocations: 95.95 kB / 0.6519 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.371e-05/0.7826, allocations: 19.94 kB / 0.6519 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7826, allocations: 0 / 0.6519 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/0.7949, allocations: 7.231 MB / 0.659 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/0.7956, allocations: 326.9 kB / 0.6593 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004515/0.796, allocations: 79.94 kB / 0.6594 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/0.7989, allocations: 227.7 kB / 0.6596 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/0.7996, allocations: 310.9 kB / 0.6599 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004136/0.8, allocations: 179.9 kB / 0.6601 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001023/0.8011, allocations: 0.6785 MB / 0.6607 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.8011, allocations: 0 / 0.6607 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002844/0.8039, allocations: 1.101 MB / 0.6618 GB, free: 6.945 MB / 0.5294 GB 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.001224/0.8051, allocations: 445.9 kB / 0.6622 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007285/0.8124, allocations: 4.125 MB / 0.6663 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.8124, allocations: 5 kB / 0.6663 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003466/0.8159, allocations: 2.111 MB / 0.6683 GB, free: 280 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/0.8217, allocations: 1.253 MB / 0.6695 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.8348, allocations: 6.708 MB / 0.6761 GB, free: 8.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.8363, allocations: 1.845 MB / 0.6779 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005477/0.8418, allocations: 1.775 MB / 0.6796 GB, free: 4.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.8429, allocations: 295.3 kB / 0.6799 GB, free: 4.332 MB / 0.545 GB Notification: Performance of SimCode: time 1.333e-06/0.8429, allocations: 0 / 0.6799 GB, free: 4.332 MB / 0.545 GB Notification: Performance of Templates: time 0.1063/0.9492, allocations: 65.45 MB / 0.7438 GB, free: 3.32 MB / 0.6075 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches