Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001199, allocations: 114.5 kB / 18.46 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 79.86 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3084, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003684/0.3122, allocations: 2.273 MB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.3155, allocations: 2.158 MB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.3157, allocations: 2.344 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3161, allocations: 73.45 kB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.3164, allocations: 105.6 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.3179, allocations: 445.5 kB / 0.5366 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.3185, allocations: 0.5171 MB / 0.5371 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3187, allocations: 69.19 kB / 0.5372 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.3191, allocations: 188.6 kB / 0.5374 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.3195, allocations: 210.8 kB / 0.5376 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.3195, allocations: 14.28 kB / 0.5376 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.3208, allocations: 0.6942 MB / 0.5383 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.3209, allocations: 102.4 kB / 0.5384 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.3212, allocations: 204.7 kB / 0.5386 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.3225, allocations: 0.8542 MB / 0.5394 GB, free: 7.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3225, allocations: 3.938 kB / 0.5394 GB, free: 7.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.3225, allocations: 5.078 kB / 0.5394 GB, free: 7.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.3225, allocations: 0 / 0.5394 GB, free: 7.941 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001742/0.3243, allocations: 0.8335 MB / 0.5402 GB, free: 7.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3243, allocations: 8.625 kB / 0.5402 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005179/0.3249, allocations: 91.48 kB / 0.5403 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.3254, allocations: 324 kB / 0.5406 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.3254, allocations: 40.31 kB / 0.5407 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.3255, allocations: 59.56 kB / 0.5407 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.3268, allocations: 0.7671 MB / 0.5415 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3268, allocations: 9.219 kB / 0.5415 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.3269, allocations: 20.62 kB / 0.5415 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.327, allocations: 24.56 kB / 0.5415 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.328, allocations: 0.5502 MB / 0.542 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.3306, allocations: 1.679 MB / 0.5437 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006054/0.3312, allocations: 306.5 kB / 0.544 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.3315, allocations: 149.3 kB / 0.5441 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.3316, allocations: 10.66 kB / 0.5441 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3316, allocations: 44.03 kB / 0.5442 GB, free: 4.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.3317, allocations: 0 / 0.5442 GB, free: 4.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001255/0.3329, allocations: 0.502 MB / 0.5447 GB, free: 4.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.333, allocations: 106.8 kB / 0.5448 GB, free: 4.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.3337, allocations: 0.6393 MB / 0.5454 GB, free: 3.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3338, allocations: 29.7 kB / 0.5454 GB, free: 3.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.334, allocations: 291.4 kB / 0.5457 GB, free: 3.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.227e-05/0.3341, allocations: 71 kB / 0.5458 GB, free: 3.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.3342, allocations: 126.1 kB / 0.5459 GB, free: 2.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3344, allocations: 366.8 kB / 0.5462 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.3348, allocations: 188.9 kB / 0.5464 GB, free: 2.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.3354, allocations: 469.1 kB / 0.5469 GB, free: 1.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3365, allocations: 0.6787 MB / 0.5475 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3365, allocations: 4 kB / 0.5475 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001351/0.3379, allocations: 0.6864 MB / 0.5482 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3379, allocations: 8 kB / 0.5482 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.372e-05/0.338, allocations: 55.92 kB / 0.5483 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.338, allocations: 12 kB / 0.5483 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.3383, allocations: 71.81 kB / 0.5483 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.3384, allocations: 16.38 kB / 0.5484 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.3389, allocations: 103.2 kB / 0.5485 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.339, allocations: 36 kB / 0.5485 GB, free: 15.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003462/0.3394, allocations: 253.5 kB / 0.5487 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3395, allocations: 47.19 kB / 0.5488 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.3405, allocations: 481.5 kB / 0.5492 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3406, allocations: 4 kB / 0.5492 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-05/0.3406, allocations: 43.98 kB / 0.5493 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.3409, allocations: 128.4 kB / 0.5494 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.341, allocations: 7.984 kB / 0.5494 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.3414, allocations: 15.98 kB / 0.5494 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3415, allocations: 31.97 kB / 0.5495 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009608/0.3424, allocations: 0.5734 MB / 0.55 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009542/0.3434, allocations: 0.694 MB / 0.5507 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000351/0.3438, allocations: 147.9 kB / 0.5508 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005617/0.3443, allocations: 446.7 kB / 0.5513 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Backend: time 5.81e-07/0.3444, allocations: 7.938 kB / 0.5513 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.3463, allocations: 0.847 MB / 0.5521 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 0.0021/0.3484, allocations: 1.681 MB / 0.5537 GB, free: 10.31 MB / 414.1 MB Notification: Performance of Templates: time 0.01929/0.3677, allocations: 11.63 MB / 0.5651 GB, free: 14.79 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches