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") [: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 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 184 kB / 8.135 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 221.4 MB / 229.9 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009716, allocations: 98.81 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.512e-06, allocations: 0 / 336.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3436, allocations: 50.41 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.678/7.022, allocations: 3.325 GB / 3.703 GB, free: 1.172 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/7.022, allocations: 63.97 kB / 3.703 GB, free: 1.109 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.4274/7.449, allocations: 102.6 MB / 3.803 GB, free: 80.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.619e-05/7.45, allocations: 44 kB / 3.804 GB, free: 80.02 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.009237/7.459, allocations: 2.57 MB / 3.806 GB, free: 77.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/7.459, allocations: 8.031 kB / 3.806 GB, free: 77.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/7.462, allocations: 325.3 kB / 3.806 GB, free: 77.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/7.466, allocations: 1.361 MB / 3.808 GB, free: 75.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/7.466, allocations: 80 kB / 3.808 GB, free: 75.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000874/7.467, allocations: 139.9 kB / 3.808 GB, free: 75.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007893/7.475, allocations: 5.829 MB / 3.814 GB, free: 69.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/7.48, allocations: 3.447 MB / 3.817 GB, free: 66.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/7.48, allocations: 0 / 3.817 GB, free: 66.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/7.48, allocations: 8 kB / 3.817 GB, free: 66.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/7.48, allocations: 56 kB / 3.817 GB, free: 66.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01832/7.499, allocations: 10.33 MB / 3.827 GB, free: 55.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00512/7.504, allocations: 4.559 MB / 3.832 GB, free: 50.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/7.506, allocations: 2.337 MB / 3.834 GB, free: 48.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/7.507, allocations: 435.3 kB / 3.834 GB, free: 47.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.157e-05/7.507, allocations: 94.41 kB / 3.834 GB, free: 47.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 5.721e-06/7.507, allocations: 0 / 3.834 GB, free: 47.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.007827/7.515, allocations: 4.52 MB / 3.839 GB, free: 42.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/7.515, allocations: 94.45 kB / 3.839 GB, free: 42.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/7.515, allocations: 0.5478 MB / 3.839 GB, free: 42.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002975/7.516, allocations: 29.7 kB / 3.839 GB, free: 42.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/7.516, allocations: 494.8 kB / 3.84 GB, free: 41.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006811/7.517, allocations: 1.255 MB / 3.841 GB, free: 40.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/7.517, allocations: 0 / 3.841 GB, free: 40.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/7.517, allocations: 490.2 kB / 3.842 GB, free: 40.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/7.519, allocations: 1.721 MB / 3.843 GB, free: 38.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/7.521, allocations: 2.205 MB / 3.845 GB, free: 35.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004671/7.526, allocations: 2.672 MB / 3.848 GB, free: 33.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/7.526, allocations: 0 / 3.848 GB, free: 33.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007826/7.534, allocations: 4.958 MB / 3.853 GB, free: 28.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/7.534, allocations: 4.938 kB / 3.853 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/7.534, allocations: 12 kB / 3.853 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.274e-05/7.534, allocations: 31.91 kB / 3.853 GB, free: 28.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/7.537, allocations: 0.7801 MB / 3.854 GB, free: 27.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.423e-05/7.537, allocations: 39.86 kB / 3.854 GB, free: 27.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/7.54, allocations: 309 kB / 3.854 GB, free: 27.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/7.54, allocations: 143.9 kB / 3.854 GB, free: 26.96 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.0009395/7.541, allocations: 188 kB / 3.854 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/7.542, allocations: 189.9 kB / 3.854 GB, free: 26.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009953/7.552, allocations: 5.579 MB / 3.86 GB, free: 20.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/7.552, allocations: 44 kB / 3.86 GB, free: 20.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/7.552, allocations: 0 / 3.86 GB, free: 20.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/7.552, allocations: 19.92 kB / 3.86 GB, free: 20.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/7.565, allocations: 7.508 MB / 3.867 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/7.565, allocations: 4 kB / 3.867 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/7.569, allocations: 0.7103 MB / 3.868 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.928e-05/7.569, allocations: 16 kB / 3.868 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004084/7.569, allocations: 43.95 kB / 3.868 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-05/7.569, allocations: 19.94 kB / 3.868 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/7.569, allocations: 4 kB / 3.868 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01216/7.582, allocations: 7.939 MB / 3.876 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/7.582, allocations: 333.9 kB / 3.876 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005319/7.583, allocations: 11.98 kB / 3.876 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003695/7.587, allocations: 191.6 kB / 3.876 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005703/7.587, allocations: 266.8 kB / 3.877 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007116/7.588, allocations: 183.9 kB / 3.877 GB, free: 3.426 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0006186/7.589, allocations: 486.8 kB / 3.877 GB, free: 2.953 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003788/7.592, allocations: 1.007 MB / 3.878 GB, free: 1.945 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.002217/7.595, allocations: 0.8828 MB / 3.879 GB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.1706/7.765, allocations: 4.195 MB / 3.883 GB, free: 147.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/7.765, allocations: 8.344 kB / 3.883 GB, free: 147.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/7.769, allocations: 2.311 MB / 3.885 GB, free: 147.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/7.775, allocations: 0.8367 MB / 3.886 GB, free: 147.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/7.79, allocations: 6.162 MB / 3.892 GB, free: 146.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003258/7.793, allocations: 2.278 MB / 3.895 GB, free: 145.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/7.793, allocations: 0 / 3.895 GB, free: 145.8 MB / 442.7 MB Notification: Performance of Templates: time 0.09698/7.89, allocations: 65.2 MB / 3.958 GB, free: 125.1 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/jenkins/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