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) 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 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_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.001443/0.001443, allocations: 113.2 kB / 17.75 MB, free: 5.352 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.001649/0.001649, allocations: 186.5 kB / 18.68 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009742/0.0009742, allocations: 59.86 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2065, allocations: 49.42 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.145/0.3515, allocations: 151.8 MB / 0.5403 GB, free: 456 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2019/0.5534, allocations: 0.6964 MB / 0.541 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.5536, allocations: 4.438 kB / 0.541 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.554, allocations: 80.66 kB / 0.541 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.5547, allocations: 290.3 kB / 0.5413 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.5574, allocations: 1.124 MB / 0.5424 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003937/0.5614, allocations: 5.603 MB / 0.5479 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.5617, allocations: 258.8 kB / 0.5481 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.5647, allocations: 2.234 MB / 0.5503 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.5675, allocations: 1.968 MB / 0.5522 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006472/0.5682, allocations: 238.2 kB / 0.5525 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.5711, allocations: 1.732 MB / 0.5542 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.5722, allocations: 1.22 MB / 0.5553 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.5741, allocations: 1.567 MB / 0.5569 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.5776, allocations: 4.536 MB / 0.5613 GB, free: 1.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5776, allocations: 2.094 kB / 0.5613 GB, free: 1.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5776, allocations: 0.9375 kB / 0.5613 GB, free: 1.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.142e-05/0.5777, allocations: 0 / 0.5613 GB, free: 1.078 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.00777/0.5855, allocations: 3.484 MB / 0.5647 GB, free: 16.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5855, allocations: 11.03 kB / 0.5647 GB, free: 16.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.5873, allocations: 326.5 kB / 0.565 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.59, allocations: 1.344 MB / 0.5663 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/0.5901, allocations: 183.7 kB / 0.5665 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/0.5904, allocations: 236.5 kB / 0.5667 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005195/0.5956, allocations: 3.821 MB / 0.5705 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.5957, allocations: 2.031 kB / 0.5705 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.596, allocations: 114 kB / 0.5706 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.5961, allocations: 59.12 kB / 0.5706 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007205/0.6033, allocations: 5.984 MB / 0.5765 GB, free: 15.4 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.01852/0.6218, allocations: 11.2 MB / 0.5874 GB, free: 7.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006301/0.6281, allocations: 5.044 MB / 0.5924 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/0.6313, allocations: 2.404 MB / 0.5947 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.6318, allocations: 441.2 kB / 0.5951 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.6319, allocations: 97.84 kB / 0.5952 GB, free: 1.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.29e-06/0.6319, allocations: 0 / 0.5952 GB, free: 1.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009003/0.6409, allocations: 5.811 MB / 0.6009 GB, free: 13.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.6409, allocations: 95.53 kB / 0.601 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/0.6419, allocations: 0.8712 MB / 0.6018 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003089/0.6423, allocations: 106.6 kB / 0.6019 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.6426, allocations: 0.5215 MB / 0.6024 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009278/0.6435, allocations: 1.303 MB / 0.6037 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000933/0.6445, allocations: 0.6293 MB / 0.6043 GB, free: 9.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6446, allocations: 358.5 kB / 0.6047 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.6473, allocations: 1.741 MB / 0.6064 GB, free: 7.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.6505, allocations: 2.263 MB / 0.6086 GB, free: 5.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/0.6568, allocations: 4.329 MB / 0.6128 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.6568, allocations: 4 kB / 0.6128 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007543/0.6643, allocations: 4.587 MB / 0.6173 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6644, allocations: 8 kB / 0.6173 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.6644, allocations: 12.75 kB / 0.6173 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/0.6644, allocations: 28 kB / 0.6173 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/0.6682, allocations: 0.7928 MB / 0.6181 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-05/0.6683, allocations: 34.19 kB / 0.6181 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.6707, allocations: 366.1 kB / 0.6185 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003153/0.671, allocations: 143.9 kB / 0.6186 GB, free: 10.9 MB / 0.4981 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.001371/0.6724, allocations: 0.7603 MB / 0.6194 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006261/0.673, allocations: 205.8 kB / 0.6196 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009114/0.6821, allocations: 5.164 MB / 0.6246 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-05/0.6822, allocations: 23.92 kB / 0.6246 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.6822, allocations: 0.5312 kB / 0.6246 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.6827, allocations: 318.8 kB / 0.6249 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/0.6831, allocations: 79.84 kB / 0.625 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003054/0.6861, allocations: 230.2 kB / 0.6252 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006213/0.6868, allocations: 310.9 kB / 0.6255 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008294/0.6951, allocations: 4.604 MB / 0.63 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01085/0.7059, allocations: 7.423 MB / 0.6373 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002924/0.7089, allocations: 2.132 MB / 0.6394 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009067/0.7098, allocations: 0.6794 MB / 0.64 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of Backend: time 3.91e-07/0.7098, allocations: 0 / 0.64 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006674/0.7165, allocations: 3.041 MB / 0.643 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of SimCode: time 0.007651/0.7242, allocations: 5.225 MB / 0.6481 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.08624/0.8104, allocations: 61.48 MB / 0.7081 GB, free: 15.86 MB / 0.5919 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches