Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009965/0.0009965, allocations: 101.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 191.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002042/0.0002043, allocations: 4 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08145, allocations: 51.53 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2953/0.3767, allocations: 140.6 MB / 499.2 MB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3779, allocations: 0.6825 MB / 499.9 MB, free: 14.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.378, allocations: 0 / 499.9 MB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.3783, allocations: 58.39 kB / 500 MB, free: 14.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005737/0.3789, allocations: 275.7 kB / 0.4885 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.3812, allocations: 0.8357 MB / 0.4893 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005284/0.3865, allocations: 5.997 MB / 0.4952 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.3869, allocations: 257.7 kB / 0.4954 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.3899, allocations: 1.925 MB / 0.4973 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/0.3932, allocations: 2.049 MB / 0.4993 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006373/0.3938, allocations: 140 kB / 0.4995 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.397, allocations: 1.428 MB / 0.5008 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001361/0.3984, allocations: 1.091 MB / 0.5019 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00088/0.3992, allocations: 0.4928 MB / 0.5024 GB, free: 176 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.4027, allocations: 3.244 MB / 0.5056 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4027, allocations: 4 kB / 0.5056 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4027, allocations: 0 / 0.5056 GB, free: 12.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.684e-05/0.4028, allocations: 0 / 0.5056 GB, free: 12.92 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.007514/0.4104, allocations: 2.918 MB / 0.5084 GB, free: 9.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.4104, allocations: 8.031 kB / 0.5084 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.4123, allocations: 321.2 kB / 0.5087 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.4146, allocations: 1.316 MB / 0.51 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.4148, allocations: 181.9 kB / 0.5102 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/0.4152, allocations: 240 kB / 0.5104 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.4212, allocations: 3.804 MB / 0.5141 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.4213, allocations: 0 / 0.5141 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/0.4216, allocations: 116 kB / 0.5142 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.4216, allocations: 56 kB / 0.5143 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008252/0.4299, allocations: 5.971 MB / 0.5201 GB, free: 13.83 MB / 446.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.01809/0.448, allocations: 11.19 MB / 0.5311 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1633/0.6113, allocations: 5.012 MB / 0.5359 GB, free: 155.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003926/0.6153, allocations: 2.394 MB / 0.5383 GB, free: 154.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/0.6159, allocations: 437.8 kB / 0.5387 GB, free: 154.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.487e-05/0.616, allocations: 99.08 kB / 0.5388 GB, free: 154.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 7.014e-06/0.616, allocations: 0 / 0.5388 GB, free: 154.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.01069/0.6267, allocations: 5.787 MB / 0.5444 GB, free: 152.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.6268, allocations: 91.09 kB / 0.5445 GB, free: 152.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.6279, allocations: 0.8653 MB / 0.5454 GB, free: 152.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003816/0.6283, allocations: 101.4 kB / 0.5455 GB, free: 152.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.6286, allocations: 0.5184 MB / 0.546 GB, free: 151.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007867/0.6294, allocations: 1.303 MB / 0.5473 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.6296, allocations: 70.28 kB / 0.5473 GB, free: 150.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.6298, allocations: 0.4963 MB / 0.5478 GB, free: 150.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/0.6323, allocations: 1.734 MB / 0.5495 GB, free: 150 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.6351, allocations: 2.254 MB / 0.5517 GB, free: 149.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.6377, allocations: 2.093 MB / 0.5537 GB, free: 148.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.6377, allocations: 5.25 kB / 0.5538 GB, free: 148.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00576/0.6435, allocations: 4.568 MB / 0.5582 GB, free: 146.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.6435, allocations: 7.812 kB / 0.5582 GB, free: 146.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.6435, allocations: 11.5 kB / 0.5582 GB, free: 146.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.433e-05/0.6436, allocations: 27.19 kB / 0.5583 GB, free: 146.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.6468, allocations: 0.7919 MB / 0.559 GB, free: 145.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.353e-05/0.6469, allocations: 31.94 kB / 0.5591 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.649, allocations: 427.2 kB / 0.5595 GB, free: 145.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.6492, allocations: 147.9 kB / 0.5596 GB, free: 145.3 MB / 446.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[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 initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.6503, allocations: 0.7566 MB / 0.5603 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.6506, allocations: 217.6 kB / 0.5606 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007378/0.658, allocations: 5.183 MB / 0.5656 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.6581, allocations: 44 kB / 0.5657 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.6581, allocations: 3.938 kB / 0.5657 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/0.6581, allocations: 23.75 kB / 0.5657 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.6617, allocations: 2.817 MB / 0.5684 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.6618, allocations: 0 / 0.5684 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003094/0.6649, allocations: 0.7294 MB / 0.5691 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.857e-05/0.6649, allocations: 18.67 kB / 0.5692 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.6651, allocations: 91.95 kB / 0.5693 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.507e-05/0.6651, allocations: 16 kB / 0.5693 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6651, allocations: 0 / 0.5693 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008217/0.6733, allocations: 7.183 MB / 0.5763 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.6738, allocations: 361.7 kB / 0.5766 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/0.6742, allocations: 72 kB / 0.5767 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002515/0.6767, allocations: 303 kB / 0.577 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.6771, allocations: 312.4 kB / 0.5773 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000298/0.6774, allocations: 179.9 kB / 0.5775 GB, free: 127 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006752/0.6781, allocations: 0.6707 MB / 0.5781 GB, free: 126.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6781, allocations: 0 / 0.5781 GB, free: 126.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001984/0.6801, allocations: 1.091 MB / 0.5792 GB, free: 125.3 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008971/0.681, allocations: 449.7 kB / 0.5796 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00525/0.6863, allocations: 4.254 MB / 0.5838 GB, free: 120.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6863, allocations: 5 kB / 0.5838 GB, free: 120.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.6888, allocations: 2.255 MB / 0.586 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/0.6935, allocations: 1.246 MB / 0.5872 GB, free: 117.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/0.7033, allocations: 7.771 MB / 0.5948 GB, free: 109.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.7043, allocations: 1.841 MB / 0.5966 GB, free: 107.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004789/0.7091, allocations: 1.779 MB / 0.5983 GB, free: 105.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000954/0.71, allocations: 287.3 kB / 0.5986 GB, free: 105.3 MB / 446.1 MB Notification: Performance of SimCode: time 6.22e-07/0.71, allocations: 0 / 0.5986 GB, free: 105.3 MB / 446.1 MB Notification: Performance of Templates: time 0.06497/0.775, allocations: 58.38 MB / 0.6556 GB, free: 47.29 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches