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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001331, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.264/1.264, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 100.3 kB / 291.9 MB, free: 10.95 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.3391/0.3391, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 51.91 kB / 457.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3147, allocations: 60.8 MB / 0.5064 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003122/0.3179, allocations: 2.05 MB / 0.5084 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.319, allocations: 0.8101 MB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.319, allocations: 2.594 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3193, allocations: 57.5 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.3196, allocations: 116.3 kB / 0.5094 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.3198, allocations: 56.41 kB / 0.5094 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.3201, allocations: 452 kB / 0.5099 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.3202, allocations: 43.58 kB / 0.5099 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3203, allocations: 107.4 kB / 0.51 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.3205, allocations: 157.3 kB / 0.5101 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3205, allocations: 5.875 kB / 0.5102 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.3207, allocations: 123.5 kB / 0.5103 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.3208, allocations: 74.44 kB / 0.5103 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.3209, allocations: 107.5 kB / 0.5104 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.3212, allocations: 346.5 kB / 0.5108 GB, free: 35.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3212, allocations: 0 / 0.5108 GB, free: 35.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3212, allocations: 0 / 0.5108 GB, free: 35.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.3212, allocations: 0 / 0.5108 GB, free: 35.7 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000648/0.3219, allocations: 0.5573 MB / 0.5113 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.3219, allocations: 8.062 kB / 0.5113 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.322, allocations: 30.62 kB / 0.5114 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3222, allocations: 237.6 kB / 0.5116 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3222, allocations: 30.48 kB / 0.5116 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.3222, allocations: 25.12 kB / 0.5116 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.3228, allocations: 388.1 kB / 0.512 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3228, allocations: 0 / 0.512 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.3228, allocations: 14.64 kB / 0.512 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.3229, allocations: 27.34 kB / 0.512 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.3235, allocations: 414.9 kB / 0.5124 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3245, allocations: 0.8732 MB / 0.5133 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.325, allocations: 275.8 kB / 0.5136 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3252, allocations: 103.4 kB / 0.5137 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3253, allocations: 0 / 0.5137 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.3253, allocations: 37.31 kB / 0.5137 GB, free: 34.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.3253, allocations: 0 / 0.5137 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006165/0.3259, allocations: 335.2 kB / 0.514 GB, free: 34.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.3259, allocations: 58.16 kB / 0.5141 GB, free: 33.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.3262, allocations: 348.4 kB / 0.5144 GB, free: 33.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3263, allocations: 26.86 kB / 0.5144 GB, free: 33.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.3263, allocations: 161.5 kB / 0.5146 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3264, allocations: 56.67 kB / 0.5146 GB, free: 33.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.3264, allocations: 54.7 kB / 0.5147 GB, free: 33.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.3265, allocations: 344.4 kB / 0.515 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.3267, allocations: 94 kB / 0.5151 GB, free: 33.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.3269, allocations: 138 kB / 0.5152 GB, free: 33.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.3273, allocations: 250.6 kB / 0.5155 GB, free: 33.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3273, allocations: 0 / 0.5155 GB, free: 33.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004523/0.3278, allocations: 306.5 kB / 0.5158 GB, free: 32.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3278, allocations: 6.406 kB / 0.5158 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3278, allocations: 2.938 kB / 0.5158 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3278, allocations: 2.844 kB / 0.5158 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.3283, allocations: 111.7 kB / 0.5159 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.3293, allocations: 3.667 MB / 0.5195 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3295, allocations: 34.05 kB / 0.5195 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.3295, allocations: 10.06 kB / 0.5195 GB, free: 29.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.3297, allocations: 176 kB / 0.5197 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3297, allocations: 39.03 kB / 0.5197 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.3303, allocations: 326.5 kB / 0.52 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3303, allocations: 2.625 kB / 0.52 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3303, allocations: 0.75 kB / 0.52 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3304, allocations: 3.422 kB / 0.52 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3306, allocations: 303.5 kB / 0.5203 GB, free: 28.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3306, allocations: 2.969 kB / 0.5203 GB, free: 28.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.331, allocations: 111.9 kB / 0.5204 GB, free: 28.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.331, allocations: 0 / 0.5204 GB, free: 28.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3311, allocations: 7 kB / 0.5204 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009701/0.332, allocations: 3.67 MB / 0.524 GB, free: 25.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.332, allocations: 0 / 0.524 GB, free: 25.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.3328, allocations: 1.055 MB / 0.5251 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.3328, allocations: 108.5 kB / 0.5252 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.3329, allocations: 6.938 kB / 0.5252 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.333, allocations: 10.02 kB / 0.5252 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3331, allocations: 16.06 kB / 0.5252 GB, free: 24.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3331, allocations: 8.891 kB / 0.5252 GB, free: 24.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.3333, allocations: 256.2 kB / 0.5254 GB, free: 24.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3333, allocations: 0 / 0.5254 GB, free: 24.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004002/0.3337, allocations: 72.75 kB / 0.5255 GB, free: 24.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/0.3339, allocations: 133.6 kB / 0.5256 GB, free: 24.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007382/0.3346, allocations: 299.4 kB / 0.5259 GB, free: 24.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3346, allocations: 0 / 0.5259 GB, free: 24.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.3351, allocations: 192.8 kB / 0.5261 GB, free: 24.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3355, allocations: 60.77 kB / 0.5262 GB, free: 23.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.3363, allocations: 0.8104 MB / 0.527 GB, free: 23.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.3365, allocations: 0.8119 MB / 0.5277 GB, free: 22.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.3367, allocations: 63.81 kB / 0.5278 GB, free: 22.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.3367, allocations: 19.16 kB / 0.5278 GB, free: 22.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.91e-07/0.3367, allocations: 0 / 0.5278 GB, free: 22.77 MB / 378.7 MB Notification: Performance of Templates: time 0.006929/0.3437, allocations: 5.149 MB / 0.5329 GB, free: 22.44 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches