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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 106.6 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 191.2 kB / 19.39 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.197/0.197, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3367, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002914/0.3397, allocations: 2.073 MB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3413, allocations: 1.258 MB / 0.5228 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.3414, allocations: 10.28 kB / 0.5229 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.3417, allocations: 65.84 kB / 0.5229 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.3418, allocations: 92.95 kB / 0.523 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.3424, allocations: 190 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.3428, allocations: 433 kB / 0.5236 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.3429, allocations: 54.81 kB / 0.5237 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.3431, allocations: 143.9 kB / 0.5238 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.3433, allocations: 179.5 kB / 0.524 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.3433, allocations: 12.44 kB / 0.524 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.3438, allocations: 256.2 kB / 0.5242 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3439, allocations: 84.69 kB / 0.5243 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.344, allocations: 161.4 kB / 0.5245 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006462/0.3447, allocations: 0.5182 MB / 0.525 GB, free: 352 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3447, allocations: 4.656 kB / 0.525 GB, free: 348 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3447, allocations: 0 / 0.525 GB, free: 348 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3447, allocations: 0 / 0.525 GB, free: 348 kB / 382.1 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.001041/0.3458, allocations: 0.7218 MB / 0.5257 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3458, allocations: 9.625 kB / 0.5257 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.384e-05/0.3459, allocations: 43.91 kB / 0.5257 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.3463, allocations: 290.4 kB / 0.526 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.3463, allocations: 32.06 kB / 0.526 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.3464, allocations: 39.92 kB / 0.5261 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009513/0.3474, allocations: 0.5512 MB / 0.5266 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3474, allocations: 0 / 0.5266 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.3474, allocations: 15.91 kB / 0.5266 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.3475, allocations: 21.66 kB / 0.5266 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/0.3483, allocations: 413.7 kB / 0.527 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.35, allocations: 1.285 MB / 0.5283 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.3505, allocations: 276.7 kB / 0.5286 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.3508, allocations: 145.5 kB / 0.5287 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.3509, allocations: 8.141 kB / 0.5287 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.3509, allocations: 32.62 kB / 0.5287 GB, free: 13.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.3509, allocations: 0 / 0.5287 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00116/0.3521, allocations: 469.1 kB / 0.5292 GB, free: 13.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3521, allocations: 112.1 kB / 0.5293 GB, free: 13.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.3527, allocations: 0.4946 MB / 0.5298 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3527, allocations: 27.09 kB / 0.5298 GB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3529, allocations: 217.9 kB / 0.53 GB, free: 13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.3529, allocations: 59.42 kB / 0.5301 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3531, allocations: 63.28 kB / 0.5301 GB, free: 12.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3532, allocations: 351.2 kB / 0.5305 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.3535, allocations: 134.8 kB / 0.5306 GB, free: 12.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.3539, allocations: 215.3 kB / 0.5308 GB, free: 12.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.3546, allocations: 362.2 kB / 0.5311 GB, free: 12.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3546, allocations: 0 / 0.5311 GB, free: 12.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008294/0.3554, allocations: 422.4 kB / 0.5315 GB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3555, allocations: 9.672 kB / 0.5315 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-05/0.3555, allocations: 37.78 kB / 0.5316 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3556, allocations: 9.938 kB / 0.5316 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.3558, allocations: 34.55 kB / 0.5316 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.3558, allocations: 3.438 kB / 0.5316 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.356, allocations: 55.53 kB / 0.5317 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.3561, allocations: 21.17 kB / 0.5317 GB, free: 11.86 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.3564, allocations: 190.9 kB / 0.5319 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3565, allocations: 40.53 kB / 0.5319 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008376/0.3573, allocations: 412.8 kB / 0.5323 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3573, allocations: 5.188 kB / 0.5323 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.612e-05/0.3574, allocations: 33.98 kB / 0.5323 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3575, allocations: 120.2 kB / 0.5325 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.3576, allocations: 2.438 kB / 0.5325 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.3579, allocations: 25.56 kB / 0.5325 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.358, allocations: 23.48 kB / 0.5325 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008869/0.3589, allocations: 0.5479 MB / 0.533 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009041/0.3598, allocations: 0.6585 MB / 0.5337 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003324/0.3601, allocations: 135.6 kB / 0.5338 GB, free: 10.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004469/0.3606, allocations: 364.7 kB / 0.5342 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Backend: time 9.12e-07/0.3606, allocations: 0 / 0.5342 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.362, allocations: 0.5585 MB / 0.5347 GB, free: 9.715 MB / 398.1 MB Notification: Performance of SimCode: time 0.001709/0.3638, allocations: 1.447 MB / 0.5361 GB, free: 8.496 MB / 398.1 MB Notification: Performance of Templates: time 0.01588/0.3797, allocations: 7.987 MB / 0.5439 GB, free: 2.672 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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