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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 110.5 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 183.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 47.94 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08134/0.08247, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3127/0.3952, allocations: 153.1 MB / 0.5159 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3967, allocations: 0.9605 MB / 0.5168 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.308e-05/0.3968, allocations: 0 / 0.5168 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.3972, allocations: 83.42 kB / 0.5169 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.3978, allocations: 298.6 kB / 0.5172 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.4011, allocations: 1.313 MB / 0.5185 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00454/0.4056, allocations: 5.597 MB / 0.5239 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.4059, allocations: 263.5 kB / 0.5242 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.4087, allocations: 2.234 MB / 0.5264 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.4114, allocations: 1.971 MB / 0.5283 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.4119, allocations: 240 kB / 0.5285 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.4153, allocations: 1.927 MB / 0.5304 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.4166, allocations: 1.228 MB / 0.5316 GB, free: 5.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.4185, allocations: 1.565 MB / 0.5331 GB, free: 4.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.4234, allocations: 4.632 MB / 0.5376 GB, free: 15.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4234, allocations: 0 / 0.5376 GB, free: 15.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4234, allocations: 0 / 0.5376 GB, free: 15.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.884e-05/0.4234, allocations: 0 / 0.5376 GB, free: 15.61 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.008464/0.4319, allocations: 3.515 MB / 0.5411 GB, free: 12.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.432, allocations: 8.031 kB / 0.5411 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.4338, allocations: 322.2 kB / 0.5414 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.4362, allocations: 1.343 MB / 0.5427 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4364, allocations: 176.9 kB / 0.5429 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004253/0.4368, allocations: 247.9 kB / 0.5431 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006172/0.443, allocations: 3.827 MB / 0.5468 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/0.443, allocations: 0 / 0.5468 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003562/0.4434, allocations: 108 kB / 0.5469 GB, free: 5.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.4435, allocations: 60 kB / 0.547 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1859/0.6294, allocations: 5.984 MB / 0.5528 GB, free: 164.9 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.02114/0.6506, allocations: 11.21 MB / 0.5638 GB, free: 159.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007389/0.658, allocations: 5.034 MB / 0.5687 GB, free: 157.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00379/0.6618, allocations: 2.405 MB / 0.5711 GB, free: 157 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005854/0.6624, allocations: 447.7 kB / 0.5715 GB, free: 156.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.574e-05/0.6625, allocations: 98.56 kB / 0.5716 GB, free: 156.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.771e-06/0.6625, allocations: 0 / 0.5716 GB, free: 156.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009436/0.672, allocations: 5.807 MB / 0.5772 GB, free: 154.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.6721, allocations: 98.09 kB / 0.5773 GB, free: 154.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.6731, allocations: 0.8766 MB / 0.5782 GB, free: 153.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003808/0.6735, allocations: 101.2 kB / 0.5783 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.6737, allocations: 0.5133 MB / 0.5788 GB, free: 153.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007043/0.6745, allocations: 1.306 MB / 0.5801 GB, free: 152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000751/0.6752, allocations: 0.6267 MB / 0.5807 GB, free: 151.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.6753, allocations: 355.8 kB / 0.581 GB, free: 151.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.6776, allocations: 1.743 MB / 0.5827 GB, free: 150.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/0.6801, allocations: 2.253 MB / 0.5849 GB, free: 149.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/0.6851, allocations: 4.34 MB / 0.5892 GB, free: 145.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.6852, allocations: 5.969 kB / 0.5892 GB, free: 145.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005991/0.6912, allocations: 4.585 MB / 0.5936 GB, free: 140.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.6912, allocations: 11.94 kB / 0.5937 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.6912, allocations: 15.98 kB / 0.5937 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.195e-05/0.6913, allocations: 28 kB / 0.5937 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/0.6946, allocations: 0.7891 MB / 0.5945 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-05/0.6947, allocations: 35.86 kB / 0.5945 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.6968, allocations: 356.7 kB / 0.5948 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.6971, allocations: 147.9 kB / 0.595 GB, free: 139.4 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.001451/0.6986, allocations: 0.759 MB / 0.5957 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005757/0.6992, allocations: 213.7 kB / 0.5959 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00743/0.7066, allocations: 5.17 MB / 0.601 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.7066, allocations: 40 kB / 0.601 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.7067, allocations: 1.312 kB / 0.601 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/0.7067, allocations: 19.92 kB / 0.601 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/0.7102, allocations: 2.826 MB / 0.6038 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.7102, allocations: 0 / 0.6038 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/0.7134, allocations: 0.7332 MB / 0.6045 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-05/0.7134, allocations: 16 kB / 0.6045 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/0.7136, allocations: 95.95 kB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.7136, allocations: 16 kB / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7136, allocations: 0 / 0.6046 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008499/0.7221, allocations: 7.21 MB / 0.6117 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.7226, allocations: 318.9 kB / 0.612 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/0.7229, allocations: 87.83 kB / 0.6121 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/0.7256, allocations: 223.6 kB / 0.6123 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/0.7262, allocations: 318.9 kB / 0.6126 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003297/0.7265, allocations: 175.9 kB / 0.6128 GB, free: 121.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006523/0.7272, allocations: 0.6824 MB / 0.6134 GB, free: 120.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7272, allocations: 0 / 0.6134 GB, free: 120.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001989/0.7292, allocations: 1.084 MB / 0.6145 GB, free: 119.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.0009973/0.7302, allocations: 476.2 kB / 0.6149 GB, free: 118.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005888/0.7361, allocations: 4.297 MB / 0.6191 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.7361, allocations: 9.75 kB / 0.6191 GB, free: 114.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.7388, allocations: 2.267 MB / 0.6213 GB, free: 112.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/0.7441, allocations: 1.246 MB / 0.6226 GB, free: 111.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009819/0.754, allocations: 6.648 MB / 0.6291 GB, free: 104.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/0.7549, allocations: 1.845 MB / 0.6309 GB, free: 102.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004235/0.7591, allocations: 1.775 MB / 0.6326 GB, free: 100.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000967/0.7601, allocations: 291.3 kB / 0.6329 GB, free: 100.4 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7601, allocations: 0 / 0.6329 GB, free: 100.4 MB / 478.1 MB Notification: Performance of Templates: time 0.07082/0.831, allocations: 64.58 MB / 0.6959 GB, free: 35.72 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (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) 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) Reference file matches