Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 176.5 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007581/0.0007581, allocations: 82.41 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3333/0.3333, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12 kB / 432.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 58.84 MB / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.476, allocations: 94.12 MB / 0.5719 GB, free: 7.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004263/0.4764, allocations: 103.9 kB / 0.572 GB, free: 7.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05408/0.5305, allocations: 13.69 MB / 0.5854 GB, free: 9.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5306, allocations: 4 kB / 0.5854 GB, free: 9.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.5306, allocations: 8 kB / 0.5854 GB, free: 9.973 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001229/0.5319, allocations: 0.6453 MB / 0.586 GB, free: 9.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5319, allocations: 8.031 kB / 0.586 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.5321, allocations: 56.47 kB / 0.5861 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.5325, allocations: 284.5 kB / 0.5863 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.5325, allocations: 29.36 kB / 0.5864 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.5326, allocations: 36.38 kB / 0.5864 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.5336, allocations: 0.5735 MB / 0.587 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.5336, allocations: 3.938 kB / 0.587 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.5337, allocations: 16 kB / 0.587 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.432e-05/0.5337, allocations: 20.98 kB / 0.587 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.5346, allocations: 431.6 kB / 0.5874 GB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.5366, allocations: 1.293 MB / 0.5887 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.5372, allocations: 303.6 kB / 0.589 GB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.5376, allocations: 170.4 kB / 0.5891 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.5377, allocations: 7.984 kB / 0.5891 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.5377, allocations: 50.48 kB / 0.5892 GB, free: 5.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.705e-06/0.5377, allocations: 0 / 0.5892 GB, free: 5.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001252/0.539, allocations: 0.5135 MB / 0.5897 GB, free: 5.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.5391, allocations: 110.9 kB / 0.5898 GB, free: 5.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.5397, allocations: 0.4899 MB / 0.5903 GB, free: 4.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5397, allocations: 33.64 kB / 0.5903 GB, free: 4.676 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.5399, allocations: 208.3 kB / 0.5905 GB, free: 4.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.54, allocations: 55.11 kB / 0.5905 GB, free: 4.414 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.54, allocations: 4 kB / 0.5905 GB, free: 4.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.5402, allocations: 354.7 kB / 0.5909 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.5405, allocations: 160.1 kB / 0.591 GB, free: 3.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.5409, allocations: 230.6 kB / 0.5913 GB, free: 3.633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007692/0.5417, allocations: 417.3 kB / 0.5917 GB, free: 3.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5417, allocations: 0 / 0.5917 GB, free: 3.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009338/0.5427, allocations: 472.3 kB / 0.5921 GB, free: 2.727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.5427, allocations: 8.75 kB / 0.5921 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.526e-05/0.5428, allocations: 31.98 kB / 0.5921 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.5428, allocations: 4 kB / 0.5921 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.543, allocations: 43.91 kB / 0.5922 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.5431, allocations: 4 kB / 0.5922 GB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.5434, allocations: 67.47 kB / 0.5923 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.5435, allocations: 12 kB / 0.5923 GB, free: 2.559 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000254/0.5438, allocations: 197.7 kB / 0.5925 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5439, allocations: 43.47 kB / 0.5925 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/0.5447, allocations: 436.3 kB / 0.5929 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.5447, allocations: 4 kB / 0.5929 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5448, allocations: 0 / 0.5929 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.5448, allocations: 15.91 kB / 0.5929 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.5454, allocations: 373.2 kB / 0.5933 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.133e-05/0.5455, allocations: 36 kB / 0.5933 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.5456, allocations: 31.97 kB / 0.5934 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5456, allocations: 0 / 0.5934 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.5457, allocations: 15.98 kB / 0.5934 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5457, allocations: 0 / 0.5934 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5457, allocations: 0 / 0.5934 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.5466, allocations: 0.6262 MB / 0.594 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.5467, allocations: 116.6 kB / 0.5941 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.5468, allocations: 4 kB / 0.5941 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.5471, allocations: 31.98 kB / 0.5941 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5472, allocations: 23.91 kB / 0.5941 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.5472, allocations: 12 kB / 0.5942 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004109/0.5476, allocations: 359 kB / 0.5945 GB, free: 172 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5476, allocations: 0 / 0.5945 GB, free: 172 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006467/0.5483, allocations: 131.8 kB / 0.5946 GB, free: 40 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0005094/0.5488, allocations: 220.5 kB / 0.5948 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009232/0.5497, allocations: 0.5848 MB / 0.5954 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5498, allocations: 0 / 0.5954 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.5502, allocations: 415.7 kB / 0.5958 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.551, allocations: 98.09 kB / 0.5959 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.5525, allocations: 0.8703 MB / 0.5967 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.5531, allocations: 0.8461 MB / 0.5976 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.5533, allocations: 63.23 kB / 0.5976 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.5534, allocations: 23.44 kB / 0.5977 GB, free: 12.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5534, allocations: 0 / 0.5977 GB, free: 12.77 MB / 426.7 MB Notification: Performance of Templates: time 0.01415/0.5676, allocations: 7.795 MB / 0.6053 GB, free: 5.016 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches