Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.001819/0.001819, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002323/0.002323, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 44.92 MB / 359.6 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] 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.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_turbulent,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 71.89 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3144, allocations: 65.46 MB / 0.5583 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003439/0.3178, allocations: 2.055 MB / 0.5603 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3198, allocations: 1.173 MB / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.3199, allocations: 3.938 kB / 0.5614 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3201, allocations: 63.67 kB / 0.5615 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.3203, allocations: 79.5 kB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.3209, allocations: 179.4 kB / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.3213, allocations: 326.5 kB / 0.5621 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.3214, allocations: 12.92 kB / 0.5621 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.3216, allocations: 127.4 kB / 0.5622 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.3218, allocations: 147.3 kB / 0.5623 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3219, allocations: 8 kB / 0.5623 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.3223, allocations: 211.8 kB / 0.5625 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3224, allocations: 71.67 kB / 0.5626 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.3225, allocations: 123.2 kB / 0.5627 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.323, allocations: 404.7 kB / 0.5631 GB, free: 2.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.323, allocations: 4 kB / 0.5631 GB, free: 2.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.323, allocations: 0 / 0.5631 GB, free: 2.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.323, allocations: 0 / 0.5631 GB, free: 2.719 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00111/0.3242, allocations: 0.5695 MB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3242, allocations: 12.03 kB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.3246, allocations: 68.66 kB / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.3249, allocations: 206.3 kB / 0.5639 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.325, allocations: 20.66 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.325, allocations: 31.94 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.3258, allocations: 430.6 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3258, allocations: 0 / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3258, allocations: 8 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.3258, allocations: 20.64 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/0.3265, allocations: 326.3 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.3282, allocations: 1.07 MB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.3287, allocations: 231.7 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.329, allocations: 110.5 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.329, allocations: 7.984 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3291, allocations: 42.5 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3291, allocations: 0 / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001035/0.3301, allocations: 361.1 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.3302, allocations: 110.8 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.3307, allocations: 401.6 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3307, allocations: 29.95 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3308, allocations: 200 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.3309, allocations: 51.56 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.331, allocations: 65.89 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3312, allocations: 346.7 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.3315, allocations: 116.1 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.3319, allocations: 231.8 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/0.3326, allocations: 367 kB / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.3326, allocations: 4 kB / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008505/0.3335, allocations: 392.9 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3335, allocations: 8.531 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/0.3335, allocations: 27.98 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.3336, allocations: 8 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.3338, allocations: 51.89 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.3338, allocations: 15.81 kB / 0.5688 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.3341, allocations: 59.61 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3341, allocations: 15.98 kB / 0.5689 GB, free: 12.43 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001931/0.3343, allocations: 179.6 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.3344, allocations: 35.81 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006266/0.335, allocations: 284.2 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.335, allocations: 3.938 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.335, allocations: 7.938 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.335, allocations: 0 / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.3355, allocations: 272.6 kB / 0.5696 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.483e-05/0.3356, allocations: 24 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.3357, allocations: 23.97 kB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3357, allocations: 0 / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3357, allocations: 4 kB / 0.5697 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3357, allocations: 7.984 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3357, allocations: 3.938 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.3365, allocations: 0.5132 MB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.3366, allocations: 35.7 kB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.3366, allocations: 4 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.3369, allocations: 23.97 kB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.337, allocations: 23.92 kB / 0.5703 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.337, allocations: 7.984 kB / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.3373, allocations: 291.2 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3373, allocations: 3.938 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005182/0.3378, allocations: 95.86 kB / 0.5707 GB, free: 10.55 MB / 414.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002757/0.3381, allocations: 151.1 kB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.3389, allocations: 430.2 kB / 0.5712 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3389, allocations: 0 / 0.5712 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.3393, allocations: 262.1 kB / 0.5715 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.3399, allocations: 78.83 kB / 0.5715 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.341, allocations: 0.6376 MB / 0.5722 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.3415, allocations: 0.7987 MB / 0.573 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.3416, allocations: 23.42 kB / 0.573 GB, free: 8.031 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3416, allocations: 0 / 0.573 GB, free: 8.031 MB / 414.1 MB Notification: Performance of Templates: time 0.009346/0.3509, allocations: 5.618 MB / 0.5785 GB, free: 2.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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: 8.208729014964774]