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.001544/0.001544, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2189, allocations: 50.55 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.363/0.582, allocations: 154.7 MB / 0.5508 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.583, allocations: 0.6933 MB / 0.5514 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.5831, allocations: 0 / 0.5514 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.5834, allocations: 85.92 kB / 0.5515 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.5839, allocations: 293 kB / 0.5518 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.5862, allocations: 1.126 MB / 0.5529 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003246/0.5894, allocations: 5.604 MB / 0.5584 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.5897, allocations: 255.7 kB / 0.5586 GB, free: 488 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.5922, allocations: 2.243 MB / 0.5608 GB, free: 484 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/0.5944, allocations: 1.963 MB / 0.5627 GB, free: 480 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004714/0.5949, allocations: 236.1 kB / 0.5629 GB, free: 480 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.5977, allocations: 1.78 MB / 0.5647 GB, free: 456 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.5988, allocations: 1.224 MB / 0.5659 GB, free: 448 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.6007, allocations: 1.555 MB / 0.5674 GB, free: 416 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.6046, allocations: 4.563 MB / 0.5719 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6046, allocations: 0 / 0.5719 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6046, allocations: 0 / 0.5719 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.755e-05/0.6047, allocations: 0 / 0.5719 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.008433/0.6131, allocations: 3.498 MB / 0.5753 GB, free: 14.83 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.6132, allocations: 8.438 kB / 0.5753 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.615, allocations: 323.3 kB / 0.5756 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.6175, allocations: 1.343 MB / 0.5769 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/0.6176, allocations: 180.5 kB / 0.5771 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003653/0.618, allocations: 243.1 kB / 0.5773 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005678/0.6237, allocations: 3.824 MB / 0.581 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.6237, allocations: 0 / 0.581 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/0.6241, allocations: 113.7 kB / 0.5811 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.6241, allocations: 58.03 kB / 0.5812 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007792/0.6319, allocations: 5.997 MB / 0.5871 GB, free: 12.5 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.01815/0.6501, allocations: 11.2 MB / 0.598 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006729/0.6568, allocations: 5.032 MB / 0.6029 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/0.6602, allocations: 2.411 MB / 0.6053 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/0.6608, allocations: 440 kB / 0.6057 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.195e-05/0.6609, allocations: 94.62 kB / 0.6058 GB, free: 12.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.392e-06/0.6609, allocations: 3.094 kB / 0.6058 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.009354/0.6703, allocations: 5.812 MB / 0.6115 GB, free: 6.422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.6704, allocations: 98.41 kB / 0.6116 GB, free: 6.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.6714, allocations: 0.8751 MB / 0.6124 GB, free: 5.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003424/0.6718, allocations: 101.7 kB / 0.6125 GB, free: 5.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.6721, allocations: 0.5139 MB / 0.613 GB, free: 4.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009746/0.6731, allocations: 1.305 MB / 0.6143 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009323/0.674, allocations: 0.6254 MB / 0.6149 GB, free: 2.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6742, allocations: 361.9 kB / 0.6152 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.6769, allocations: 1.751 MB / 0.6169 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.6801, allocations: 2.255 MB / 0.6191 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006369/0.6865, allocations: 4.331 MB / 0.6234 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.6865, allocations: 4 kB / 0.6234 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00741/0.6939, allocations: 4.581 MB / 0.6279 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.694, allocations: 16.22 kB / 0.6279 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.694, allocations: 12 kB / 0.6279 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/0.694, allocations: 24 kB / 0.6279 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/0.6976, allocations: 0.7962 MB / 0.6287 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.335e-05/0.6977, allocations: 35.17 kB / 0.6287 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.6999, allocations: 360.5 kB / 0.6291 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/0.7002, allocations: 140 kB / 0.6292 GB, free: 4.035 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.00136/0.7016, allocations: 0.7657 MB / 0.6299 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/0.7021, allocations: 209.8 kB / 0.6301 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008679/0.7108, allocations: 5.166 MB / 0.6352 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.7109, allocations: 47.92 kB / 0.6352 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.7109, allocations: 4 kB / 0.6352 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/0.7109, allocations: 23.92 kB / 0.6353 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.715, allocations: 2.811 MB / 0.638 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.7151, allocations: 0 / 0.638 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/0.7184, allocations: 0.7308 MB / 0.6387 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/0.7185, allocations: 12 kB / 0.6387 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002329/0.7187, allocations: 95.97 kB / 0.6388 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/0.7187, allocations: 19.94 kB / 0.6388 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7187, allocations: 0 / 0.6388 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.7292, allocations: 7.22 MB / 0.6459 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00054/0.7298, allocations: 318 kB / 0.6462 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/0.7302, allocations: 83.83 kB / 0.6463 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/0.7329, allocations: 227.7 kB / 0.6465 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005783/0.7334, allocations: 318.8 kB / 0.6468 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003907/0.7338, allocations: 179.9 kB / 0.647 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008464/0.7347, allocations: 0.6824 MB / 0.6476 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7347, allocations: 0 / 0.6476 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002404/0.7371, allocations: 1.093 MB / 0.6487 GB, free: 80 kB / 0.5137 GB 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.001033/0.7382, allocations: 440.6 kB / 0.6491 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006428/0.7446, allocations: 4.306 MB / 0.6533 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.7446, allocations: 5 kB / 0.6533 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.7477, allocations: 2.262 MB / 0.6555 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/0.7525, allocations: 1.252 MB / 0.6568 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.7637, allocations: 6.639 MB / 0.6632 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.765, allocations: 1.855 MB / 0.6651 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004671/0.7697, allocations: 1.771 MB / 0.6668 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.7708, allocations: 299.3 kB / 0.6671 GB, free: 13.4 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.7708, allocations: 0 / 0.6671 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Templates: time 0.08773/0.8585, allocations: 64.4 MB / 0.73 GB, free: 13.4 MB / 0.6075 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/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