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.0009993/0.0009994, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.191/1.191, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009808/0.0009807, allocations: 112 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002332, allocations: 4 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2138, allocations: 51.47 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/5.694, allocations: 3.32 GB / 3.719 GB, free: 140.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/5.694, allocations: 67.97 kB / 3.719 GB, free: 140.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2337/5.928, allocations: 102.7 MB / 3.82 GB, free: 37.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/5.928, allocations: 0 / 3.82 GB, free: 37.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.498e-05/5.928, allocations: 48 kB / 3.82 GB, free: 37.15 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.009369/5.937, allocations: 2.8 MB / 3.823 GB, free: 34.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/5.937, allocations: 8.031 kB / 3.823 GB, free: 34.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/5.94, allocations: 325.2 kB / 3.823 GB, free: 33.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/5.944, allocations: 1.324 MB / 3.824 GB, free: 32.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/5.944, allocations: 180.9 kB / 3.824 GB, free: 32.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008106/5.945, allocations: 243.9 kB / 3.825 GB, free: 32.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008534/5.953, allocations: 3.749 MB / 3.828 GB, free: 28.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.753e-05/5.953, allocations: 3.953 kB / 3.828 GB, free: 28.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009013/5.954, allocations: 112 kB / 3.828 GB, free: 28.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/5.954, allocations: 56 kB / 3.828 GB, free: 28.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007988/5.962, allocations: 5.9 MB / 3.834 GB, free: 22.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/5.981, allocations: 10.61 MB / 3.845 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006264/5.988, allocations: 5.035 MB / 3.849 GB, free: 5.902 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000722/5.988, allocations: 447.3 kB / 3.85 GB, free: 5.391 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/5.989, allocations: 94.62 kB / 3.85 GB, free: 5.289 MB / 458.7 MB Notification: Performance of pre-optimization done (n=390): time 7.384e-06/5.989, allocations: 0 / 3.85 GB, free: 5.289 MB / 458.7 MB Notification: Performance of matching and sorting (n=390): time 0.2109/6.199, allocations: 5.78 MB / 3.856 GB, free: 112.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/6.2, allocations: 96.45 kB / 3.856 GB, free: 112.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/6.201, allocations: 0.7798 MB / 3.856 GB, free: 112.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001156/6.202, allocations: 103.2 kB / 3.857 GB, free: 112.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/6.203, allocations: 0.5184 MB / 3.857 GB, free: 112.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001527/6.204, allocations: 1.306 MB / 3.858 GB, free: 111.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/6.204, allocations: 73.38 kB / 3.858 GB, free: 111.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/6.205, allocations: 0.4915 MB / 3.859 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/6.207, allocations: 1.732 MB / 3.861 GB, free: 111.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/6.21, allocations: 2.231 MB / 3.863 GB, free: 110.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/6.212, allocations: 2.102 MB / 3.865 GB, free: 110.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/6.212, allocations: 8 kB / 3.865 GB, free: 110.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006723/6.219, allocations: 4.567 MB / 3.869 GB, free: 110.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/6.219, allocations: 10.8 kB / 3.869 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/6.219, allocations: 10.72 kB / 3.869 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.585e-05/6.219, allocations: 30.28 kB / 3.869 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003395/6.223, allocations: 0.7879 MB / 3.87 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.143e-05/6.223, allocations: 36.98 kB / 3.87 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/6.225, allocations: 426.6 kB / 3.871 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/6.226, allocations: 147.4 kB / 3.871 GB, free: 110.6 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.001427/6.227, allocations: 0.7538 MB / 3.871 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005915/6.228, allocations: 209.1 kB / 3.872 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/6.236, allocations: 5.184 MB / 3.877 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/6.236, allocations: 42.97 kB / 3.877 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/6.236, allocations: 0 / 3.877 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/6.236, allocations: 20.77 kB / 3.877 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/6.24, allocations: 2.819 MB / 3.879 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/6.24, allocations: 2.531 kB / 3.879 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/6.244, allocations: 0.7294 MB / 3.88 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-05/6.244, allocations: 20.78 kB / 3.88 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/6.244, allocations: 88.61 kB / 3.88 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/6.244, allocations: 16.22 kB / 3.88 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/6.244, allocations: 0 / 3.88 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008742/6.253, allocations: 7.178 MB / 3.887 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007544/6.253, allocations: 363.8 kB / 3.888 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/6.254, allocations: 78.19 kB / 3.888 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/6.257, allocations: 286.9 kB / 3.888 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/6.257, allocations: 311.7 kB / 3.888 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00052/6.258, allocations: 177.4 kB / 3.888 GB, free: 109.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009624/6.259, allocations: 0.6811 MB / 3.889 GB, free: 109.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.6e-07/6.259, allocations: 0 / 3.889 GB, free: 109.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003935/6.263, allocations: 1.143 MB / 3.89 GB, free: 109 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.001904/6.265, allocations: 0.8701 MB / 3.891 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005207/6.27, allocations: 4.255 MB / 3.895 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/6.27, allocations: 4.719 kB / 3.895 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/6.272, allocations: 2.254 MB / 3.897 GB, free: 107.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/6.277, allocations: 1.163 MB / 3.899 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/6.287, allocations: 7.764 MB / 3.906 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009487/6.288, allocations: 1.882 MB / 3.908 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004919/6.293, allocations: 1.775 MB / 3.91 GB, free: 103.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009476/6.294, allocations: 295 kB / 3.91 GB, free: 103.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/6.294, allocations: 0 / 3.91 GB, free: 103.3 MB / 458.7 MB Notification: Performance of Templates: time 0.07546/6.369, allocations: 64.92 MB / 3.973 GB, free: 54.11 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/jenkins/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