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.000764/0.0007639, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008566/0.0008567, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.292/1.292, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 11.94 kB / 301.4 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08623, allocations: 50.41 MB / 351.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3/0.3862, allocations: 147.8 MB / 499.6 MB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3875, allocations: 0.7068 MB / 0.4886 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3876, allocations: 7.938 kB / 0.4886 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.3879, allocations: 70.5 kB / 0.4886 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005571/0.3885, allocations: 277 kB / 0.4889 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.391, allocations: 0.9541 MB / 0.4898 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005874/0.3969, allocations: 7.153 MB / 0.4968 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.3972, allocations: 261.4 kB / 0.4971 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.3998, allocations: 1.897 MB / 0.4989 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.4023, allocations: 1.967 MB / 0.5008 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003662/0.4027, allocations: 140 kB / 0.501 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.4057, allocations: 1.685 MB / 0.5026 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.4068, allocations: 1.083 MB / 0.5037 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.4086, allocations: 1.433 MB / 0.5051 GB, free: 20 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004705/0.4134, allocations: 4.382 MB / 0.5093 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4134, allocations: 0 / 0.5093 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4134, allocations: 1.5 kB / 0.5094 GB, free: 11.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.4135, allocations: 4 kB / 0.5094 GB, free: 11.62 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.007733/0.4212, allocations: 2.887 MB / 0.5122 GB, free: 8.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4212, allocations: 8.031 kB / 0.5122 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.4231, allocations: 327 kB / 0.5125 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.4254, allocations: 1.319 MB / 0.5138 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.4256, allocations: 184.9 kB / 0.514 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004094/0.426, allocations: 243.9 kB / 0.5142 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006058/0.432, allocations: 3.827 MB / 0.5179 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.4321, allocations: 3.688 kB / 0.5179 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/0.4325, allocations: 116 kB / 0.518 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.4325, allocations: 56 kB / 0.5181 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1586/0.5911, allocations: 5.979 MB / 0.5239 GB, free: 147.4 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.01778/0.6089, allocations: 11.19 MB / 0.5349 GB, free: 141.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.6152, allocations: 5.047 MB / 0.5398 GB, free: 138.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.6181, allocations: 2.409 MB / 0.5421 GB, free: 137.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.6185, allocations: 439.5 kB / 0.5426 GB, free: 137.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/0.6186, allocations: 96.72 kB / 0.5427 GB, free: 137.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.55e-06/0.6186, allocations: 3.719 kB / 0.5427 GB, free: 137.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.007616/0.6263, allocations: 5.814 MB / 0.5483 GB, free: 133.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.6263, allocations: 90.47 kB / 0.5484 GB, free: 133.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.6271, allocations: 0.8673 MB / 0.5493 GB, free: 132.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003177/0.6275, allocations: 109.6 kB / 0.5494 GB, free: 132.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.6277, allocations: 0.5181 MB / 0.5499 GB, free: 131.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/0.6284, allocations: 1.302 MB / 0.5511 GB, free: 130.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.6287, allocations: 285.2 kB / 0.5514 GB, free: 130.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.6288, allocations: 357.4 kB / 0.5518 GB, free: 129.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.631, allocations: 1.748 MB / 0.5535 GB, free: 128.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.6334, allocations: 2.258 MB / 0.5557 GB, free: 125.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00504/0.6384, allocations: 4.334 MB / 0.5599 GB, free: 121.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.6385, allocations: 0 / 0.5599 GB, free: 121.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005946/0.6444, allocations: 4.586 MB / 0.5644 GB, free: 116.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6445, allocations: 12 kB / 0.5644 GB, free: 116.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.6445, allocations: 12 kB / 0.5644 GB, free: 116.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/0.6445, allocations: 24 kB / 0.5644 GB, free: 116.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/0.6478, allocations: 0.7922 MB / 0.5652 GB, free: 115.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.384e-05/0.6479, allocations: 39.86 kB / 0.5652 GB, free: 115.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.6505, allocations: 424.5 kB / 0.5656 GB, free: 115.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.6507, allocations: 147.9 kB / 0.5658 GB, free: 115.2 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.00116/0.6519, allocations: 0.7582 MB / 0.5665 GB, free: 114.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.6523, allocations: 213.7 kB / 0.5667 GB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007586/0.6599, allocations: 5.171 MB / 0.5718 GB, free: 109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.66, allocations: 40 kB / 0.5718 GB, free: 109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.66, allocations: 0 / 0.5718 GB, free: 109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.66, allocations: 23.86 kB / 0.5718 GB, free: 109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.6638, allocations: 2.812 MB / 0.5746 GB, free: 106.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.6638, allocations: 0 / 0.5746 GB, free: 106.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/0.667, allocations: 0.7332 MB / 0.5753 GB, free: 105.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/0.667, allocations: 20 kB / 0.5753 GB, free: 105.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.6672, allocations: 99.89 kB / 0.5754 GB, free: 105.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.6672, allocations: 12 kB / 0.5754 GB, free: 105.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6672, allocations: 0 / 0.5754 GB, free: 105.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008368/0.6756, allocations: 7.214 MB / 0.5825 GB, free: 98.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.6761, allocations: 357.7 kB / 0.5828 GB, free: 97.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.6764, allocations: 75.98 kB / 0.5829 GB, free: 97.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/0.6794, allocations: 307.4 kB / 0.5832 GB, free: 97.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005195/0.6799, allocations: 306.9 kB / 0.5835 GB, free: 97.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003098/0.6802, allocations: 188.3 kB / 0.5837 GB, free: 96.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.6809, allocations: 0.6785 MB / 0.5843 GB, free: 96.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6809, allocations: 4 kB / 0.5843 GB, free: 96.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001953/0.6829, allocations: 1.083 MB / 0.5854 GB, free: 95.1 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.0009987/0.6839, allocations: 448.1 kB / 0.5858 GB, free: 94.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005207/0.6891, allocations: 4.273 MB / 0.59 GB, free: 90.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6891, allocations: 9 kB / 0.59 GB, free: 90.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.6916, allocations: 2.263 MB / 0.5922 GB, free: 88.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/0.6969, allocations: 1.231 MB / 0.5934 GB, free: 86.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.7072, allocations: 7.984 MB / 0.6012 GB, free: 78.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009219/0.7082, allocations: 1.849 MB / 0.603 GB, free: 77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004976/0.7132, allocations: 1.764 MB / 0.6047 GB, free: 75.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009711/0.7141, allocations: 291.3 kB / 0.605 GB, free: 74.95 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7141, allocations: 0 / 0.605 GB, free: 74.95 MB / 430.1 MB Notification: Performance of Templates: time 0.0697/0.7838, allocations: 60.17 MB / 0.6638 GB, free: 15.21 MB / 430.1 MB 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/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) Reference file matches