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.0009784/0.0009783, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.000948/0.0009481, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.492/1.492, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2248/0.2248, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4446, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.005252/0.4499, allocations: 2.071 MB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.4527, allocations: 1.262 MB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.453, allocations: 2.406 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.4535, allocations: 70.09 kB / 0.5222 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.4539, allocations: 84.19 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.455, allocations: 190.5 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007997/0.4558, allocations: 432.4 kB / 0.5229 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.4559, allocations: 47.69 kB / 0.523 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.4563, allocations: 146.6 kB / 0.5231 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.4567, allocations: 175.6 kB / 0.5233 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.4568, allocations: 11.97 kB / 0.5233 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.4574, allocations: 256.7 kB / 0.5235 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.4575, allocations: 85.16 kB / 0.5236 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.4578, allocations: 161.3 kB / 0.5238 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009141/0.4587, allocations: 0.5151 MB / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4587, allocations: 0 / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4587, allocations: 1.375 kB / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4587, allocations: 0 / 0.5243 GB, free: 388 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.001467/0.4602, allocations: 0.7215 MB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4603, allocations: 9.156 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.4604, allocations: 48.78 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.4608, allocations: 285.9 kB / 0.5253 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.4608, allocations: 32.88 kB / 0.5253 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.4609, allocations: 39.59 kB / 0.5254 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.462, allocations: 0.551 MB / 0.5259 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.462, allocations: 0 / 0.5259 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.4621, allocations: 18.72 kB / 0.5259 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.4621, allocations: 18.83 kB / 0.5259 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008367/0.463, allocations: 416.7 kB / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.465, allocations: 1.274 MB / 0.5276 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.4657, allocations: 276.2 kB / 0.5278 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.466, allocations: 145.1 kB / 0.528 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.234e-05/0.4661, allocations: 5.125 kB / 0.528 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.4661, allocations: 35.52 kB / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.4661, allocations: 1.375 kB / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001247/0.4674, allocations: 468.2 kB / 0.5285 GB, free: 13.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.4675, allocations: 109 kB / 0.5286 GB, free: 13.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006509/0.4681, allocations: 0.4941 MB / 0.5291 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.4682, allocations: 30.97 kB / 0.5291 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.4684, allocations: 221.6 kB / 0.5293 GB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.4684, allocations: 51.02 kB / 0.5293 GB, free: 13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.4686, allocations: 67.97 kB / 0.5294 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4687, allocations: 350.5 kB / 0.5297 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.4691, allocations: 131.6 kB / 0.5299 GB, free: 12.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.4695, allocations: 214.4 kB / 0.5301 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.4703, allocations: 362.5 kB / 0.5304 GB, free: 12.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4703, allocations: 1.562 kB / 0.5304 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000911/0.4712, allocations: 419.9 kB / 0.5308 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.4712, allocations: 20.73 kB / 0.5308 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.341e-05/0.4713, allocations: 32.44 kB / 0.5309 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.4713, allocations: 4.969 kB / 0.5309 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.4716, allocations: 36.86 kB / 0.5309 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.4716, allocations: 7.5 kB / 0.5309 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.4719, allocations: 51.95 kB / 0.531 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.472, allocations: 25.02 kB / 0.531 GB, free: 11.91 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.0002498/0.4722, allocations: 189.3 kB / 0.5312 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4724, allocations: 40.91 kB / 0.5312 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008703/0.4732, allocations: 401 kB / 0.5316 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.4733, allocations: 7.688 kB / 0.5316 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4733, allocations: 3.844 kB / 0.5316 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4733, allocations: 3.984 kB / 0.5316 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.4739, allocations: 362.3 kB / 0.532 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-05/0.474, allocations: 26.75 kB / 0.532 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.4741, allocations: 32.09 kB / 0.532 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4742, allocations: 5.125 kB / 0.532 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.4742, allocations: 10.77 kB / 0.532 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4742, allocations: 1.094 kB / 0.532 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.4742, allocations: 5.094 kB / 0.532 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.4751, allocations: 0.5759 MB / 0.5326 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4752, allocations: 124.2 kB / 0.5327 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.4753, allocations: 5.188 kB / 0.5327 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.4756, allocations: 18.28 kB / 0.5327 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.4757, allocations: 22.73 kB / 0.5328 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.4757, allocations: 12.06 kB / 0.5328 GB, free: 10.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004215/0.4762, allocations: 364.1 kB / 0.5331 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4762, allocations: 1.156 kB / 0.5331 GB, free: 10.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006541/0.4768, allocations: 118.8 kB / 0.5332 GB, free: 10.39 MB / 398.1 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.000386/0.4772, allocations: 178.7 kB / 0.5334 GB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009904/0.4782, allocations: 0.5483 MB / 0.5339 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4782, allocations: 0 / 0.5339 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.4788, allocations: 387 kB / 0.5343 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.4795, allocations: 101.7 kB / 0.5344 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.4813, allocations: 0.7744 MB / 0.5352 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.4818, allocations: 0.8439 MB / 0.536 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.482, allocations: 69.77 kB / 0.536 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.4821, allocations: 29.72 kB / 0.5361 GB, free: 8.191 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4821, allocations: 0 / 0.5361 GB, free: 8.191 MB / 398.1 MB Notification: Performance of Templates: time 0.01429/0.4964, allocations: 7.783 MB / 0.5437 GB, free: 2.18 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/jenkins/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/jenkins/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