Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001987/0.001987, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002424/0.002424, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 59.86 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2462, allocations: 49.15 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1654/0.4116, allocations: 131.7 MB / 0.5162 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.4134, allocations: 0.8905 MB / 0.5171 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.4135, allocations: 4 kB / 0.5171 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.4139, allocations: 75.52 kB / 0.5171 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007547/0.4147, allocations: 294.6 kB / 0.5174 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.4186, allocations: 1.33 MB / 0.5187 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.4243, allocations: 5.645 MB / 0.5242 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.4245, allocations: 100.2 kB / 0.5243 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.4285, allocations: 2.308 MB / 0.5266 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004299/0.4328, allocations: 2.205 MB / 0.5287 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001414/0.4342, allocations: 236 kB / 0.529 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004995/0.4392, allocations: 1.669 MB / 0.5306 GB, free: 200 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00236/0.4416, allocations: 1.239 MB / 0.5318 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.4449, allocations: 1.41 MB / 0.5332 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007203/0.4521, allocations: 4.626 MB / 0.5377 GB, free: 8.898 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4521, allocations: 0 / 0.5377 GB, free: 8.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4521, allocations: 0 / 0.5377 GB, free: 8.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001178/0.4522, allocations: 0 / 0.5377 GB, free: 8.898 MB / 462.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.01056/0.4628, allocations: 3.493 MB / 0.5411 GB, free: 5.355 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4628, allocations: 15.97 kB / 0.5411 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.4651, allocations: 335.4 kB / 0.5414 GB, free: 5.012 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.4684, allocations: 1.34 MB / 0.5427 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.4686, allocations: 180.9 kB / 0.5429 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006253/0.4692, allocations: 240 kB / 0.5431 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008604/0.4778, allocations: 5.947 MB / 0.549 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.496e-05/0.4779, allocations: 0 / 0.549 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004835/0.4784, allocations: 112 kB / 0.5491 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.4784, allocations: 56 kB / 0.5491 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009852/0.4883, allocations: 5.877 MB / 0.5549 GB, free: 6.656 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.1943/0.6826, allocations: 7.305 MB / 0.562 GB, free: 158.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007884/0.6905, allocations: 4.776 MB / 0.5666 GB, free: 157.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003585/0.694, allocations: 2.238 MB / 0.5688 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/0.6945, allocations: 111.8 kB / 0.5689 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.6946, allocations: 94.25 kB / 0.569 GB, free: 156.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 7.394e-06/0.6946, allocations: 4.938 kB / 0.569 GB, free: 156.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009504/0.7041, allocations: 5.799 MB / 0.5747 GB, free: 154.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.7042, allocations: 90.41 kB / 0.5748 GB, free: 154.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/0.7049, allocations: 0.6416 MB / 0.5754 GB, free: 154.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004082/0.7053, allocations: 105.6 kB / 0.5755 GB, free: 154.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.7055, allocations: 0.5446 MB / 0.576 GB, free: 154.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007808/0.7063, allocations: 1.376 MB / 0.5774 GB, free: 153.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008049/0.7071, allocations: 0.6237 MB / 0.578 GB, free: 152.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.7072, allocations: 336.5 kB / 0.5783 GB, free: 152.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.7096, allocations: 1.741 MB / 0.58 GB, free: 151.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.712, allocations: 2.264 MB / 0.5822 GB, free: 150.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004915/0.717, allocations: 4.327 MB / 0.5865 GB, free: 148 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.717, allocations: 3.656 kB / 0.5865 GB, free: 148 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005856/0.7228, allocations: 4.58 MB / 0.5909 GB, free: 143.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.7229, allocations: 11.09 kB / 0.5909 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.7229, allocations: 12 kB / 0.591 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.7229, allocations: 28 kB / 0.591 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.7262, allocations: 0.7865 MB / 0.5917 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.633e-05/0.7262, allocations: 36.88 kB / 0.5918 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.7283, allocations: 345.2 kB / 0.5921 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.7285, allocations: 143.9 kB / 0.5922 GB, free: 142.3 MB / 478.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.001183/0.7297, allocations: 0.762 MB / 0.593 GB, free: 141.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.7302, allocations: 198.9 kB / 0.5932 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00716/0.7374, allocations: 5.162 MB / 0.5982 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.7374, allocations: 44.77 kB / 0.5983 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.7374, allocations: 7.734 kB / 0.5983 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/0.7374, allocations: 19.92 kB / 0.5983 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.7407, allocations: 2.202 MB / 0.6004 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.7407, allocations: 0 / 0.6004 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/0.7439, allocations: 0.7287 MB / 0.6012 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.161e-05/0.7439, allocations: 16 kB / 0.6012 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/0.7441, allocations: 91.97 kB / 0.6013 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.7441, allocations: 16.97 kB / 0.6013 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7441, allocations: 3.938 kB / 0.6013 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008563/0.7527, allocations: 7.202 MB / 0.6083 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.7531, allocations: 225.9 kB / 0.6085 GB, free: 125.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.7534, allocations: 87.88 kB / 0.6086 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/0.7562, allocations: 228.6 kB / 0.6088 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005063/0.7567, allocations: 333.5 kB / 0.6091 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004374/0.7571, allocations: 175.9 kB / 0.6093 GB, free: 124.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005172/0.7577, allocations: 0.5026 MB / 0.6098 GB, free: 124.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7577, allocations: 2.406 kB / 0.6098 GB, free: 124.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002279/0.7599, allocations: 1.104 MB / 0.6109 GB, free: 123.3 MB / 478.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.001121/0.7611, allocations: 474.2 kB / 0.6113 GB, free: 122.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005729/0.7668, allocations: 4.123 MB / 0.6154 GB, free: 118.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.7668, allocations: 5 kB / 0.6154 GB, free: 118.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002944/0.7697, allocations: 2.115 MB / 0.6174 GB, free: 116.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/0.7747, allocations: 1.03 MB / 0.6184 GB, free: 115.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.7852, allocations: 6.67 MB / 0.625 GB, free: 108.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009557/0.7862, allocations: 1.26 MB / 0.6262 GB, free: 107.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004812/0.791, allocations: 1.726 MB / 0.6279 GB, free: 105.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.7922, allocations: 287.3 kB / 0.6281 GB, free: 105.5 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7922, allocations: 0 / 0.6281 GB, free: 105.5 MB / 478.1 MB Notification: Performance of Templates: time 0.07074/0.8629, allocations: 62.9 MB / 0.6896 GB, free: 42.47 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.876523332670331]