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.0009902/0.0009902, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008309/0.000831, allocations: 87.77 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.011e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.42/10.53, allocations: 3.319 GB / 3.705 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/10.53, allocations: 67.78 kB / 3.705 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.256/10.78, allocations: 101.6 MB / 3.804 GB, free: 50.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.795e-06/10.78, allocations: 0 / 3.804 GB, free: 50.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.871e-05/10.78, allocations: 48 kB / 3.804 GB, free: 50.36 MB / 442.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.008166/10.79, allocations: 2.686 MB / 3.807 GB, free: 47.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/10.79, allocations: 8.031 kB / 3.807 GB, free: 47.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/10.79, allocations: 313.3 kB / 3.807 GB, free: 47.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/10.8, allocations: 1.334 MB / 3.808 GB, free: 45.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/10.8, allocations: 76 kB / 3.808 GB, free: 45.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004186/10.8, allocations: 148 kB / 3.809 GB, free: 45.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006986/10.8, allocations: 5.661 MB / 3.814 GB, free: 40.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00513/10.81, allocations: 3.306 MB / 3.817 GB, free: 36.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/10.81, allocations: 3.938 kB / 3.817 GB, free: 36.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/10.81, allocations: 7.938 kB / 3.817 GB, free: 36.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/10.81, allocations: 60 kB / 3.817 GB, free: 36.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/10.83, allocations: 10.16 MB / 3.827 GB, free: 25.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005162/10.83, allocations: 4.784 MB / 3.832 GB, free: 20.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/10.84, allocations: 2.221 MB / 3.834 GB, free: 18.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/10.84, allocations: 439.3 kB / 3.835 GB, free: 18.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.602e-05/10.84, allocations: 102.4 kB / 3.835 GB, free: 18.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 6.181e-06/10.84, allocations: 0 / 3.835 GB, free: 18.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.008342/10.84, allocations: 4.323 MB / 3.839 GB, free: 13.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/10.84, allocations: 90.47 kB / 3.839 GB, free: 13.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000839/10.85, allocations: 0.5323 MB / 3.84 GB, free: 13.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006099/10.85, allocations: 29.7 kB / 3.84 GB, free: 13.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/10.85, allocations: 0.5378 MB / 3.84 GB, free: 12.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/10.85, allocations: 1.255 MB / 3.841 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/10.85, allocations: 4 kB / 3.841 GB, free: 11.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003212/10.85, allocations: 482.3 kB / 3.842 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/10.85, allocations: 1.623 MB / 3.843 GB, free: 9.148 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/10.85, allocations: 2.099 MB / 3.845 GB, free: 6.898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005299/10.86, allocations: 2.551 MB / 3.848 GB, free: 4.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/10.86, allocations: 4 kB / 3.848 GB, free: 4.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.3586/11.22, allocations: 4.738 MB / 3.853 GB, free: 87.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/11.22, allocations: 8.844 kB / 3.853 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/11.22, allocations: 12.66 kB / 3.853 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.666e-05/11.22, allocations: 29.95 kB / 3.853 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004198/11.22, allocations: 0.7986 MB / 3.853 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.762e-05/11.22, allocations: 37.03 kB / 3.853 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/11.22, allocations: 328.6 kB / 3.854 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/11.23, allocations: 149.4 kB / 3.854 GB, free: 87.79 MB / 442.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.0009703/11.23, allocations: 173.6 kB / 3.854 GB, free: 87.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007241/11.23, allocations: 192.4 kB / 3.854 GB, free: 87.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/11.24, allocations: 5.305 MB / 3.859 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/11.24, allocations: 40.53 kB / 3.859 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/11.24, allocations: 6.172 kB / 3.859 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/11.24, allocations: 20.44 kB / 3.859 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/11.24, allocations: 2.483 MB / 3.862 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/11.24, allocations: 0 / 3.862 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/11.25, allocations: 0.7327 MB / 3.863 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.365e-05/11.25, allocations: 15.28 kB / 3.863 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/11.25, allocations: 37.33 kB / 3.863 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/11.25, allocations: 15.94 kB / 3.863 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/11.25, allocations: 0 / 3.863 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/11.26, allocations: 7.286 MB / 3.87 GB, free: 86.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008322/11.26, allocations: 336.8 kB / 3.87 GB, free: 86.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/11.26, allocations: 3.969 kB / 3.87 GB, free: 86.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/11.26, allocations: 218 kB / 3.87 GB, free: 86.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/11.26, allocations: 311.3 kB / 3.871 GB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003736/11.26, allocations: 175.4 kB / 3.871 GB, free: 86.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005074/11.26, allocations: 476.4 kB / 3.871 GB, free: 86.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/11.26, allocations: 0 / 3.871 GB, free: 86.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003272/11.27, allocations: 1.011 MB / 3.872 GB, free: 86.5 MB / 442.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.001976/11.27, allocations: 0.8841 MB / 3.873 GB, free: 86.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005494/11.27, allocations: 3.977 MB / 3.877 GB, free: 86.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/11.27, allocations: 5.625 kB / 3.877 GB, free: 86.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002597/11.28, allocations: 2.121 MB / 3.879 GB, free: 86.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005083/11.28, allocations: 0.8832 MB / 3.88 GB, free: 86.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/11.29, allocations: 5.874 MB / 3.886 GB, free: 85.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/11.29, allocations: 1.886 MB / 3.887 GB, free: 84.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007797/11.3, allocations: 1.723 MB / 3.889 GB, free: 84.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/11.3, allocations: 280.2 kB / 3.889 GB, free: 84.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.733e-06/11.3, allocations: 0 / 3.889 GB, free: 84.74 MB / 442.7 MB Notification: Performance of Templates: time 0.09102/11.39, allocations: 55.09 MB / 3.943 GB, free: 67.27 MB / 442.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