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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 107.3 kB / 18.44 MB, free: 4.645 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.001166/0.001166, allocations: 186.2 kB / 19.37 MB, free: 3.723 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.262/1.262, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.1954/0.1954, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3028, allocations: 60.83 MB / 0.5196 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002787/0.3056, allocations: 2.004 MB / 0.5215 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3068, allocations: 0.8 MB / 0.5223 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.3069, allocations: 1.125 kB / 0.5223 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.3071, allocations: 74.39 kB / 0.5224 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.3074, allocations: 111.3 kB / 0.5225 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.3077, allocations: 73.2 kB / 0.5226 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.308, allocations: 315.3 kB / 0.5229 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.3081, allocations: 42.88 kB / 0.5229 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3083, allocations: 118.9 kB / 0.523 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.3085, allocations: 145.4 kB / 0.5232 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.3085, allocations: 11.56 kB / 0.5232 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.3088, allocations: 123.7 kB / 0.5233 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.3089, allocations: 67.62 kB / 0.5234 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.54e-05/0.309, allocations: 116.6 kB / 0.5235 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.3094, allocations: 348.9 kB / 0.5238 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3094, allocations: 4 kB / 0.5238 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3094, allocations: 1.469 kB / 0.5238 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3094, allocations: 0 / 0.5238 GB, free: 1.27 MB / 382.1 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.0007383/0.3102, allocations: 0.5538 MB / 0.5243 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3102, allocations: 10.42 kB / 0.5244 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.3103, allocations: 29.84 kB / 0.5244 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3105, allocations: 249.1 kB / 0.5246 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3105, allocations: 28.25 kB / 0.5246 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.3106, allocations: 19.72 kB / 0.5247 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.3112, allocations: 397.4 kB / 0.525 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3113, allocations: 0 / 0.525 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.3113, allocations: 14.41 kB / 0.5251 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.3113, allocations: 27.47 kB / 0.5251 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.312, allocations: 412.8 kB / 0.5255 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3133, allocations: 0.8704 MB / 0.5263 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.3139, allocations: 276.8 kB / 0.5266 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.3141, allocations: 94.83 kB / 0.5267 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3141, allocations: 10.41 kB / 0.5267 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3142, allocations: 31.72 kB / 0.5267 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3142, allocations: 0 / 0.5267 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007118/0.3149, allocations: 334 kB / 0.527 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.3149, allocations: 52.78 kB / 0.5271 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.3153, allocations: 350.1 kB / 0.5274 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3153, allocations: 34.92 kB / 0.5275 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.3154, allocations: 158.5 kB / 0.5276 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.3154, allocations: 59.08 kB / 0.5277 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.3155, allocations: 45.67 kB / 0.5277 GB, free: 14.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3156, allocations: 343.7 kB / 0.528 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.3158, allocations: 90.55 kB / 0.5281 GB, free: 14.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3161, allocations: 145.8 kB / 0.5283 GB, free: 14.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.3165, allocations: 251.3 kB / 0.5285 GB, free: 14.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3165, allocations: 1.219 kB / 0.5285 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005468/0.3171, allocations: 292.9 kB / 0.5288 GB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3171, allocations: 10.03 kB / 0.5288 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3171, allocations: 1.156 kB / 0.5288 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3171, allocations: 3.438 kB / 0.5288 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.3177, allocations: 116.7 kB / 0.5289 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.3194, allocations: 3.672 MB / 0.5325 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.3196, allocations: 34.45 kB / 0.5325 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3197, allocations: 12.41 kB / 0.5325 GB, free: 10.39 MB / 398.1 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.0001973/0.3199, allocations: 170 kB / 0.5327 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.3199, allocations: 35.52 kB / 0.5327 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.3206, allocations: 329.3 kB / 0.533 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3206, allocations: 5.031 kB / 0.5331 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3207, allocations: 1.156 kB / 0.5331 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3207, allocations: 0 / 0.5331 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.321, allocations: 304.4 kB / 0.5333 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.321, allocations: 0 / 0.5333 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.3215, allocations: 107.5 kB / 0.5334 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3215, allocations: 8.969 kB / 0.5335 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3215, allocations: 11.42 kB / 0.5335 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.3233, allocations: 3.659 MB / 0.537 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3233, allocations: 3.938 kB / 0.537 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.3238, allocations: 358.1 kB / 0.5374 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.3239, allocations: 103.1 kB / 0.5375 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.324, allocations: 1.406 kB / 0.5375 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3242, allocations: 12.27 kB / 0.5375 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.3242, allocations: 13.92 kB / 0.5375 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3243, allocations: 13.97 kB / 0.5375 GB, free: 5.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.3245, allocations: 251.6 kB / 0.5378 GB, free: 5.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3245, allocations: 3.188 kB / 0.5378 GB, free: 5.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.3249, allocations: 73.94 kB / 0.5378 GB, free: 5.551 MB / 398.1 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.0002442/0.3252, allocations: 133.8 kB / 0.538 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008987/0.3261, allocations: 302.3 kB / 0.5383 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3261, allocations: 0 / 0.5383 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.3267, allocations: 194 kB / 0.5384 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.3271, allocations: 56.03 kB / 0.5385 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.3282, allocations: 0.6088 MB / 0.5391 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3286, allocations: 0.7917 MB / 0.5399 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.3286, allocations: 21.72 kB / 0.5399 GB, free: 4.094 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3287, allocations: 4 kB / 0.5399 GB, free: 4.09 MB / 398.1 MB Notification: Performance of Templates: time 0.01395/0.3426, allocations: 11.21 MB / 0.5508 GB, free: 11.55 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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