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.001048/0.001049, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001192, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2205, allocations: 50.55 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3681/0.5887, allocations: 154.7 MB / 0.5508 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.5897, allocations: 0.6927 MB / 0.5514 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.5898, allocations: 5.344 kB / 0.5514 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.5901, allocations: 83.23 kB / 0.5515 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.5907, allocations: 288 kB / 0.5518 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.5932, allocations: 1.117 MB / 0.5529 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.5973, allocations: 5.598 MB / 0.5584 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.5976, allocations: 271.3 kB / 0.5586 GB, free: 480 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.6009, allocations: 2.175 MB / 0.5607 GB, free: 480 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.6039, allocations: 1.963 MB / 0.5627 GB, free: 472 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007057/0.6046, allocations: 242.9 kB / 0.5629 GB, free: 472 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.6081, allocations: 1.77 MB / 0.5646 GB, free: 452 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.6093, allocations: 1.221 MB / 0.5658 GB, free: 444 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002314/0.6117, allocations: 1.566 MB / 0.5673 GB, free: 408 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004581/0.6163, allocations: 4.568 MB / 0.5718 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6163, allocations: 0 / 0.5718 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6163, allocations: 0 / 0.5718 GB, free: 15.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.895e-05/0.6164, allocations: 0 / 0.5718 GB, free: 15.91 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.007976/0.6243, allocations: 3.558 MB / 0.5753 GB, free: 14.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6244, allocations: 8.375 kB / 0.5753 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.6262, allocations: 340.4 kB / 0.5756 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.6284, allocations: 1.342 MB / 0.5769 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.727e-05/0.6285, allocations: 180.2 kB / 0.5771 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/0.6289, allocations: 243.6 kB / 0.5773 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/0.6347, allocations: 3.825 MB / 0.5811 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.6348, allocations: 0 / 0.5811 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.6352, allocations: 117.3 kB / 0.5812 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.6352, allocations: 61.34 kB / 0.5812 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008267/0.6435, allocations: 5.981 MB / 0.5871 GB, free: 12.42 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.01855/0.662, allocations: 11.24 MB / 0.598 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006879/0.669, allocations: 5.044 MB / 0.603 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003405/0.6724, allocations: 2.403 MB / 0.6053 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/0.673, allocations: 436.4 kB / 0.6057 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.979e-05/0.6731, allocations: 93.72 kB / 0.6058 GB, free: 12.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.944e-06/0.6731, allocations: 4 kB / 0.6058 GB, free: 12.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.009504/0.6826, allocations: 5.821 MB / 0.6115 GB, free: 6.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.6827, allocations: 94.41 kB / 0.6116 GB, free: 6.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6838, allocations: 0.8713 MB / 0.6124 GB, free: 5.387 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003837/0.6842, allocations: 101.7 kB / 0.6125 GB, free: 5.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.6846, allocations: 0.5315 MB / 0.6131 GB, free: 4.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.6856, allocations: 1.375 MB / 0.6144 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.6867, allocations: 0.6216 MB / 0.615 GB, free: 2.762 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6869, allocations: 361.9 kB / 0.6154 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.6897, allocations: 1.743 MB / 0.6171 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/0.6929, allocations: 2.264 MB / 0.6193 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006435/0.6994, allocations: 4.324 MB / 0.6235 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.6994, allocations: 8 kB / 0.6235 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007719/0.7071, allocations: 4.598 MB / 0.628 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.7072, allocations: 12 kB / 0.628 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.7072, allocations: 12 kB / 0.628 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.646e-05/0.7073, allocations: 24 kB / 0.628 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/0.7109, allocations: 0.7959 MB / 0.6288 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.966e-05/0.7109, allocations: 31.19 kB / 0.6288 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.7134, allocations: 365.6 kB / 0.6292 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004321/0.7139, allocations: 147.9 kB / 0.6293 GB, free: 3.902 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.00163/0.7155, allocations: 0.7579 MB / 0.6301 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008131/0.7163, allocations: 218.8 kB / 0.6303 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009414/0.7258, allocations: 5.178 MB / 0.6353 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.368e-05/0.7258, allocations: 43.94 kB / 0.6354 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.7259, allocations: 0 / 0.6354 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-05/0.7259, allocations: 23.92 kB / 0.6354 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004687/0.7306, allocations: 2.822 MB / 0.6382 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/0.7306, allocations: 4 kB / 0.6382 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003469/0.7341, allocations: 0.7335 MB / 0.6389 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.771e-05/0.7342, allocations: 12 kB / 0.6389 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003294/0.7345, allocations: 91.95 kB / 0.639 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.781e-05/0.7346, allocations: 19.94 kB / 0.639 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7346, allocations: 6.188 kB / 0.639 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/0.7459, allocations: 7.223 MB / 0.6461 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.7465, allocations: 330.9 kB / 0.6464 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004892/0.747, allocations: 83.89 kB / 0.6464 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/0.7501, allocations: 231.7 kB / 0.6467 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006556/0.7508, allocations: 309.3 kB / 0.647 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005098/0.7513, allocations: 183.9 kB / 0.6471 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009332/0.7522, allocations: 0.6824 MB / 0.6478 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7522, allocations: 0 / 0.6478 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00277/0.755, allocations: 1.089 MB / 0.6489 GB, free: 15.92 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.001292/0.7563, allocations: 459.8 kB / 0.6493 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007022/0.7634, allocations: 4.297 MB / 0.6535 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.7634, allocations: 5 kB / 0.6535 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003419/0.7668, allocations: 2.266 MB / 0.6557 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005982/0.7728, allocations: 1.248 MB / 0.6569 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.7852, allocations: 6.714 MB / 0.6635 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.7868, allocations: 1.849 MB / 0.6653 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00524/0.792, allocations: 1.768 MB / 0.667 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.7933, allocations: 291.3 kB / 0.6673 GB, free: 13.17 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/0.7934, allocations: 0 / 0.6673 GB, free: 13.17 MB / 0.545 GB Notification: Performance of Templates: time 0.08549/0.8788, allocations: 64.41 MB / 0.7302 GB, free: 13.17 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