Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 207.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 46.97 MB / 361.6 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 0.4974 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3556, allocations: 66.03 MB / 0.5619 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003503/0.3591, allocations: 2.133 MB / 0.5639 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.361, allocations: 1.079 MB / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.361, allocations: 0 / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.3613, allocations: 63.59 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.3616, allocations: 119.2 kB / 0.5652 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.3621, allocations: 199.3 kB / 0.5654 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.3626, allocations: 497.8 kB / 0.5658 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.778e-05/0.3627, allocations: 17.28 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.363, allocations: 187 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.3633, allocations: 203 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.3633, allocations: 12 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.3636, allocations: 155.8 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3637, allocations: 103.4 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.3639, allocations: 155 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.3646, allocations: 0.5546 MB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3646, allocations: 0 / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.3646, allocations: 4 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3646, allocations: 0 / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001215/0.3658, allocations: 0.6843 MB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3658, allocations: 12.03 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.3662, allocations: 84.56 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.3667, allocations: 249.8 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.3667, allocations: 37.38 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.3668, allocations: 44.12 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.3679, allocations: 0.6597 MB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3679, allocations: 4 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.368, allocations: 19.98 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.321e-05/0.368, allocations: 32.98 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.369, allocations: 479.5 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.371, allocations: 1.262 MB / 0.5706 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.3716, allocations: 295.5 kB / 0.5709 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.3719, allocations: 150.3 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.372, allocations: 7.984 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.372, allocations: 34.56 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.372, allocations: 0 / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001258/0.3733, allocations: 484.1 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.3733, allocations: 106.8 kB / 0.5717 GB, free: 9.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.3736, allocations: 272.8 kB / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3736, allocations: 25.7 kB / 0.5719 GB, free: 9.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3738, allocations: 256.4 kB / 0.5722 GB, free: 9.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.3739, allocations: 83.36 kB / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.374, allocations: 77.97 kB / 0.5723 GB, free: 9.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3742, allocations: 334.8 kB / 0.5727 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.3746, allocations: 152.1 kB / 0.5728 GB, free: 8.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.3751, allocations: 271.8 kB / 0.5731 GB, free: 8.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.3759, allocations: 446.9 kB / 0.5735 GB, free: 7.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3759, allocations: 0 / 0.5735 GB, free: 7.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001026/0.3769, allocations: 487.3 kB / 0.574 GB, free: 7.441 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.377, allocations: 8.531 kB / 0.574 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.261e-05/0.377, allocations: 43.98 kB / 0.574 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3771, allocations: 8 kB / 0.574 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.3773, allocations: 39.91 kB / 0.5741 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.3773, allocations: 19.86 kB / 0.5741 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.3776, allocations: 47.77 kB / 0.5741 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.3776, allocations: 23.98 kB / 0.5741 GB, free: 7.254 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (33): * Single equations (assignments): 21 * 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.0002477/0.3779, allocations: 206.2 kB / 0.5743 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.3779, allocations: 23.86 kB / 0.5744 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008976/0.3788, allocations: 427.3 kB / 0.5748 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3788, allocations: 3.938 kB / 0.5748 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.529e-05/0.3789, allocations: 35.98 kB / 0.5748 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.379, allocations: 35.66 kB / 0.5748 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.379, allocations: 4 kB / 0.5748 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.3793, allocations: 23.97 kB / 0.5749 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.3794, allocations: 19.97 kB / 0.5749 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009834/0.3803, allocations: 0.5734 MB / 0.5755 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009235/0.3813, allocations: 0.6711 MB / 0.5761 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003499/0.3816, allocations: 147.7 kB / 0.5762 GB, free: 5.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.3818, allocations: 176.5 kB / 0.5764 GB, free: 4.887 MB / 414.1 MB Notification: Performance of Backend: time 3.4e-07/0.3818, allocations: 0 / 0.5764 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.3832, allocations: 0.6581 MB / 0.5771 GB, free: 4.152 MB / 414.1 MB Notification: Performance of SimCode: time 0.001566/0.3847, allocations: 1.451 MB / 0.5785 GB, free: 2.574 MB / 414.1 MB Notification: Performance of Templates: time 0.01215/0.3969, allocations: 6.772 MB / 0.5851 GB, free: 11.9 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.28066317900084]