Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 199.6 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.821/2.821, allocations: 226.5 MB / 245.3 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006105/0.006104, allocations: 92.66 kB / 297.4 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004494, allocations: 8 kB / 357.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5877/0.5882, allocations: 51.3 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.78/14.37, allocations: 3.327 GB / 3.726 GB, free: 148.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000419/14.37, allocations: 63.97 kB / 3.726 GB, free: 148.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4015/14.77, allocations: 102.9 MB / 3.827 GB, free: 44.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.424e-06/14.77, allocations: 0 / 3.827 GB, free: 44.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001266/14.77, allocations: 55.92 kB / 3.827 GB, free: 44.66 MB / 458.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.01715/14.78, allocations: 2.781 MB / 3.829 GB, free: 41.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/14.78, allocations: 8.031 kB / 3.829 GB, free: 41.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005211/14.79, allocations: 322.2 kB / 3.83 GB, free: 41.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006808/14.8, allocations: 1.344 MB / 3.831 GB, free: 40.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/14.8, allocations: 177.2 kB / 3.831 GB, free: 39.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/14.8, allocations: 248.3 kB / 3.831 GB, free: 39.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02041/14.82, allocations: 3.761 MB / 3.835 GB, free: 35.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-05/14.82, allocations: 192 / 3.835 GB, free: 35.87 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/14.82, allocations: 131.8 kB / 3.835 GB, free: 35.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.553e-05/14.82, allocations: 56 kB / 3.835 GB, free: 35.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/14.84, allocations: 5.896 MB / 3.841 GB, free: 29.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03736/14.88, allocations: 10.62 MB / 3.851 GB, free: 18.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/14.9, allocations: 5.023 MB / 3.856 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006849/14.91, allocations: 2.4 MB / 3.859 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/14.91, allocations: 443.3 kB / 3.859 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/14.91, allocations: 94.62 kB / 3.859 GB, free: 10.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=390): time 9.838e-06/14.91, allocations: 0 / 3.859 GB, free: 10.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=390): time 0.02143/14.93, allocations: 5.788 MB / 3.865 GB, free: 4.547 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/14.93, allocations: 94.45 kB / 3.865 GB, free: 4.441 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/14.93, allocations: 0.8634 MB / 3.866 GB, free: 3.566 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001395/14.93, allocations: 105.7 kB / 3.866 GB, free: 3.457 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/14.93, allocations: 0.5111 MB / 3.866 GB, free: 2.938 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002612/14.94, allocations: 1.301 MB / 3.868 GB, free: 1.617 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003803/14.94, allocations: 76 kB / 3.868 GB, free: 1.543 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004566/14.94, allocations: 0.4944 MB / 3.868 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5804/15.52, allocations: 1.731 MB / 3.87 GB, free: 113.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01182/15.53, allocations: 2.243 MB / 3.872 GB, free: 113 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/15.54, allocations: 4.319 MB / 3.876 GB, free: 112.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-05/15.54, allocations: 2.75 kB / 3.876 GB, free: 112.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.02335/15.57, allocations: 4.568 MB / 3.881 GB, free: 112.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.62e-05/15.57, allocations: 9.594 kB / 3.881 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.867e-05/15.57, allocations: 14.25 kB / 3.881 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.426e-05/15.57, allocations: 27.25 kB / 3.881 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007128/15.57, allocations: 0.7942 MB / 3.881 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001452/15.57, allocations: 33.12 kB / 3.882 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005674/15.58, allocations: 422.1 kB / 3.882 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/15.58, allocations: 145.1 kB / 3.882 GB, free: 112.3 MB / 458.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.004059/15.59, allocations: 0.7681 MB / 3.883 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002162/15.59, allocations: 205.9 kB / 3.883 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02211/15.61, allocations: 5.152 MB / 3.888 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.457e-05/15.61, allocations: 40.75 kB / 3.888 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/15.61, allocations: 3.25 kB / 3.888 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001647/15.61, allocations: 22.41 kB / 3.888 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/15.62, allocations: 2.821 MB / 3.891 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-05/15.62, allocations: 0 / 3.891 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006512/15.63, allocations: 0.7261 MB / 3.892 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.884e-05/15.63, allocations: 15.28 kB / 3.892 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00116/15.63, allocations: 89.98 kB / 3.892 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.114e-05/15.63, allocations: 20.53 kB / 3.892 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/15.63, allocations: 0 / 3.892 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02247/15.65, allocations: 7.185 MB / 3.899 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/15.65, allocations: 356.9 kB / 3.899 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/15.66, allocations: 72.34 kB / 3.899 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006421/15.66, allocations: 291.5 kB / 3.899 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001821/15.66, allocations: 313.4 kB / 3.9 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001279/15.67, allocations: 179.1 kB / 3.9 GB, free: 111.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001842/15.67, allocations: 0.6851 MB / 3.901 GB, free: 111 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.41e-07/15.67, allocations: 0 / 3.901 GB, free: 111 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007762/15.68, allocations: 1.142 MB / 3.902 GB, free: 110.9 MB / 458.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.003878/15.68, allocations: 0.8718 MB / 3.902 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01554/15.69, allocations: 4.254 MB / 3.907 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.654e-05/15.7, allocations: 4.938 kB / 3.907 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007152/15.7, allocations: 2.254 MB / 3.909 GB, free: 109.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/15.72, allocations: 1.232 MB / 3.91 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/15.74, allocations: 7.877 MB / 3.918 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/15.74, allocations: 1.864 MB / 3.92 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003043/15.75, allocations: 328.3 kB / 3.92 GB, free: 105.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.403e-06/15.75, allocations: 0 / 3.92 GB, free: 105.7 MB / 458.7 MB Notification: Performance of Templates: time 0.1258/15.87, allocations: 48.95 MB / 3.968 GB, free: 74.07 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches