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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 195.3 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 226.5 MB / 245.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008231/0.0008232, allocations: 98.34 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002195/0.0002196, allocations: 4 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1926, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.654/5.847, allocations: 3.327 GB / 3.727 GB, free: 149.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/5.847, allocations: 71.16 kB / 3.727 GB, free: 149.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2294/6.076, allocations: 102.9 MB / 3.827 GB, free: 45.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.783e-06/6.076, allocations: 0 / 3.827 GB, free: 45.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.105e-05/6.077, allocations: 52 kB / 3.827 GB, free: 45.46 MB / 458.7 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.00752/6.084, allocations: 2.777 MB / 3.83 GB, free: 42.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/6.084, allocations: 15.97 kB / 3.83 GB, free: 42.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/6.086, allocations: 326.1 kB / 3.83 GB, free: 42.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/6.089, allocations: 1.34 MB / 3.832 GB, free: 40.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/6.089, allocations: 185.2 kB / 3.832 GB, free: 40.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000566/6.09, allocations: 244.3 kB / 3.832 GB, free: 40.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005865/6.095, allocations: 3.761 MB / 3.836 GB, free: 36.67 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.504e-05/6.095, allocations: 192 / 3.836 GB, free: 36.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004982/6.096, allocations: 119.9 kB / 3.836 GB, free: 36.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/6.096, allocations: 60 kB / 3.836 GB, free: 36.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00739/6.103, allocations: 5.9 MB / 3.842 GB, free: 30.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/6.121, allocations: 10.63 MB / 3.852 GB, free: 19.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005666/6.126, allocations: 5.027 MB / 3.857 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002727/6.129, allocations: 2.397 MB / 3.859 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/6.13, allocations: 439.3 kB / 3.86 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/6.13, allocations: 94.62 kB / 3.86 GB, free: 11.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=390): time 5.24e-06/6.13, allocations: 0 / 3.86 GB, free: 11.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=390): time 0.007914/6.138, allocations: 5.788 MB / 3.865 GB, free: 5.344 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/6.138, allocations: 90.47 kB / 3.866 GB, free: 5.242 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/6.139, allocations: 0.8634 MB / 3.866 GB, free: 4.367 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004086/6.139, allocations: 101.7 kB / 3.866 GB, free: 4.262 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/6.139, allocations: 0.5189 MB / 3.867 GB, free: 3.734 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00071/6.14, allocations: 1.305 MB / 3.868 GB, free: 2.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/6.14, allocations: 72 kB / 3.868 GB, free: 2.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/6.141, allocations: 0.4944 MB / 3.869 GB, free: 1.836 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/6.143, allocations: 1.732 MB / 3.87 GB, free: 104 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1897/6.333, allocations: 2.244 MB / 3.873 GB, free: 113.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006226/6.339, allocations: 4.318 MB / 3.877 GB, free: 113 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/6.339, allocations: 6.906 kB / 3.877 GB, free: 113 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007177/6.346, allocations: 4.565 MB / 3.881 GB, free: 112.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/6.346, allocations: 9.719 kB / 3.881 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/6.346, allocations: 10.31 kB / 3.881 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.412e-05/6.346, allocations: 28 kB / 3.881 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/6.35, allocations: 0.7899 MB / 3.882 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.53e-05/6.35, allocations: 36.59 kB / 3.882 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/6.352, allocations: 425.2 kB / 3.883 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/6.353, allocations: 143.5 kB / 3.883 GB, free: 112.8 MB / 458.7 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.00136/6.354, allocations: 0.7657 MB / 3.884 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/6.355, allocations: 206.1 kB / 3.884 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007391/6.362, allocations: 5.161 MB / 3.889 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/6.362, allocations: 38 kB / 3.889 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/6.362, allocations: 3.312 kB / 3.889 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/6.362, allocations: 21.56 kB / 3.889 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/6.366, allocations: 2.822 MB / 3.892 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/6.366, allocations: 0 / 3.892 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/6.369, allocations: 0.7335 MB / 3.892 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.304e-05/6.369, allocations: 14.34 kB / 3.892 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/6.37, allocations: 96.14 kB / 3.892 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-05/6.37, allocations: 11.5 kB / 3.892 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/6.37, allocations: 3.406 kB / 3.892 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009018/6.379, allocations: 7.182 MB / 3.899 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/6.379, allocations: 356.6 kB / 3.9 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/6.38, allocations: 79 kB / 3.9 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/6.383, allocations: 283.4 kB / 3.9 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005652/6.383, allocations: 315.3 kB / 3.9 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000518/6.384, allocations: 173.7 kB / 3.901 GB, free: 111.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007755/6.385, allocations: 0.6789 MB / 3.901 GB, free: 111.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/6.385, allocations: 0 / 3.901 GB, free: 111.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002818/6.388, allocations: 1.15 MB / 3.902 GB, free: 111.4 MB / 458.7 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.001799/6.389, allocations: 0.8703 MB / 3.903 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006091/6.395, allocations: 4.26 MB / 3.907 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/6.395, allocations: 6.562 kB / 3.907 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003136/6.399, allocations: 2.246 MB / 3.91 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/6.404, allocations: 1.23 MB / 3.911 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/6.415, allocations: 7.777 MB / 3.918 GB, free: 107.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/6.417, allocations: 1.851 MB / 3.92 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00566/6.422, allocations: 1.772 MB / 3.922 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/6.423, allocations: 294.3 kB / 3.922 GB, free: 106.2 MB / 458.7 MB Notification: Performance of SimCode: time 8.12e-07/6.423, allocations: 0 / 3.922 GB, free: 106.2 MB / 458.7 MB Notification: Performance of Templates: time 0.07599/6.499, allocations: 66.07 MB / 3.987 GB, free: 56.37 MB / 458.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches