Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 180.8 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008876/0.0008876, allocations: 100.2 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 4 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2331, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.411/6.644, allocations: 3.326 GB / 3.718 GB, free: 89.42 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/6.645, allocations: 76.94 kB / 3.718 GB, free: 89.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4425/7.087, allocations: 102.9 MB / 3.819 GB, free: 112.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/7.087, allocations: 0 / 3.819 GB, free: 112.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001057/7.087, allocations: 49.55 kB / 3.819 GB, free: 112.4 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.009691/7.097, allocations: 2.793 MB / 3.822 GB, free: 111.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/7.097, allocations: 8.969 kB / 3.822 GB, free: 111.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/7.1, allocations: 324.6 kB / 3.822 GB, free: 111.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/7.104, allocations: 1.327 MB / 3.823 GB, free: 111.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/7.104, allocations: 182.3 kB / 3.823 GB, free: 111.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008831/7.105, allocations: 236.9 kB / 3.824 GB, free: 111.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007923/7.113, allocations: 3.74 MB / 3.827 GB, free: 111 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-05/7.113, allocations: 0 / 3.827 GB, free: 111 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007799/7.114, allocations: 119.4 kB / 3.827 GB, free: 111 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/7.114, allocations: 57.56 kB / 3.827 GB, free: 111 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008785/7.123, allocations: 5.904 MB / 3.833 GB, free: 111 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/7.143, allocations: 10.62 MB / 3.844 GB, free: 107 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006666/7.15, allocations: 5.025 MB / 3.848 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/7.151, allocations: 443.1 kB / 3.849 GB, free: 106.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.637e-05/7.151, allocations: 103.2 kB / 3.849 GB, free: 106.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 6.943e-06/7.151, allocations: 0 / 3.849 GB, free: 106.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.009384/7.16, allocations: 5.787 MB / 3.855 GB, free: 104.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/7.16, allocations: 96.31 kB / 3.855 GB, free: 104.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/7.161, allocations: 0.7839 MB / 3.855 GB, free: 104.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006218/7.162, allocations: 101.3 kB / 3.856 GB, free: 104.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/7.162, allocations: 0.5149 MB / 3.856 GB, free: 103.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/7.163, allocations: 1.302 MB / 3.857 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/7.164, allocations: 67.75 kB / 3.857 GB, free: 102.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003/7.164, allocations: 0.4994 MB / 3.858 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/7.167, allocations: 1.729 MB / 3.86 GB, free: 101.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002857/7.17, allocations: 2.232 MB / 3.862 GB, free: 100.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/7.173, allocations: 2.107 MB / 3.864 GB, free: 100.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/7.173, allocations: 4 kB / 3.864 GB, free: 100.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006909/7.18, allocations: 4.564 MB / 3.868 GB, free: 96.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/7.18, allocations: 8 kB / 3.868 GB, free: 96.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/7.18, allocations: 15.95 kB / 3.868 GB, free: 96.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.89e-05/7.18, allocations: 28 kB / 3.868 GB, free: 96.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/7.183, allocations: 0.7981 MB / 3.869 GB, free: 95.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.281e-05/7.183, allocations: 30.34 kB / 3.869 GB, free: 95.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/7.186, allocations: 425.4 kB / 3.87 GB, free: 95.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/7.187, allocations: 151.2 kB / 3.87 GB, free: 95.27 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 () * 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.001368/7.188, allocations: 0.7631 MB / 3.87 GB, free: 94.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006434/7.189, allocations: 205.8 kB / 3.871 GB, free: 94.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007957/7.197, allocations: 5.182 MB / 3.876 GB, free: 90.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/7.197, allocations: 47.89 kB / 3.876 GB, free: 90.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/7.197, allocations: 0 / 3.876 GB, free: 90.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/7.197, allocations: 18.7 kB / 3.876 GB, free: 90.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/7.202, allocations: 2.822 MB / 3.878 GB, free: 88.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/7.202, allocations: 0 / 3.878 GB, free: 88.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003505/7.205, allocations: 0.7265 MB / 3.879 GB, free: 87.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-05/7.205, allocations: 16 kB / 3.879 GB, free: 87.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003849/7.206, allocations: 97.17 kB / 3.879 GB, free: 87.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.881e-05/7.206, allocations: 16.69 kB / 3.879 GB, free: 87.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/7.206, allocations: 3.953 kB / 3.879 GB, free: 87.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009186/7.215, allocations: 7.184 MB / 3.886 GB, free: 81.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/7.216, allocations: 353.1 kB / 3.887 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/7.216, allocations: 75.94 kB / 3.887 GB, free: 81.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/7.219, allocations: 291.3 kB / 3.887 GB, free: 80.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000507/7.22, allocations: 315.9 kB / 3.887 GB, free: 80.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005383/7.22, allocations: 178.9 kB / 3.888 GB, free: 80.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007805/7.221, allocations: 0.6733 MB / 3.888 GB, free: 80.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/7.221, allocations: 4 kB / 3.888 GB, free: 80 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003009/7.224, allocations: 1.124 MB / 3.889 GB, free: 78.89 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 () * 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.001844/7.226, allocations: 0.8754 MB / 3.89 GB, free: 78.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006337/7.232, allocations: 4.254 MB / 3.894 GB, free: 74.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/7.232, allocations: 5 kB / 3.894 GB, free: 74.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003173/7.236, allocations: 2.251 MB / 3.896 GB, free: 71.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005194/7.241, allocations: 1.165 MB / 3.898 GB, free: 70.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/7.253, allocations: 7.744 MB / 3.905 GB, free: 63.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/7.254, allocations: 1.884 MB / 3.907 GB, free: 61.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006614/7.261, allocations: 1.778 MB / 3.909 GB, free: 59.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/7.262, allocations: 295.3 kB / 3.909 GB, free: 59.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/7.262, allocations: 0 / 3.909 GB, free: 59.35 MB / 442.7 MB Notification: Performance of Templates: time 0.2666/7.529, allocations: 64.79 MB / 3.972 GB, free: 105.7 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches