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.001078/0.001078, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.88 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.211, allocations: 50.53 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3419/0.553, allocations: 154.7 MB / 0.5514 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.5541, allocations: 0.6931 MB / 0.5521 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.5543, allocations: 6.797 kB / 0.5521 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.5546, allocations: 78.62 kB / 0.5522 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005729/0.5552, allocations: 294.2 kB / 0.5525 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.5575, allocations: 1.122 MB / 0.5536 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003336/0.5609, allocations: 5.592 MB / 0.559 GB, free: 0.582 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.5611, allocations: 263.7 kB / 0.5593 GB, free: 480 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.5632, allocations: 2.236 MB / 0.5615 GB, free: 480 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.5652, allocations: 1.965 MB / 0.5634 GB, free: 476 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005472/0.5658, allocations: 245.3 kB / 0.5636 GB, free: 472 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.5686, allocations: 1.771 MB / 0.5653 GB, free: 452 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.5696, allocations: 1.223 MB / 0.5665 GB, free: 444 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.5714, allocations: 1.56 MB / 0.5681 GB, free: 412 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.575, allocations: 4.554 MB / 0.5725 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.575, allocations: 0 / 0.5725 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.575, allocations: 4 kB / 0.5725 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.118e-05/0.5751, allocations: 0 / 0.5725 GB, free: 15.93 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.008169/0.5832, allocations: 3.504 MB / 0.5759 GB, free: 14.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.5833, allocations: 7.5 kB / 0.5759 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.5851, allocations: 328 kB / 0.5763 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.5881, allocations: 1.337 MB / 0.5776 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.771e-05/0.5882, allocations: 183.6 kB / 0.5777 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.5886, allocations: 237.6 kB / 0.578 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/0.5938, allocations: 3.828 MB / 0.5817 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.5939, allocations: 3.938 kB / 0.5817 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.5942, allocations: 115.8 kB / 0.5818 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.5943, allocations: 57.47 kB / 0.5819 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007514/0.6018, allocations: 5.981 MB / 0.5877 GB, free: 12.49 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.01799/0.6198, allocations: 11.21 MB / 0.5987 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006525/0.6263, allocations: 5.046 MB / 0.6036 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003224/0.6296, allocations: 2.411 MB / 0.6059 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005163/0.6301, allocations: 440.8 kB / 0.6064 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.984e-05/0.6302, allocations: 94.62 kB / 0.6065 GB, free: 12.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.57e-06/0.6302, allocations: 0 / 0.6065 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.0091/0.6393, allocations: 5.812 MB / 0.6121 GB, free: 6.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.6394, allocations: 101.5 kB / 0.6122 GB, free: 6.328 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009795/0.6403, allocations: 0.8674 MB / 0.6131 GB, free: 5.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002754/0.6406, allocations: 101.7 kB / 0.6132 GB, free: 5.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.641, allocations: 0.5178 MB / 0.6137 GB, free: 4.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009201/0.6419, allocations: 1.303 MB / 0.6149 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009129/0.6428, allocations: 0.6332 MB / 0.6156 GB, free: 2.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6429, allocations: 356.1 kB / 0.6159 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.6456, allocations: 1.74 MB / 0.6176 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.6486, allocations: 2.263 MB / 0.6198 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006183/0.6548, allocations: 4.328 MB / 0.624 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.6548, allocations: 4 kB / 0.624 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007139/0.662, allocations: 4.589 MB / 0.6285 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.662, allocations: 8 kB / 0.6285 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.6621, allocations: 12 kB / 0.6285 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/0.6621, allocations: 28 kB / 0.6286 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/0.6658, allocations: 0.7878 MB / 0.6293 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.21e-05/0.6659, allocations: 38.22 kB / 0.6294 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.6681, allocations: 360.5 kB / 0.6297 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/0.6684, allocations: 151.9 kB / 0.6299 GB, free: 4.051 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.001189/0.6696, allocations: 0.7521 MB / 0.6306 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005217/0.6701, allocations: 209.8 kB / 0.6308 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008504/0.6786, allocations: 5.173 MB / 0.6359 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.873e-05/0.6787, allocations: 23.92 kB / 0.6359 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.6787, allocations: 3.938 kB / 0.6359 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.6791, allocations: 317.8 kB / 0.6362 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.6794, allocations: 75.94 kB / 0.6363 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/0.6821, allocations: 227.7 kB / 0.6365 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/0.6827, allocations: 314.9 kB / 0.6368 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007857/0.6906, allocations: 4.607 MB / 0.6413 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01036/0.7009, allocations: 7.419 MB / 0.6485 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00279/0.7037, allocations: 2.131 MB / 0.6506 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008131/0.7046, allocations: 0.6824 MB / 0.6513 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Backend: time 4.81e-07/0.7046, allocations: 0 / 0.6513 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005951/0.7105, allocations: 3.055 MB / 0.6542 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of SimCode: time 0.006832/0.7174, allocations: 5.225 MB / 0.6593 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of Templates: time 0.08369/0.8011, allocations: 61.63 MB / 0.7195 GB, free: 8.688 MB / 0.5919 GB 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/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_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches