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.001119/0.001119, allocations: 182.7 kB / 18.04 MB, free: 3.66 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.339/1.339, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0008244/0.0008245, allocations: 87.06 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002968, allocations: 8 kB / 329.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2262, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.271/6.497, allocations: 3.623 GB / 3.991 GB, free: 106.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/6.498, allocations: 75.25 kB / 3.991 GB, free: 106.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2412/6.739, allocations: 104.4 MB / 4.093 GB, free: 1.465 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/6.739, allocations: 0 / 4.093 GB, free: 1.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.651e-05/6.739, allocations: 48 kB / 4.093 GB, free: 1.418 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.2155/6.955, allocations: 2.768 MB / 4.096 GB, free: 100.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/6.955, allocations: 7.656 kB / 4.096 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/6.957, allocations: 318.8 kB / 4.096 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/6.961, allocations: 1.346 MB / 4.097 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/6.961, allocations: 187.4 kB / 4.097 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006718/6.962, allocations: 242.7 kB / 4.098 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006944/6.969, allocations: 3.763 MB / 4.101 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/6.969, allocations: 3.469 kB / 4.101 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000551/6.969, allocations: 116.8 kB / 4.101 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/6.969, allocations: 58.38 kB / 4.102 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009303/6.979, allocations: 5.901 MB / 4.107 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/6.999, allocations: 10.61 MB / 4.118 GB, free: 96.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006701/7.006, allocations: 5.031 MB / 4.123 GB, free: 96.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003592/7.01, allocations: 2.397 MB / 4.125 GB, free: 95.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/7.01, allocations: 438.5 kB / 4.125 GB, free: 95.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.936e-05/7.011, allocations: 94.78 kB / 4.125 GB, free: 95.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.001e-06/7.011, allocations: 0 / 4.125 GB, free: 95.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.008943/7.02, allocations: 5.79 MB / 4.131 GB, free: 95.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/7.02, allocations: 95.23 kB / 4.131 GB, free: 95.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/7.021, allocations: 0.8624 MB / 4.132 GB, free: 95.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007043/7.021, allocations: 104 kB / 4.132 GB, free: 95.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/7.022, allocations: 0.5177 MB / 4.133 GB, free: 94.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001278/7.023, allocations: 1.306 MB / 4.134 GB, free: 93.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/7.023, allocations: 78.41 kB / 4.134 GB, free: 93.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/7.024, allocations: 0.4908 MB / 4.134 GB, free: 93.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/7.026, allocations: 1.731 MB / 4.136 GB, free: 92.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/7.029, allocations: 2.248 MB / 4.138 GB, free: 91.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005505/7.034, allocations: 4.32 MB / 4.143 GB, free: 90.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/7.034, allocations: 3.781 kB / 4.143 GB, free: 90.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006503/7.041, allocations: 4.561 MB / 4.147 GB, free: 88.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/7.041, allocations: 7.719 kB / 4.147 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/7.041, allocations: 11.91 kB / 4.147 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/7.041, allocations: 26.5 kB / 4.147 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/7.044, allocations: 0.8007 MB / 4.148 GB, free: 88.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.945e-05/7.044, allocations: 37.08 kB / 4.148 GB, free: 88.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/7.047, allocations: 427.7 kB / 4.148 GB, free: 88.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/7.048, allocations: 145 kB / 4.148 GB, free: 88.7 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.001701/7.049, allocations: 0.7576 MB / 4.149 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000633/7.05, allocations: 215 kB / 4.149 GB, free: 88.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007869/7.058, allocations: 5.152 MB / 4.154 GB, free: 86.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/7.058, allocations: 42.09 kB / 4.154 GB, free: 86.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/7.058, allocations: 0 / 4.154 GB, free: 86.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.78e-05/7.058, allocations: 18.8 kB / 4.154 GB, free: 86.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/7.063, allocations: 2.824 MB / 4.157 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/7.063, allocations: 3.562 kB / 4.157 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/7.066, allocations: 0.7316 MB / 4.158 GB, free: 85.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.203e-05/7.066, allocations: 14.59 kB / 4.158 GB, free: 85.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/7.066, allocations: 93 kB / 4.158 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/7.066, allocations: 17.84 kB / 4.158 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/7.066, allocations: 0.625 kB / 4.158 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009264/7.076, allocations: 7.187 MB / 4.165 GB, free: 80.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/7.077, allocations: 357.7 kB / 4.165 GB, free: 80.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/7.077, allocations: 76 kB / 4.165 GB, free: 80.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/7.08, allocations: 285.2 kB / 4.166 GB, free: 80.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/7.08, allocations: 313.4 kB / 4.166 GB, free: 80.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004161/7.081, allocations: 182.4 kB / 4.166 GB, free: 80.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008321/7.082, allocations: 0.6766 MB / 4.167 GB, free: 79.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/7.082, allocations: 3.312 kB / 4.167 GB, free: 79.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002705/7.084, allocations: 1.134 MB / 4.168 GB, free: 78.38 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.00202/7.086, allocations: 0.8725 MB / 4.169 GB, free: 77.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006017/7.092, allocations: 4.257 MB / 4.173 GB, free: 74.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/7.093, allocations: 12.39 kB / 4.173 GB, free: 74.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002859/7.095, allocations: 2.254 MB / 4.175 GB, free: 72.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/7.101, allocations: 1.234 MB / 4.176 GB, free: 71.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/7.112, allocations: 7.765 MB / 4.184 GB, free: 65.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/7.113, allocations: 1.853 MB / 4.186 GB, free: 63.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005794/7.119, allocations: 1.769 MB / 4.188 GB, free: 62.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009927/7.12, allocations: 297.7 kB / 4.188 GB, free: 62.5 MB / 426.7 MB Notification: Performance of SimCode: time 6.92e-07/7.12, allocations: 0 / 4.188 GB, free: 62.5 MB / 426.7 MB Notification: Performance of Templates: time 0.2564/7.377, allocations: 66.07 MB / 4.252 GB, free: 95.68 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/jenkins1/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