Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001537, allocations: 181.4 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000911/0.0009112, allocations: 89.05 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8 kB / 328.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2904, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.249/7.539, allocations: 3.623 GB / 3.99 GB, free: 108.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/7.54, allocations: 71.97 kB / 3.99 GB, free: 108.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.24/7.78, allocations: 104.4 MB / 4.092 GB, free: 3.309 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.136e-06/7.78, allocations: 0 / 4.092 GB, free: 3.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.786e-05/7.78, allocations: 55.98 kB / 4.092 GB, free: 3.254 MB / 426.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.01024/7.79, allocations: 2.792 MB / 4.094 GB, free: 408 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/7.79, allocations: 12.03 kB / 4.094 GB, free: 396 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/7.793, allocations: 313.2 kB / 4.095 GB, free: 80 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2745/8.067, allocations: 1.331 MB / 4.096 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/8.067, allocations: 179.4 kB / 4.096 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000663/8.068, allocations: 252.4 kB / 4.096 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006626/8.075, allocations: 3.736 MB / 4.1 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/8.075, allocations: 0 / 4.1 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004993/8.075, allocations: 117 kB / 4.1 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/8.075, allocations: 60.47 kB / 4.1 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008936/8.084, allocations: 5.894 MB / 4.106 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/8.109, allocations: 10.62 MB / 4.116 GB, free: 96.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/8.116, allocations: 5.037 MB / 4.121 GB, free: 96.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/8.117, allocations: 433.7 kB / 4.122 GB, free: 96.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/8.117, allocations: 98.11 kB / 4.122 GB, free: 96.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.201e-06/8.117, allocations: 0 / 4.122 GB, free: 96.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.00928/8.127, allocations: 5.791 MB / 4.127 GB, free: 96.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/8.127, allocations: 90.84 kB / 4.128 GB, free: 95.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/8.128, allocations: 0.7852 MB / 4.128 GB, free: 95.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005341/8.128, allocations: 101.4 kB / 4.128 GB, free: 95.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/8.129, allocations: 0.5156 MB / 4.129 GB, free: 95.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/8.13, allocations: 1.307 MB / 4.13 GB, free: 94.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/8.13, allocations: 66.69 kB / 4.13 GB, free: 94.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/8.13, allocations: 0.4982 MB / 4.131 GB, free: 94.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/8.133, allocations: 1.729 MB / 4.132 GB, free: 94.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/8.135, allocations: 2.234 MB / 4.135 GB, free: 93.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/8.138, allocations: 2.105 MB / 4.137 GB, free: 92.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/8.138, allocations: 3.844 kB / 4.137 GB, free: 92.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006528/8.145, allocations: 4.559 MB / 4.141 GB, free: 91.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/8.145, allocations: 14.56 kB / 4.141 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/8.145, allocations: 11.53 kB / 4.141 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.455e-05/8.145, allocations: 26.94 kB / 4.141 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/8.148, allocations: 0.7976 MB / 4.142 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.265e-05/8.148, allocations: 33.48 kB / 4.142 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/8.152, allocations: 420.3 kB / 4.142 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/8.152, allocations: 156 kB / 4.142 GB, free: 91.29 MB / 426.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.002122/8.155, allocations: 0.7548 MB / 4.143 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009134/8.156, allocations: 213.6 kB / 4.143 GB, free: 90.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/8.164, allocations: 5.176 MB / 4.148 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/8.165, allocations: 38.7 kB / 4.149 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/8.165, allocations: 3.875 kB / 4.149 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/8.165, allocations: 18.98 kB / 4.149 GB, free: 89.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/8.17, allocations: 2.819 MB / 4.151 GB, free: 88.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/8.17, allocations: 2.531 kB / 4.151 GB, free: 88.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/8.173, allocations: 0.7329 MB / 4.152 GB, free: 88.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.475e-05/8.173, allocations: 17.55 kB / 4.152 GB, free: 88.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/8.173, allocations: 88.34 kB / 4.152 GB, free: 88.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/8.173, allocations: 13.47 kB / 4.152 GB, free: 88.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/8.173, allocations: 3.797 kB / 4.152 GB, free: 88.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009707/8.183, allocations: 7.187 MB / 4.159 GB, free: 85.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000923/8.184, allocations: 354.6 kB / 4.159 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/8.184, allocations: 82.33 kB / 4.16 GB, free: 85.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/8.188, allocations: 284.1 kB / 4.16 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004994/8.188, allocations: 313.5 kB / 4.16 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003639/8.188, allocations: 179.5 kB / 4.16 GB, free: 85.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008108/8.189, allocations: 0.6762 MB / 4.161 GB, free: 85.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/8.189, allocations: 0 / 4.161 GB, free: 85.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002922/8.192, allocations: 1.14 MB / 4.162 GB, free: 84.41 MB / 426.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.00178/8.194, allocations: 0.8831 MB / 4.163 GB, free: 83.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006481/8.2, allocations: 4.253 MB / 4.167 GB, free: 80.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/8.201, allocations: 9 kB / 4.167 GB, free: 80.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00303/8.204, allocations: 2.249 MB / 4.169 GB, free: 78.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005713/8.209, allocations: 1.167 MB / 4.17 GB, free: 77.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/8.221, allocations: 7.755 MB / 4.178 GB, free: 71.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/8.222, allocations: 1.881 MB / 4.18 GB, free: 70.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005689/8.227, allocations: 1.773 MB / 4.182 GB, free: 68.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009455/8.228, allocations: 293.5 kB / 4.182 GB, free: 68.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/8.228, allocations: 0 / 4.182 GB, free: 68.71 MB / 426.7 MB Notification: Performance of Templates: time 0.08212/8.31, allocations: 64.93 MB / 4.245 GB, free: 7.758 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches