Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Media.Examples.PsychrometricData") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002094, allocations: 195.4 kB / 8.535 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 93.16 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.205e-06, allocations: 0 / 343.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 51.47 MB / 394.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.106/8.23, allocations: 3.319 GB / 3.704 GB, free: 62.96 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/8.231, allocations: 67.97 kB / 3.704 GB, free: 62.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.5603/8.791, allocations: 102.4 MB / 3.804 GB, free: 96.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001495/8.791, allocations: 58.47 kB / 3.804 GB, free: 96.44 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.01249/8.804, allocations: 2.575 MB / 3.807 GB, free: 95.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.506e-05/8.804, allocations: 9.734 kB / 3.807 GB, free: 95.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/8.808, allocations: 323.6 kB / 3.807 GB, free: 95.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/8.814, allocations: 1.352 MB / 3.808 GB, free: 94.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/8.814, allocations: 79.42 kB / 3.808 GB, free: 94.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/8.815, allocations: 146.3 kB / 3.809 GB, free: 94.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01542/8.831, allocations: 5.828 MB / 3.814 GB, free: 94.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/8.842, allocations: 3.449 MB / 3.818 GB, free: 94.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/8.842, allocations: 3.422 kB / 3.818 GB, free: 94.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/8.844, allocations: 5.875 kB / 3.818 GB, free: 94.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/8.844, allocations: 57.97 kB / 3.818 GB, free: 94.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02861/8.873, allocations: 10.33 MB / 3.828 GB, free: 88.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008449/8.881, allocations: 4.557 MB / 3.832 GB, free: 87.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004264/8.886, allocations: 2.333 MB / 3.835 GB, free: 87.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/8.887, allocations: 442.9 kB / 3.835 GB, free: 86.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/8.887, allocations: 95.91 kB / 3.835 GB, free: 86.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 1.145e-05/8.887, allocations: 0 / 3.835 GB, free: 86.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.01253/8.899, allocations: 4.518 MB / 3.839 GB, free: 85.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/8.899, allocations: 90.94 kB / 3.84 GB, free: 85.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/8.9, allocations: 0.5485 MB / 3.84 GB, free: 85.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00102/8.901, allocations: 37.92 kB / 3.84 GB, free: 85.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/8.902, allocations: 491.4 kB / 3.841 GB, free: 84.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001657/8.903, allocations: 1.252 MB / 3.842 GB, free: 83.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/8.904, allocations: 0 / 3.842 GB, free: 83.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003865/8.904, allocations: 485.6 kB / 3.842 GB, free: 83.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003025/8.907, allocations: 1.721 MB / 3.844 GB, free: 83.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/8.911, allocations: 2.198 MB / 3.846 GB, free: 82.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006524/8.917, allocations: 2.673 MB / 3.849 GB, free: 81.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-05/8.917, allocations: 7.125 kB / 3.849 GB, free: 81.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01292/8.93, allocations: 4.961 MB / 3.854 GB, free: 79.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/8.93, allocations: 7.938 kB / 3.854 GB, free: 79.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.075e-05/8.931, allocations: 19.89 kB / 3.854 GB, free: 79.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.411e-05/8.931, allocations: 28.81 kB / 3.854 GB, free: 79.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/8.935, allocations: 0.7684 MB / 3.854 GB, free: 78.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001051/8.935, allocations: 38.67 kB / 3.854 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/8.939, allocations: 316.9 kB / 3.855 GB, free: 77.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008254/8.94, allocations: 147.9 kB / 3.855 GB, free: 77.81 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 () * 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.001533/8.941, allocations: 178.5 kB / 3.855 GB, free: 77.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/8.943, allocations: 189.9 kB / 3.855 GB, free: 77.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/8.956, allocations: 5.589 MB / 3.861 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/8.956, allocations: 40 kB / 3.861 GB, free: 71.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/8.956, allocations: 4 kB / 3.861 GB, free: 71.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.105e-05/8.956, allocations: 19.92 kB / 3.861 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/8.974, allocations: 7.5 MB / 3.868 GB, free: 64.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/8.974, allocations: 5 kB / 3.868 GB, free: 64.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004181/8.978, allocations: 0.7103 MB / 3.869 GB, free: 63.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.173e-05/8.978, allocations: 16 kB / 3.869 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005935/8.979, allocations: 43.95 kB / 3.869 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-05/8.979, allocations: 19.94 kB / 3.869 GB, free: 63.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/8.979, allocations: 7.906 kB / 3.869 GB, free: 63.5 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01588/8.995, allocations: 7.941 MB / 3.877 GB, free: 55.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/8.996, allocations: 333.8 kB / 3.877 GB, free: 55.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008299/8.997, allocations: 12 kB / 3.877 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004417/9.002, allocations: 191.6 kB / 3.877 GB, free: 54.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006954/9.002, allocations: 270.8 kB / 3.877 GB, free: 54.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008879/9.003, allocations: 183.9 kB / 3.878 GB, free: 54.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0007281/9.004, allocations: 482.8 kB / 3.878 GB, free: 53.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004922/9.009, allocations: 1.01 MB / 3.879 GB, free: 52.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.003035/9.012, allocations: 0.9083 MB / 3.88 GB, free: 52.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00713/9.019, allocations: 4.202 MB / 3.884 GB, free: 47.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.271e-05/9.019, allocations: 4.781 kB / 3.884 GB, free: 47.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003472/9.023, allocations: 2.301 MB / 3.886 GB, free: 45.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006327/9.029, allocations: 0.849 MB / 3.887 GB, free: 44.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/9.046, allocations: 6.155 MB / 3.893 GB, free: 38.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003861/9.05, allocations: 2.279 MB / 3.895 GB, free: 36.31 MB / 442.7 MB Notification: Performance of SimCode: time 3.627e-06/9.05, allocations: 3.938 kB / 3.895 GB, free: 36.3 MB / 442.7 MB Notification: Performance of Templates: time 0.3737/9.424, allocations: 65.32 MB / 3.959 GB, free: 135.1 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches