Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.12 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2981, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003182/0.3013, allocations: 2.09 MB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.3033, allocations: 1.331 MB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.3034, allocations: 2.219 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.3036, allocations: 73.34 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.3038, allocations: 82 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.3044, allocations: 206.6 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.305, allocations: 432.2 kB / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.3051, allocations: 46.97 kB / 0.5358 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.3053, allocations: 159.8 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.3055, allocations: 166.8 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.3056, allocations: 12.25 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.306, allocations: 276.7 kB / 0.5364 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.3061, allocations: 76.14 kB / 0.5365 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.3063, allocations: 169 kB / 0.5366 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005995/0.3069, allocations: 0.5233 MB / 0.5372 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3069, allocations: 0 / 0.5372 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3069, allocations: 4 kB / 0.5372 GB, free: 9.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3069, allocations: 1.062 kB / 0.5372 GB, free: 9.562 MB / 398.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.001064/0.308, allocations: 0.7086 MB / 0.5379 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.308, allocations: 9.844 kB / 0.5379 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.3085, allocations: 81.42 kB / 0.5379 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.3088, allocations: 300.6 kB / 0.5382 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.3089, allocations: 28.25 kB / 0.5383 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.3089, allocations: 36.81 kB / 0.5383 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/0.3098, allocations: 0.5501 MB / 0.5388 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3098, allocations: 0 / 0.5388 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.3098, allocations: 19.12 kB / 0.5388 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.3099, allocations: 17.22 kB / 0.5389 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.3107, allocations: 418.8 kB / 0.5393 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.3124, allocations: 1.278 MB / 0.5405 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.313, allocations: 272.3 kB / 0.5408 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3133, allocations: 142 kB / 0.5409 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.3133, allocations: 7.688 kB / 0.5409 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3134, allocations: 32.88 kB / 0.5409 GB, free: 6.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.3134, allocations: 0 / 0.5409 GB, free: 6.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001154/0.3146, allocations: 479.6 kB / 0.5414 GB, free: 6.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3146, allocations: 103.9 kB / 0.5415 GB, free: 6.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.3152, allocations: 0.4931 MB / 0.542 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3152, allocations: 33.89 kB / 0.542 GB, free: 6.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3154, allocations: 218 kB / 0.5422 GB, free: 6.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.3155, allocations: 62.62 kB / 0.5423 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3156, allocations: 60.14 kB / 0.5423 GB, free: 5.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3157, allocations: 354.4 kB / 0.5427 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.316, allocations: 127.7 kB / 0.5428 GB, free: 5.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.3164, allocations: 221.8 kB / 0.543 GB, free: 5.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.3171, allocations: 367.3 kB / 0.5434 GB, free: 5.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3171, allocations: 1.156 kB / 0.5434 GB, free: 5.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008419/0.3179, allocations: 416.2 kB / 0.5438 GB, free: 4.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.318, allocations: 6.438 kB / 0.5438 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.76e-05/0.318, allocations: 40.02 kB / 0.5438 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3181, allocations: 3.906 kB / 0.5438 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.3183, allocations: 38.25 kB / 0.5438 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.3183, allocations: 11.92 kB / 0.5438 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.3186, allocations: 55.42 kB / 0.5439 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.3186, allocations: 16 kB / 0.5439 GB, free: 4.805 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.0002196/0.3189, allocations: 197.6 kB / 0.5441 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.319, allocations: 43.53 kB / 0.5441 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.3197, allocations: 392.8 kB / 0.5445 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3198, allocations: 0 / 0.5445 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.877e-05/0.3198, allocations: 35.98 kB / 0.5446 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.3199, allocations: 124.5 kB / 0.5447 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.32, allocations: 0 / 0.5447 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.3203, allocations: 27.97 kB / 0.5447 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.3204, allocations: 19.92 kB / 0.5447 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008669/0.3212, allocations: 0.5537 MB / 0.5453 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008169/0.3221, allocations: 0.6551 MB / 0.5459 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003075/0.3224, allocations: 139.8 kB / 0.546 GB, free: 2.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.3227, allocations: 363.1 kB / 0.5464 GB, free: 2.219 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.3228, allocations: 0 / 0.5464 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.3241, allocations: 0.5723 MB / 0.5469 GB, free: 1.586 MB / 398.1 MB Notification: Performance of SimCode: time 0.001491/0.3256, allocations: 1.427 MB / 0.5483 GB, free: 60 kB / 398.1 MB Notification: Performance of Templates: time 0.01235/0.3379, allocations: 8.248 MB / 0.5564 GB, free: 7.902 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches