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.001099/0.001099, allocations: 176.2 kB / 8.348 MB, free: 0.7266 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.354/1.354, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008603/0.0008604, allocations: 93.8 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.818e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 50.41 MB / 387.4 MB, free: 7.598 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.915/9.015, allocations: 3.325 GB / 3.704 GB, free: 45.44 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/9.016, allocations: 66.72 kB / 3.704 GB, free: 45.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7418/9.757, allocations: 101.9 MB / 3.803 GB, free: 121.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.387e-06/9.758, allocations: 0 / 3.803 GB, free: 121.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002379/9.758, allocations: 51.52 kB / 3.803 GB, free: 121.4 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.01356/9.771, allocations: 2.683 MB / 3.806 GB, free: 119.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/9.771, allocations: 17.8 kB / 3.806 GB, free: 119.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/9.775, allocations: 313 kB / 3.806 GB, free: 119.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004125/9.779, allocations: 1.329 MB / 3.808 GB, free: 118.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/9.779, allocations: 84 kB / 3.808 GB, free: 118.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/9.781, allocations: 144 kB / 3.808 GB, free: 118.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009638/9.79, allocations: 5.669 MB / 3.813 GB, free: 112.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008372/9.799, allocations: 3.298 MB / 3.817 GB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/9.799, allocations: 0 / 3.817 GB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/9.8, allocations: 8 kB / 3.817 GB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/9.8, allocations: 56 kB / 3.817 GB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/9.821, allocations: 10.17 MB / 3.827 GB, free: 98.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/9.828, allocations: 4.777 MB / 3.831 GB, free: 93.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/9.831, allocations: 2.221 MB / 3.833 GB, free: 91.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/9.832, allocations: 442.7 kB / 3.834 GB, free: 91.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/9.832, allocations: 98.34 kB / 3.834 GB, free: 91.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 8.697e-06/9.832, allocations: 0 / 3.834 GB, free: 91.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.009462/9.841, allocations: 4.315 MB / 3.838 GB, free: 86.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/9.841, allocations: 98.47 kB / 3.838 GB, free: 86.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/9.842, allocations: 0.5322 MB / 3.839 GB, free: 86.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006935/9.843, allocations: 29.7 kB / 3.839 GB, free: 86.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/9.843, allocations: 0.5417 MB / 3.839 GB, free: 85.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/9.844, allocations: 1.243 MB / 3.841 GB, free: 84.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/9.845, allocations: 0 / 3.841 GB, free: 84.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003387/9.845, allocations: 490.2 kB / 3.841 GB, free: 83.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/9.847, allocations: 1.619 MB / 3.843 GB, free: 82.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/9.85, allocations: 2.103 MB / 3.845 GB, free: 79.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005086/9.855, allocations: 2.555 MB / 3.847 GB, free: 77.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/9.855, allocations: 4 kB / 3.847 GB, free: 77.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008565/9.863, allocations: 4.739 MB / 3.852 GB, free: 72.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/9.863, allocations: 15.98 kB / 3.852 GB, free: 72.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/9.863, allocations: 12 kB / 3.852 GB, free: 72.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.002e-05/9.863, allocations: 31.98 kB / 3.852 GB, free: 72.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/9.867, allocations: 0.7917 MB / 3.853 GB, free: 71.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.835e-05/9.867, allocations: 27.94 kB / 3.853 GB, free: 71.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/9.87, allocations: 332.9 kB / 3.853 GB, free: 71.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005007/9.871, allocations: 143.9 kB / 3.853 GB, free: 71.18 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.001024/9.872, allocations: 184.1 kB / 3.853 GB, free: 71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009028/9.873, allocations: 186 kB / 3.853 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/9.883, allocations: 5.312 MB / 3.859 GB, free: 65.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/9.883, allocations: 40 kB / 3.859 GB, free: 65.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/9.883, allocations: 0 / 3.859 GB, free: 65.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.312e-05/9.883, allocations: 19.92 kB / 3.859 GB, free: 65.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004825/9.888, allocations: 2.485 MB / 3.861 GB, free: 62.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/9.888, allocations: 4 kB / 3.861 GB, free: 62.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/9.892, allocations: 0.7255 MB / 3.862 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-05/9.892, allocations: 12 kB / 3.862 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003634/9.892, allocations: 35.97 kB / 3.862 GB, free: 62.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.192e-05/9.892, allocations: 16 kB / 3.862 GB, free: 62.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/9.892, allocations: 7.938 kB / 3.862 GB, free: 62.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/9.903, allocations: 7.289 MB / 3.869 GB, free: 54.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008906/9.904, allocations: 334 kB / 3.869 GB, free: 54.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/9.905, allocations: 7.984 kB / 3.869 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/9.908, allocations: 207.6 kB / 3.869 GB, free: 54.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005649/9.909, allocations: 322.9 kB / 3.87 GB, free: 53.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006583/9.91, allocations: 179.9 kB / 3.87 GB, free: 53.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000605/9.91, allocations: 474.8 kB / 3.87 GB, free: 53.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/9.91, allocations: 0 / 3.87 GB, free: 53.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003979/9.914, allocations: 1.006 MB / 3.871 GB, free: 52.33 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.002431/9.917, allocations: 0.8483 MB / 3.872 GB, free: 51.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005578/9.922, allocations: 3.979 MB / 3.876 GB, free: 47.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/9.922, allocations: 8.781 kB / 3.876 GB, free: 47.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/9.925, allocations: 2.122 MB / 3.878 GB, free: 45.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/9.931, allocations: 0.8788 MB / 3.879 GB, free: 44.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/9.943, allocations: 5.859 MB / 3.885 GB, free: 38.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/9.945, allocations: 1.887 MB / 3.887 GB, free: 36.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00741/9.953, allocations: 1.73 MB / 3.888 GB, free: 35.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/9.954, allocations: 279.3 kB / 3.889 GB, free: 34.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/9.954, allocations: 0 / 3.889 GB, free: 34.74 MB / 442.7 MB Notification: Performance of Templates: time 0.3213/10.28, allocations: 54.96 MB / 3.942 GB, free: 116.5 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