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.001006/0.001006, allocations: 176.6 kB / 17.4 MB, free: 4.398 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.262/1.262, allocations: 223.3 MB / 241.4 MB, free: 9.988 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.0008291/0.0008292, allocations: 101.6 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2073, allocations: 50.39 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.881/6.088, allocations: 3.326 GB / 3.72 GB, free: 86.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/6.088, allocations: 69.72 kB / 3.72 GB, free: 86.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4478/6.536, allocations: 102.9 MB / 3.82 GB, free: 113.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/6.536, allocations: 1.844 kB / 3.82 GB, free: 113.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.537e-05/6.536, allocations: 48.91 kB / 3.82 GB, free: 113.7 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.008912/6.545, allocations: 2.766 MB / 3.823 GB, free: 112.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/6.545, allocations: 13.06 kB / 3.823 GB, free: 112.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/6.548, allocations: 323 kB / 3.823 GB, free: 112.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/6.551, allocations: 1.342 MB / 3.824 GB, free: 112.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/6.551, allocations: 189.3 kB / 3.825 GB, free: 112.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006983/6.551, allocations: 244.7 kB / 3.825 GB, free: 112.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006536/6.558, allocations: 3.758 MB / 3.829 GB, free: 112.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.501e-05/6.558, allocations: 4.125 kB / 3.829 GB, free: 112.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005483/6.559, allocations: 115.4 kB / 3.829 GB, free: 112.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/6.559, allocations: 58.22 kB / 3.829 GB, free: 112.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007831/6.567, allocations: 5.898 MB / 3.835 GB, free: 112.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/6.584, allocations: 10.62 MB / 3.845 GB, free: 108.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006391/6.59, allocations: 5.023 MB / 3.85 GB, free: 107.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003466/6.594, allocations: 2.399 MB / 3.852 GB, free: 106.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/6.595, allocations: 439.7 kB / 3.853 GB, free: 106.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.712e-05/6.595, allocations: 95.69 kB / 3.853 GB, free: 106 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 5.35e-06/6.595, allocations: 0 / 3.853 GB, free: 106 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.008971/6.604, allocations: 5.786 MB / 3.858 GB, free: 104.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/6.604, allocations: 89.22 kB / 3.858 GB, free: 104.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/6.605, allocations: 0.87 MB / 3.859 GB, free: 104 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003997/6.605, allocations: 102.6 kB / 3.859 GB, free: 103.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/6.605, allocations: 0.5157 MB / 3.86 GB, free: 103.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007957/6.606, allocations: 1.304 MB / 3.861 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/6.606, allocations: 68.66 kB / 3.861 GB, free: 102.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/6.607, allocations: 0.4995 MB / 3.862 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/6.609, allocations: 1.731 MB / 3.863 GB, free: 100.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/6.611, allocations: 2.253 MB / 3.866 GB, free: 98.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005221/6.617, allocations: 4.313 MB / 3.87 GB, free: 94.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/6.617, allocations: 4 kB / 3.87 GB, free: 94.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006108/6.623, allocations: 4.569 MB / 3.874 GB, free: 91.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/6.623, allocations: 11.94 kB / 3.874 GB, free: 91.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/6.623, allocations: 14.81 kB / 3.874 GB, free: 91.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/6.623, allocations: 28 kB / 3.874 GB, free: 91.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/6.626, allocations: 0.7869 MB / 3.875 GB, free: 90.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.888e-05/6.626, allocations: 35.17 kB / 3.875 GB, free: 90.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/6.629, allocations: 424.3 kB / 3.875 GB, free: 89.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002892/6.629, allocations: 146 kB / 3.876 GB, free: 89.86 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.001286/6.63, allocations: 0.7593 MB / 3.876 GB, free: 89.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005129/6.631, allocations: 213.7 kB / 3.877 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/6.638, allocations: 5.153 MB / 3.882 GB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/6.638, allocations: 43.41 kB / 3.882 GB, free: 84.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/6.638, allocations: 3.516 kB / 3.882 GB, free: 84.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-05/6.638, allocations: 18.56 kB / 3.882 GB, free: 84.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/6.643, allocations: 2.824 MB / 3.884 GB, free: 82.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/6.643, allocations: 0 / 3.884 GB, free: 82.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003099/6.646, allocations: 0.7276 MB / 3.885 GB, free: 82.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.208e-05/6.646, allocations: 19.53 kB / 3.885 GB, free: 82.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/6.646, allocations: 91.39 kB / 3.885 GB, free: 82.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/6.646, allocations: 19.94 kB / 3.885 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/6.646, allocations: 0 / 3.885 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008363/6.654, allocations: 7.188 MB / 3.892 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/6.655, allocations: 353.8 kB / 3.893 GB, free: 74.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/6.655, allocations: 79.86 kB / 3.893 GB, free: 74.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/6.658, allocations: 285.2 kB / 3.893 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/6.659, allocations: 314.1 kB / 3.893 GB, free: 73.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000372/6.659, allocations: 175.9 kB / 3.893 GB, free: 73.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006541/6.66, allocations: 0.6746 MB / 3.894 GB, free: 73.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.61e-07/6.66, allocations: 0 / 3.894 GB, free: 73.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002359/6.662, allocations: 1.14 MB / 3.895 GB, free: 71.96 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.001481/6.663, allocations: 0.8514 MB / 3.896 GB, free: 71.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00522/6.669, allocations: 4.251 MB / 3.9 GB, free: 67.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/6.669, allocations: 9 kB / 3.9 GB, free: 67.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/6.671, allocations: 2.251 MB / 3.902 GB, free: 64.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/6.676, allocations: 1.234 MB / 3.904 GB, free: 63.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/6.686, allocations: 7.777 MB / 3.911 GB, free: 55.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/6.687, allocations: 1.848 MB / 3.913 GB, free: 54.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006016/6.693, allocations: 1.77 MB / 3.915 GB, free: 52.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/6.695, allocations: 299.3 kB / 3.915 GB, free: 52.07 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/6.695, allocations: 0 / 3.915 GB, free: 52.07 MB / 442.7 MB Notification: Performance of Templates: time 0.2543/6.949, allocations: 65.93 MB / 3.979 GB, free: 102 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/jenkins1/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