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.001457/0.001457, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 78.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.939e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 47.58 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.884/10.03, allocations: 3.622 GB / 3.977 GB, free: 46.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/10.03, allocations: 68.16 kB / 3.977 GB, free: 46.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5241/10.56, allocations: 103.3 MB / 4.078 GB, free: 118 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.507e-06/10.56, allocations: 0 / 4.078 GB, free: 118 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00015/10.56, allocations: 53.25 kB / 4.078 GB, free: 118 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.01205/10.57, allocations: 2.687 MB / 4.08 GB, free: 116.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/10.57, allocations: 12.03 kB / 4.08 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/10.57, allocations: 313.3 kB / 4.081 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005003/10.58, allocations: 1.333 MB / 4.082 GB, free: 114.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/10.58, allocations: 80 kB / 4.082 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/10.58, allocations: 143.2 kB / 4.082 GB, free: 114.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01121/10.59, allocations: 5.661 MB / 4.088 GB, free: 108.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00944/10.6, allocations: 3.302 MB / 4.091 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/10.6, allocations: 0 / 4.091 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001388/10.6, allocations: 4 kB / 4.091 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-05/10.6, allocations: 60 kB / 4.091 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/10.63, allocations: 10.17 MB / 4.101 GB, free: 94.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007209/10.64, allocations: 4.774 MB / 4.105 GB, free: 89.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/10.64, allocations: 2.221 MB / 4.108 GB, free: 87.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000839/10.64, allocations: 436.3 kB / 4.108 GB, free: 87.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/10.64, allocations: 94.41 kB / 4.108 GB, free: 87.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 8.356e-06/10.64, allocations: 4 kB / 4.108 GB, free: 87.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.01005/10.65, allocations: 4.409 MB / 4.112 GB, free: 82.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/10.65, allocations: 90.47 kB / 4.113 GB, free: 82.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/10.65, allocations: 0.5283 MB / 4.113 GB, free: 81.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007098/10.65, allocations: 29.7 kB / 4.113 GB, free: 81.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/10.65, allocations: 0.5379 MB / 4.114 GB, free: 81.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001299/10.65, allocations: 1.251 MB / 4.115 GB, free: 80.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/10.65, allocations: 4 kB / 4.115 GB, free: 80.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003142/10.65, allocations: 490.2 kB / 4.115 GB, free: 79.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/10.66, allocations: 1.619 MB / 4.117 GB, free: 77.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/10.66, allocations: 2.103 MB / 4.119 GB, free: 75.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005457/10.66, allocations: 2.644 MB / 4.122 GB, free: 73.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.647e-05/10.66, allocations: 4 kB / 4.122 GB, free: 73.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009741/10.67, allocations: 4.82 MB / 4.126 GB, free: 68.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/10.67, allocations: 12 kB / 4.126 GB, free: 68.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/10.67, allocations: 16 kB / 4.126 GB, free: 68.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.299e-05/10.67, allocations: 28 kB / 4.126 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/10.68, allocations: 0.7921 MB / 4.127 GB, free: 67.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.193e-05/10.68, allocations: 35.92 kB / 4.127 GB, free: 67.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/10.68, allocations: 336.9 kB / 4.127 GB, free: 66.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005261/10.68, allocations: 147.9 kB / 4.128 GB, free: 66.84 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 () * 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.001113/10.68, allocations: 180.1 kB / 4.128 GB, free: 66.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/10.68, allocations: 186 kB / 4.128 GB, free: 66.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/10.69, allocations: 5.386 MB / 4.133 GB, free: 61.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/10.69, allocations: 44 kB / 4.133 GB, free: 61.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/10.69, allocations: 0 / 4.133 GB, free: 61.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-05/10.69, allocations: 19.92 kB / 4.133 GB, free: 60.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/10.7, allocations: 2.483 MB / 4.136 GB, free: 58.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/10.7, allocations: 0 / 4.136 GB, free: 58.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/10.7, allocations: 0.7255 MB / 4.136 GB, free: 57.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.7e-05/10.7, allocations: 19.95 kB / 4.136 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/10.7, allocations: 35.95 kB / 4.136 GB, free: 57.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/10.7, allocations: 16 kB / 4.136 GB, free: 57.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/10.7, allocations: 0 / 4.136 GB, free: 57.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/10.72, allocations: 7.373 MB / 4.144 GB, free: 50.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009629/10.72, allocations: 334 kB / 4.144 GB, free: 50 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/10.72, allocations: 11.94 kB / 4.144 GB, free: 49.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003749/10.72, allocations: 211.5 kB / 4.144 GB, free: 49.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/10.72, allocations: 310.9 kB / 4.144 GB, free: 49.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006572/10.72, allocations: 183.9 kB / 4.145 GB, free: 49.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006466/10.72, allocations: 470.8 kB / 4.145 GB, free: 48.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/10.72, allocations: 0 / 4.145 GB, free: 48.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004257/10.73, allocations: 1.013 MB / 4.146 GB, free: 47.83 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 () * 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.002575/10.73, allocations: 0.8783 MB / 4.147 GB, free: 47.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006238/10.74, allocations: 3.981 MB / 4.151 GB, free: 43.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/10.74, allocations: 8.844 kB / 4.151 GB, free: 43.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002782/10.74, allocations: 2.12 MB / 4.153 GB, free: 40.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/10.74, allocations: 0.8757 MB / 4.154 GB, free: 40.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/10.76, allocations: 5.873 MB / 4.159 GB, free: 34.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/10.76, allocations: 1.883 MB / 4.161 GB, free: 32.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008819/10.77, allocations: 1.73 MB / 4.163 GB, free: 30.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/10.77, allocations: 283.3 kB / 4.163 GB, free: 30.18 MB / 426.7 MB Notification: Performance of SimCode: time 2.474e-06/10.77, allocations: 0 / 4.163 GB, free: 30.18 MB / 426.7 MB Notification: Performance of Templates: time 0.3598/11.13, allocations: 55.09 MB / 4.217 GB, free: 112.8 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