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.001353/0.001353, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.58/1.58, allocations: 221.3 MB / 235.5 MB, free: 2.883 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.0009969/0.0009969, allocations: 96.67 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.157e-05, allocations: 4 kB / 343.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 50.41 MB / 394.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.698/9.822, allocations: 3.326 GB / 3.711 GB, free: 15.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/9.822, allocations: 71.86 kB / 3.711 GB, free: 15.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6285/10.45, allocations: 102.9 MB / 3.812 GB, free: 90.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/10.45, allocations: 0 / 3.812 GB, free: 90.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.99e-05/10.45, allocations: 52 kB / 3.812 GB, free: 90.41 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.009882/10.46, allocations: 2.671 MB / 3.814 GB, free: 87.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/10.46, allocations: 16.03 kB / 3.814 GB, free: 87.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/10.46, allocations: 317.2 kB / 3.815 GB, free: 87.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/10.47, allocations: 1.33 MB / 3.816 GB, free: 85.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/10.47, allocations: 180.9 kB / 3.816 GB, free: 85.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006481/10.47, allocations: 240 kB / 3.816 GB, free: 85.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00655/10.48, allocations: 3.675 MB / 3.82 GB, free: 81.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/10.48, allocations: 0 / 3.82 GB, free: 81.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004827/10.48, allocations: 116 kB / 3.82 GB, free: 81.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/10.48, allocations: 63.89 kB / 3.82 GB, free: 81.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007651/10.48, allocations: 5.792 MB / 3.826 GB, free: 75.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/10.51, allocations: 10.63 MB / 3.836 GB, free: 64.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/10.51, allocations: 4.936 MB / 3.841 GB, free: 59.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/10.52, allocations: 2.345 MB / 3.843 GB, free: 57.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/10.52, allocations: 435.3 kB / 3.844 GB, free: 56.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/10.52, allocations: 94.41 kB / 3.844 GB, free: 56.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 6.753e-06/10.52, allocations: 0 / 3.844 GB, free: 56.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.007815/10.53, allocations: 3.999 MB / 3.848 GB, free: 52.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/10.53, allocations: 94.47 kB / 3.848 GB, free: 52.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/10.53, allocations: 0.773 MB / 3.848 GB, free: 51.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006284/10.53, allocations: 101.7 kB / 3.849 GB, free: 51.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/10.53, allocations: 0.5227 MB / 3.849 GB, free: 51.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/10.53, allocations: 1.305 MB / 3.85 GB, free: 49.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/10.53, allocations: 68 kB / 3.85 GB, free: 49.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/10.53, allocations: 0.4944 MB / 3.851 GB, free: 49.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/10.53, allocations: 1.697 MB / 3.853 GB, free: 47.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/10.54, allocations: 2.188 MB / 3.855 GB, free: 45.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/10.54, allocations: 2.069 MB / 3.857 GB, free: 43.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/10.54, allocations: 4 kB / 3.857 GB, free: 43.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006681/10.55, allocations: 4.477 MB / 3.861 GB, free: 38.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/10.55, allocations: 12 kB / 3.861 GB, free: 38.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/10.55, allocations: 8 kB / 3.861 GB, free: 38.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.987e-05/10.55, allocations: 36.02 kB / 3.861 GB, free: 38.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/10.55, allocations: 0.7957 MB / 3.862 GB, free: 37.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.25e-05/10.55, allocations: 43.8 kB / 3.862 GB, free: 37.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/10.55, allocations: 420.5 kB / 3.862 GB, free: 37.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000408/10.55, allocations: 147.9 kB / 3.863 GB, free: 37.07 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.001008/10.55, allocations: 320.1 kB / 3.863 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008898/10.56, allocations: 209.8 kB / 3.863 GB, free: 36.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008622/10.56, allocations: 5.08 MB / 3.868 GB, free: 31.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/10.56, allocations: 40 kB / 3.868 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/10.56, allocations: 3.953 kB / 3.868 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-05/10.56, allocations: 19.92 kB / 3.868 GB, free: 31.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/10.57, allocations: 2.823 MB / 3.871 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/10.57, allocations: 0 / 3.871 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/10.57, allocations: 0.7333 MB / 3.872 GB, free: 27.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-05/10.57, allocations: 20 kB / 3.872 GB, free: 27.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003013/10.57, allocations: 95.95 kB / 3.872 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.164e-05/10.57, allocations: 12 kB / 3.872 GB, free: 27.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/10.57, allocations: 0 / 3.872 GB, free: 27.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009461/10.58, allocations: 7.051 MB / 3.879 GB, free: 20.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/10.58, allocations: 353.8 kB / 3.879 GB, free: 20.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005727/10.58, allocations: 79.98 kB / 3.879 GB, free: 20.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003863/10.59, allocations: 283.6 kB / 3.879 GB, free: 19.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005598/10.59, allocations: 314.9 kB / 3.879 GB, free: 19.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006528/10.59, allocations: 179.9 kB / 3.88 GB, free: 19.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009838/10.59, allocations: 0.6786 MB / 3.88 GB, free: 18.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/10.59, allocations: 0 / 3.88 GB, free: 18.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003934/10.59, allocations: 1.128 MB / 3.881 GB, free: 17.51 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 () * 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.002497/10.6, allocations: 0.862 MB / 3.882 GB, free: 16.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006336/10.6, allocations: 4.169 MB / 3.886 GB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/10.6, allocations: 8.781 kB / 3.886 GB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003007/10.61, allocations: 2.205 MB / 3.889 GB, free: 10.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00633/10.61, allocations: 1.158 MB / 3.89 GB, free: 9.109 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/10.62, allocations: 6.115 MB / 3.896 GB, free: 2.945 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/10.63, allocations: 1.882 MB / 3.897 GB, free: 1.027 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.2892/10.92, allocations: 1.768 MB / 3.899 GB, free: 107.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/10.92, allocations: 292.5 kB / 3.899 GB, free: 107.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/10.92, allocations: 0 / 3.899 GB, free: 107.3 MB / 442.7 MB Notification: Performance of Templates: time 0.1123/11.03, allocations: 66.48 MB / 3.964 GB, free: 90.46 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