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.001698/0.001698, 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.309/1.309, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001021/0.001021, allocations: 103.4 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.3172/0.3172, allocations: 44.14 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009825/0.0009825, allocations: 51.92 kB / 457.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3533, allocations: 60.8 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.005246/0.3586, allocations: 2.125 MB / 0.5085 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.3613, allocations: 1.288 MB / 0.5097 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.3615, allocations: 0 / 0.5097 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.362, allocations: 62.2 kB / 0.5098 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.3624, allocations: 88.44 kB / 0.5099 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.3633, allocations: 145.8 kB / 0.51 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007546/0.364, allocations: 0.5138 MB / 0.5105 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3642, allocations: 47.59 kB / 0.5106 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.3645, allocations: 139.1 kB / 0.5107 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.3649, allocations: 180.8 kB / 0.5109 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-05/0.365, allocations: 15.56 kB / 0.5109 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007326/0.3658, allocations: 254.7 kB / 0.5111 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3659, allocations: 85.22 kB / 0.5112 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.3662, allocations: 162 kB / 0.5114 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007861/0.367, allocations: 0.5031 MB / 0.5119 GB, free: 34.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3671, allocations: 4 kB / 0.5119 GB, free: 34.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3671, allocations: 0 / 0.5119 GB, free: 34.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3671, allocations: 0 / 0.5119 GB, free: 34.94 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001517/0.3686, allocations: 0.7138 MB / 0.5126 GB, free: 34.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3687, allocations: 14.66 kB / 0.5126 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.3688, allocations: 44.08 kB / 0.5126 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.3693, allocations: 276.2 kB / 0.5129 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.3693, allocations: 34.25 kB / 0.5129 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.3694, allocations: 34.84 kB / 0.5129 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3707, allocations: 0.5591 MB / 0.5135 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3707, allocations: 0 / 0.5135 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.3708, allocations: 17.72 kB / 0.5135 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.3708, allocations: 18.78 kB / 0.5135 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.372, allocations: 416 kB / 0.5139 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.3745, allocations: 1.278 MB / 0.5152 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/0.3754, allocations: 280 kB / 0.5154 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.3759, allocations: 137 kB / 0.5156 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.376, allocations: 15.34 kB / 0.5156 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3761, allocations: 37.58 kB / 0.5156 GB, free: 32.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 2.705e-06/0.3761, allocations: 3.938 kB / 0.5156 GB, free: 32.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001928/0.378, allocations: 469.8 kB / 0.5161 GB, free: 32.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3781, allocations: 106.1 kB / 0.5162 GB, free: 32.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.3789, allocations: 0.4954 MB / 0.5167 GB, free: 32.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3789, allocations: 25.7 kB / 0.5167 GB, free: 32.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3791, allocations: 216.6 kB / 0.5169 GB, free: 32.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.3792, allocations: 48.14 kB / 0.5169 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.3793, allocations: 68.56 kB / 0.517 GB, free: 32.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.3795, allocations: 351 kB / 0.5173 GB, free: 31.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.38, allocations: 133.6 kB / 0.5175 GB, free: 31.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.3806, allocations: 217.9 kB / 0.5177 GB, free: 31.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3816, allocations: 369.3 kB / 0.518 GB, free: 31.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3817, allocations: 3.422 kB / 0.518 GB, free: 31.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001375/0.3831, allocations: 414.8 kB / 0.5184 GB, free: 31.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3831, allocations: 10.59 kB / 0.5184 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.622e-05/0.3832, allocations: 37.62 kB / 0.5185 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.3833, allocations: 2.812 kB / 0.5185 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.3836, allocations: 36.52 kB / 0.5185 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.3836, allocations: 6.141 kB / 0.5185 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.3841, allocations: 56.39 kB / 0.5186 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.3842, allocations: 18.61 kB / 0.5186 GB, free: 31.3 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000283/0.3845, allocations: 200.7 kB / 0.5188 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.3847, allocations: 36.28 kB / 0.5188 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.3859, allocations: 403.5 kB / 0.5192 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.386, allocations: 2.875 kB / 0.5192 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.386, allocations: 0 / 0.5192 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.386, allocations: 6.188 kB / 0.5192 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/0.3868, allocations: 369 kB / 0.5196 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.388e-05/0.3869, allocations: 30.84 kB / 0.5196 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.3872, allocations: 32.59 kB / 0.5196 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.3872, allocations: 6.875 kB / 0.5196 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.3872, allocations: 6.062 kB / 0.5196 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3873, allocations: 0 / 0.5196 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3873, allocations: 2.562 kB / 0.5196 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.3894, allocations: 1.381 MB / 0.521 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.3896, allocations: 127.8 kB / 0.5211 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.3897, allocations: 0 / 0.5211 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.3902, allocations: 26.03 kB / 0.5211 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.3904, allocations: 18.62 kB / 0.5211 GB, free: 29.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.3904, allocations: 15.81 kB / 0.5212 GB, free: 29.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000537/0.391, allocations: 362.6 kB / 0.5215 GB, free: 29.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.391, allocations: 0 / 0.5215 GB, free: 29.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001145/0.3922, allocations: 122.7 kB / 0.5216 GB, free: 29.42 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005114/0.3927, allocations: 172.3 kB / 0.5218 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.394, allocations: 0.5373 MB / 0.5223 GB, free: 28.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3941, allocations: 0 / 0.5223 GB, free: 28.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.3947, allocations: 384.9 kB / 0.5227 GB, free: 28.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3958, allocations: 90.45 kB / 0.5228 GB, free: 28.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3979, allocations: 1.027 MB / 0.5238 GB, free: 28.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.3983, allocations: 0.8519 MB / 0.5246 GB, free: 27.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.3986, allocations: 69.91 kB / 0.5247 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.3987, allocations: 26.41 kB / 0.5247 GB, free: 27.31 MB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.3987, allocations: 0 / 0.5247 GB, free: 27.31 MB / 378.7 MB Notification: Performance of Templates: time 0.01759/0.4163, allocations: 7.376 MB / 0.5319 GB, free: 26.74 MB / 378.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@2/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