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_KC.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.001738/0.001738, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002111/0.002111, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.2321/0.2321, allocations: 46.96 MB / 361.6 MB, free: 3.996 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_KC,tolerance=1e-05,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,tolerance=1e-05,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.89 kB / 0.4974 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2937, allocations: 66.03 MB / 0.5619 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003711/0.2974, allocations: 2.055 MB / 0.5639 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.2991, allocations: 0.8374 MB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.2992, allocations: 8 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.2995, allocations: 55.61 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004576/0.2999, allocations: 147.3 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3002, allocations: 95.7 kB / 0.565 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.3008, allocations: 473.7 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.113e-05/0.3009, allocations: 12.94 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.3012, allocations: 183.1 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.3015, allocations: 223 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.3015, allocations: 12 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.3018, allocations: 95.94 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.302, allocations: 111.3 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3022, allocations: 147 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.3029, allocations: 0.4923 MB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.3029, allocations: 4 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3029, allocations: 4 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3029, allocations: 0 / 0.5667 GB, free: 15.18 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001316/0.3042, allocations: 0.6493 MB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3042, allocations: 8.031 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3043, allocations: 52.55 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.3048, allocations: 245.9 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.3048, allocations: 29.38 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/0.3049, allocations: 52.11 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.306, allocations: 0.6601 MB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.306, allocations: 0 / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.306, allocations: 23.92 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.47e-05/0.3061, allocations: 49.28 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.3073, allocations: 0.692 MB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.3094, allocations: 1.111 MB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/0.3102, allocations: 433 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.3105, allocations: 145.2 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.3106, allocations: 12.22 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.3106, allocations: 34.8 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.3106, allocations: 0 / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001113/0.3117, allocations: 0.5221 MB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.3118, allocations: 51.41 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.312, allocations: 202.6 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.312, allocations: 25.7 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3122, allocations: 252.1 kB / 0.5718 GB, free: 9.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.3123, allocations: 99.16 kB / 0.5719 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3124, allocations: 85.97 kB / 0.5719 GB, free: 9.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3126, allocations: 338.8 kB / 0.5723 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.3129, allocations: 152.5 kB / 0.5724 GB, free: 9.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.3133, allocations: 252.2 kB / 0.5726 GB, free: 8.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007447/0.314, allocations: 431.7 kB / 0.5731 GB, free: 8.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.314, allocations: 4 kB / 0.5731 GB, free: 8.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008846/0.3149, allocations: 469 kB / 0.5735 GB, free: 7.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3149, allocations: 8 kB / 0.5735 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3149, allocations: 4 kB / 0.5735 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.315, allocations: 4 kB / 0.5735 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.316, allocations: 207.8 kB / 0.5737 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/0.3209, allocations: 7.31 MB / 0.5809 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.3211, allocations: 35.78 kB / 0.5809 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.3212, allocations: 19.98 kB / 0.5809 GB, free: 60 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003204/0.3215, allocations: 222.3 kB / 0.5811 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.3215, allocations: 23.8 kB / 0.5812 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3227, allocations: 0.5117 MB / 0.5817 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3227, allocations: 0 / 0.5817 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3227, allocations: 96 / 0.5817 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.3227, allocations: 27.89 kB / 0.5817 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.3228, allocations: 7.938 kB / 0.5817 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.323, allocations: 8 kB / 0.5817 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.323, allocations: 27.95 kB / 0.5817 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001996/0.325, allocations: 0.7683 MB / 0.5825 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00127/0.3263, allocations: 0.7799 MB / 0.5832 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003142/0.3266, allocations: 164.3 kB / 0.5834 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3267, allocations: 131.2 kB / 0.5835 GB, free: 13.32 MB / 430.1 MB Notification: Performance of Backend: time 5.91e-07/0.3267, allocations: 0 / 0.5835 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3284, allocations: 0.5003 MB / 0.584 GB, free: 12.82 MB / 430.1 MB Notification: Performance of SimCode: time 0.001665/0.3301, allocations: 1.276 MB / 0.5852 GB, free: 11.49 MB / 430.1 MB Notification: Performance of Templates: time 0.01301/0.3431, allocations: 7.406 MB / 0.5925 GB, free: 4.207 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_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/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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],Nu[1],Nu[2],Nu[3],m_flow_1[1],m_flow_1[2],m_flow_1[3],m_flow_2[1],m_flow_2[2],m_flow_2[3],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],Re_4[1],Re_4[2],Re_4[3],input_Nu.y Variables in the result:L,Nu[1],Nu[2],Nu[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],Re_4[1],Re_4[2],Re_4[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],lambda[1],lambda[2],lambda[3],m_flow_1[1],m_flow_1[2],m_flow_1[3],m_flow_2[1],m_flow_2[2],m_flow_2[3],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],n,rho[1],rho[2],rho[3],time [Calling sys.exit(0), Time elapsed: 5.432325465997565]