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.001516/0.001516, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009131/0.000913, allocations: 92.75 kB / 292.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.381e-05, allocations: 0 / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.867/8.99, allocations: 3.32 GB / 3.712 GB, free: 103.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/8.99, allocations: 69.25 kB / 3.712 GB, free: 103.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2463/9.237, allocations: 102.7 MB / 3.812 GB, free: 252 kB / 458.7 MB Notification: Performance of FrontEnd: time 4.027e-06/9.237, allocations: 0 / 3.812 GB, free: 252 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001684/9.237, allocations: 51.98 kB / 3.813 GB, free: 200 kB / 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.3575/9.594, allocations: 2.678 MB / 3.815 GB, free: 93.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/9.595, allocations: 7.375 kB / 3.815 GB, free: 93.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/9.597, allocations: 316.3 kB / 3.815 GB, free: 93.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/9.602, allocations: 1.336 MB / 3.817 GB, free: 93.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/9.602, allocations: 178.8 kB / 3.817 GB, free: 93.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006768/9.603, allocations: 238.2 kB / 3.817 GB, free: 93.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/9.613, allocations: 3.67 MB / 3.821 GB, free: 92.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.249e-05/9.613, allocations: 0.8594 kB / 3.821 GB, free: 92.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009487/9.614, allocations: 115.1 kB / 3.821 GB, free: 92.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-05/9.615, allocations: 64.12 kB / 3.821 GB, free: 92.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/9.631, allocations: 5.799 MB / 3.827 GB, free: 92.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02753/9.659, allocations: 10.61 MB / 3.837 GB, free: 89.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009534/9.669, allocations: 4.941 MB / 3.842 GB, free: 88.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006383/9.675, allocations: 2.339 MB / 3.844 GB, free: 88.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/9.676, allocations: 445.7 kB / 3.844 GB, free: 88.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/9.677, allocations: 94.61 kB / 3.845 GB, free: 88.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=390): time 3.451e-05/9.677, allocations: 2.625 kB / 3.845 GB, free: 88.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=390): time 0.01618/9.693, allocations: 3.994 MB / 3.848 GB, free: 88.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/9.693, allocations: 92 kB / 3.849 GB, free: 88.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/9.695, allocations: 0.7797 MB / 3.849 GB, free: 88.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00122/9.696, allocations: 104.1 kB / 3.849 GB, free: 88.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/9.697, allocations: 0.5182 MB / 3.85 GB, free: 87.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001862/9.699, allocations: 1.302 MB / 3.851 GB, free: 86.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005351/9.699, allocations: 68.88 kB / 3.851 GB, free: 86.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004133/9.7, allocations: 0.5073 MB / 3.852 GB, free: 86.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003932/9.704, allocations: 1.687 MB / 3.853 GB, free: 86.56 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004636/9.708, allocations: 2.192 MB / 3.856 GB, free: 86.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/9.714, allocations: 2.069 MB / 3.858 GB, free: 86.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.683e-05/9.714, allocations: 7.188 kB / 3.858 GB, free: 86.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.0125/9.726, allocations: 4.479 MB / 3.862 GB, free: 85.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/9.726, allocations: 12.67 kB / 3.862 GB, free: 85.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.985e-05/9.726, allocations: 10.5 kB / 3.862 GB, free: 85.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/9.726, allocations: 31.47 kB / 3.862 GB, free: 85.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/9.731, allocations: 0.7873 MB / 3.863 GB, free: 85.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001385/9.731, allocations: 37.23 kB / 3.863 GB, free: 85.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/9.735, allocations: 428.2 kB / 3.863 GB, free: 85.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008734/9.736, allocations: 149.5 kB / 3.863 GB, free: 85.36 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 () * 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.001817/9.738, allocations: 320.6 kB / 3.864 GB, free: 85.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/9.739, allocations: 209.8 kB / 3.864 GB, free: 85.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/9.749, allocations: 5.089 MB / 3.869 GB, free: 83.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-05/9.749, allocations: 41 kB / 3.869 GB, free: 83.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/9.75, allocations: 0 / 3.869 GB, free: 83.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-05/9.75, allocations: 22.45 kB / 3.869 GB, free: 83.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/9.755, allocations: 2.826 MB / 3.872 GB, free: 82.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-05/9.756, allocations: 2.344 kB / 3.872 GB, free: 82.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003442/9.759, allocations: 0.7319 MB / 3.872 GB, free: 82.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.672e-05/9.759, allocations: 17.91 kB / 3.872 GB, free: 82.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004012/9.76, allocations: 88.81 kB / 3.872 GB, free: 82.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.851e-05/9.76, allocations: 15.38 kB / 3.872 GB, free: 82.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/9.76, allocations: 0 / 3.872 GB, free: 82.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/9.77, allocations: 7.05 MB / 3.879 GB, free: 80.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/9.771, allocations: 355.6 kB / 3.88 GB, free: 80.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005371/9.772, allocations: 78.78 kB / 3.88 GB, free: 80.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004012/9.776, allocations: 286.5 kB / 3.88 GB, free: 80 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007164/9.777, allocations: 313.1 kB / 3.88 GB, free: 79.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009167/9.778, allocations: 180.1 kB / 3.881 GB, free: 79.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001306/9.779, allocations: 0.667 MB / 3.881 GB, free: 79.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/9.779, allocations: 0 / 3.881 GB, free: 79.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004697/9.784, allocations: 1.139 MB / 3.882 GB, free: 79.49 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 () * 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.002565/9.786, allocations: 0.8815 MB / 3.883 GB, free: 79.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006777/9.793, allocations: 4.168 MB / 3.887 GB, free: 78.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/9.793, allocations: 4.438 kB / 3.887 GB, free: 78.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00324/9.796, allocations: 2.206 MB / 3.889 GB, free: 77.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006401/9.803, allocations: 1.168 MB / 3.891 GB, free: 77.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/9.815, allocations: 6.11 MB / 3.896 GB, free: 75.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/9.817, allocations: 1.885 MB / 3.898 GB, free: 75.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007172/9.824, allocations: 1.778 MB / 3.9 GB, free: 74.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/9.826, allocations: 293 kB / 3.9 GB, free: 74.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/9.826, allocations: 0 / 3.9 GB, free: 74.88 MB / 458.7 MB Notification: Performance of Templates: time 0.08587/9.911, allocations: 66.61 MB / 3.965 GB, free: 21.52 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