Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001342, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009669/0.0009667, allocations: 97.97 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2007/0.2007, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.319e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 61.92 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.5289, allocations: 94.45 MB / 0.5869 GB, free: 2.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.5292, allocations: 99.8 kB / 0.587 GB, free: 1.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03577/0.565, allocations: 13.87 MB / 0.6006 GB, free: 3.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.565, allocations: 0 / 0.6006 GB, free: 3.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.5651, allocations: 7.938 kB / 0.6006 GB, free: 3.98 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.0009202/0.566, allocations: 0.6308 MB / 0.6012 GB, free: 3.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.566, allocations: 11.98 kB / 0.6012 GB, free: 3.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.5661, allocations: 39.53 kB / 0.6012 GB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.5665, allocations: 291.2 kB / 0.6015 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.5665, allocations: 12 kB / 0.6015 GB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.5666, allocations: 24 kB / 0.6015 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004904/0.5671, allocations: 313.9 kB / 0.6018 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.5678, allocations: 481.8 kB / 0.6023 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5678, allocations: 4 kB / 0.6023 GB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.5678, allocations: 3.984 kB / 0.6023 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.5679, allocations: 16.78 kB / 0.6023 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.5696, allocations: 1.155 MB / 0.6035 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.57, allocations: 267.6 kB / 0.6037 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.5702, allocations: 118.5 kB / 0.6038 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.5702, allocations: 15.94 kB / 0.6038 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.5702, allocations: 42.56 kB / 0.6039 GB, free: 396 kB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.5703, allocations: 0 / 0.6039 GB, free: 396 kB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005664/0.5708, allocations: 287 kB / 0.6042 GB, free: 104 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.5709, allocations: 102.8 kB / 0.6043 GB, free: 15.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.5712, allocations: 204.4 kB / 0.6044 GB, free: 15.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.5712, allocations: 29.77 kB / 0.6045 GB, free: 15.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.5713, allocations: 223.9 kB / 0.6047 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.5714, allocations: 51.2 kB / 0.6047 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.5714, allocations: 0 / 0.6047 GB, free: 15.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5716, allocations: 334.8 kB / 0.6051 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.5717, allocations: 112.1 kB / 0.6052 GB, free: 15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.572, allocations: 190.6 kB / 0.6053 GB, free: 14.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.5722, allocations: 139.8 kB / 0.6055 GB, free: 14.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5722, allocations: 4.109 kB / 0.6055 GB, free: 14.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005427/0.5728, allocations: 350.5 kB / 0.6058 GB, free: 14.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5728, allocations: 4.344 kB / 0.6058 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.204e-05/0.5729, allocations: 35.97 kB / 0.6059 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5729, allocations: 4 kB / 0.6059 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.5731, allocations: 39.91 kB / 0.6059 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.5731, allocations: 4 kB / 0.6059 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5733, allocations: 35.88 kB / 0.6059 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.5734, allocations: 19.94 kB / 0.606 GB, free: 14.15 MB / 426.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 () * 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.000111/0.5735, allocations: 122.1 kB / 0.6061 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.5736, allocations: 19.75 kB / 0.6061 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.5743, allocations: 383.2 kB / 0.6065 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.5743, allocations: 4 kB / 0.6065 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5743, allocations: 0 / 0.6065 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5743, allocations: 7.984 kB / 0.6065 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.5748, allocations: 333.9 kB / 0.6068 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.198e-05/0.5749, allocations: 23.98 kB / 0.6068 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.5751, allocations: 31.97 kB / 0.6068 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5751, allocations: 3.953 kB / 0.6068 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.5751, allocations: 15.98 kB / 0.6069 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5751, allocations: 0 / 0.6069 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5751, allocations: 0 / 0.6069 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.5757, allocations: 0.5494 MB / 0.6074 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.5758, allocations: 104.8 kB / 0.6075 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.5758, allocations: 0 / 0.6075 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.5761, allocations: 27.98 kB / 0.6075 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.5762, allocations: 19.91 kB / 0.6075 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.5762, allocations: 15.98 kB / 0.6076 GB, free: 12.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.5764, allocations: 156.5 kB / 0.6077 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5764, allocations: 0 / 0.6077 GB, free: 12.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007086/0.5771, allocations: 147.5 kB / 0.6078 GB, free: 12.12 MB / 426.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 () * 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.0004267/0.5775, allocations: 211 kB / 0.608 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005969/0.5781, allocations: 0.499 MB / 0.6085 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5781, allocations: 0 / 0.6085 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.5785, allocations: 360 kB / 0.6089 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.5788, allocations: 32.44 kB / 0.6089 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.5799, allocations: 0.5188 MB / 0.6094 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.5804, allocations: 0.8568 MB / 0.6103 GB, free: 9.484 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.5805, allocations: 33.28 kB / 0.6103 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.5805, allocations: 19.44 kB / 0.6103 GB, free: 9.434 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5805, allocations: 0 / 0.6103 GB, free: 9.434 MB / 426.7 MB Notification: Performance of Templates: time 0.008325/0.5889, allocations: 4.577 MB / 0.6148 GB, free: 4.875 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches