Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 207.9 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.4 MB / 250 MB, free: 9 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 71.83 kB / 367.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2262, allocations: 53.3 MB / 420.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4028/0.629, allocations: 155.2 MB / 0.5623 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.63, allocations: 0.6982 MB / 0.563 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.6301, allocations: 0 / 0.563 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.6304, allocations: 84.31 kB / 0.5631 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.6309, allocations: 295.1 kB / 0.5634 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.6334, allocations: 1.12 MB / 0.5645 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003824/0.6373, allocations: 5.612 MB / 0.57 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.6376, allocations: 191.9 kB / 0.5701 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.6412, allocations: 2.256 MB / 0.5723 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004048/0.6452, allocations: 2.044 MB / 0.5743 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.6463, allocations: 239.9 kB / 0.5746 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.6508, allocations: 1.808 MB / 0.5763 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.6525, allocations: 1.232 MB / 0.5775 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00296/0.6555, allocations: 1.566 MB / 0.5791 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005363/0.6609, allocations: 4.569 MB / 0.5835 GB, free: 13.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6609, allocations: 0 / 0.5835 GB, free: 13.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6609, allocations: 0 / 0.5835 GB, free: 13.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.6609, allocations: 2.25 kB / 0.5835 GB, free: 13.71 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.009383/0.6703, allocations: 3.557 MB / 0.587 GB, free: 11.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6704, allocations: 9.844 kB / 0.587 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.6722, allocations: 339.8 kB / 0.5873 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.6748, allocations: 1.346 MB / 0.5887 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.6749, allocations: 184.2 kB / 0.5888 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003822/0.6752, allocations: 242.9 kB / 0.5891 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006186/0.6814, allocations: 3.823 MB / 0.5928 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.6815, allocations: 2.469 kB / 0.5928 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003446/0.6818, allocations: 110.9 kB / 0.5929 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.6818, allocations: 60.56 kB / 0.593 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008471/0.6903, allocations: 5.985 MB / 0.5988 GB, free: 7.531 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.02199/0.7123, allocations: 11.23 MB / 0.6098 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008269/0.7206, allocations: 4.799 MB / 0.6145 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.7248, allocations: 2.237 MB / 0.6166 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008159/0.7257, allocations: 436.3 kB / 0.6171 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.7258, allocations: 99.48 kB / 0.6172 GB, free: 4.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.593e-06/0.7258, allocations: 0 / 0.6172 GB, free: 4.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01266/0.7384, allocations: 5.821 MB / 0.6228 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.7385, allocations: 94.41 kB / 0.6229 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.7399, allocations: 0.8752 MB / 0.6238 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007002/0.7406, allocations: 97.7 kB / 0.6239 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.741, allocations: 0.5331 MB / 0.6244 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/0.7427, allocations: 1.374 MB / 0.6257 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.7443, allocations: 0.6293 MB / 0.6264 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.7445, allocations: 357.9 kB / 0.6267 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003433/0.7479, allocations: 1.74 MB / 0.6284 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004121/0.752, allocations: 2.258 MB / 0.6306 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008163/0.7602, allocations: 4.333 MB / 0.6348 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.987e-05/0.7602, allocations: 4 kB / 0.6348 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009744/0.7699, allocations: 4.592 MB / 0.6393 GB, free: 13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.77, allocations: 12 kB / 0.6393 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.77, allocations: 15.98 kB / 0.6393 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/0.77, allocations: 24 kB / 0.6394 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004268/0.7743, allocations: 0.7933 MB / 0.6401 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001026/0.7744, allocations: 41.5 kB / 0.6402 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.7774, allocations: 365.6 kB / 0.6405 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006574/0.778, allocations: 147.9 kB / 0.6407 GB, free: 11.61 MB / 0.5137 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.002049/0.7801, allocations: 0.7543 MB / 0.6414 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009797/0.781, allocations: 218.8 kB / 0.6416 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.7916, allocations: 5.179 MB / 0.6467 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.123e-05/0.7916, allocations: 43.94 kB / 0.6467 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.7916, allocations: 0 / 0.6467 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/0.7917, allocations: 23.92 kB / 0.6467 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/0.7969, allocations: 2.819 MB / 0.6495 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/0.797, allocations: 7.938 kB / 0.6495 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003956/0.8009, allocations: 0.7334 MB / 0.6502 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-05/0.801, allocations: 15.94 kB / 0.6502 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004856/0.8015, allocations: 95.89 kB / 0.6503 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.731e-05/0.8015, allocations: 19.94 kB / 0.6503 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8015, allocations: 0 / 0.6503 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.8145, allocations: 7.223 MB / 0.6574 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000625/0.8151, allocations: 326.9 kB / 0.6577 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006135/0.8157, allocations: 83.94 kB / 0.6578 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/0.8189, allocations: 227.7 kB / 0.658 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007873/0.8197, allocations: 314.9 kB / 0.6583 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005884/0.8202, allocations: 179.9 kB / 0.6585 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001065/0.8213, allocations: 0.6785 MB / 0.6591 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8213, allocations: 0 / 0.6591 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003247/0.8246, allocations: 1.097 MB / 0.6602 GB, free: 7.539 MB / 0.5294 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.001499/0.8261, allocations: 453.9 kB / 0.6606 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008256/0.8343, allocations: 4.117 MB / 0.6647 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.8343, allocations: 5 kB / 0.6647 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00472/0.839, allocations: 2.108 MB / 0.6667 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006648/0.8457, allocations: 1.258 MB / 0.668 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.8597, allocations: 6.703 MB / 0.6745 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.8615, allocations: 1.844 MB / 0.6763 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006065/0.8675, allocations: 1.775 MB / 0.678 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/0.8691, allocations: 299.3 kB / 0.6783 GB, free: 4.922 MB / 0.545 GB Notification: Performance of SimCode: time 1.383e-06/0.8691, allocations: 4 kB / 0.6783 GB, free: 4.918 MB / 0.545 GB Notification: Performance of Templates: time 0.1037/0.9728, allocations: 64.94 MB / 0.7417 GB, free: 4.418 MB / 0.6075 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches