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_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.001944/0.001944, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001851/0.001851, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2284/0.2284, allocations: 46.95 MB / 360.9 MB, free: 4.121 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_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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.89 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4143, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00466/0.419, allocations: 1.968 MB / 0.563 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.4214, allocations: 1.053 MB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.4215, allocations: 0 / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.4219, allocations: 63.61 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.4222, allocations: 75.53 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008536/0.423, allocations: 187.3 kB / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000511/0.4235, allocations: 322.5 kB / 0.5647 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.085e-05/0.4236, allocations: 8.938 kB / 0.5647 GB, free: 476 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.4239, allocations: 123.4 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.4242, allocations: 147.2 kB / 0.565 GB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.4242, allocations: 8 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.4245, allocations: 159.8 kB / 0.5651 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.4247, allocations: 67.69 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.4248, allocations: 107.3 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007817/0.4256, allocations: 400.6 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4256, allocations: 4 kB / 0.5657 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4256, allocations: 0 / 0.5657 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.4256, allocations: 0 / 0.5657 GB, free: 15.47 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001404/0.427, allocations: 0.5558 MB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4271, allocations: 8.031 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004348/0.4275, allocations: 72.66 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.4279, allocations: 209.8 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.4279, allocations: 24.64 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.428, allocations: 31.94 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.4288, allocations: 426.6 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4288, allocations: 0 / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.4288, allocations: 8 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.4289, allocations: 16.66 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.4296, allocations: 326.3 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.4312, allocations: 0.9421 MB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.4318, allocations: 231.7 kB / 0.5684 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.4321, allocations: 110.5 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.4321, allocations: 4 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.4322, allocations: 34.5 kB / 0.5686 GB, free: 12.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.4322, allocations: 4 kB / 0.5686 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001055/0.4332, allocations: 345.4 kB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.4333, allocations: 106.8 kB / 0.569 GB, free: 11.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.4336, allocations: 260.7 kB / 0.5693 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.4337, allocations: 29.64 kB / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4338, allocations: 212.2 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.4339, allocations: 59.47 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.434, allocations: 65.88 kB / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4342, allocations: 326.8 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.4345, allocations: 124.2 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.435, allocations: 231.8 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.4357, allocations: 371 kB / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4357, allocations: 0 / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008632/0.4366, allocations: 385 kB / 0.571 GB, free: 9.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.4366, allocations: 8 kB / 0.571 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/0.4367, allocations: 23.98 kB / 0.571 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.4367, allocations: 8 kB / 0.571 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.4369, allocations: 56.38 kB / 0.5711 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.437, allocations: 8.125 kB / 0.5711 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.4372, allocations: 47.77 kB / 0.5711 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.4372, allocations: 23.92 kB / 0.5711 GB, free: 9.516 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.0002016/0.4374, allocations: 170.2 kB / 0.5713 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.4375, allocations: 23.84 kB / 0.5713 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.4382, allocations: 283.2 kB / 0.5716 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4382, allocations: 4 kB / 0.5716 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4382, allocations: 0 / 0.5716 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4382, allocations: 3.938 kB / 0.5716 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.4387, allocations: 229.1 kB / 0.5718 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.492e-05/0.4387, allocations: 19.98 kB / 0.5718 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4388, allocations: 23.97 kB / 0.5719 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4389, allocations: 4 kB / 0.5719 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.4389, allocations: 8 kB / 0.5719 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4389, allocations: 4 kB / 0.5719 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4389, allocations: 0 / 0.5719 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.4397, allocations: 0.5016 MB / 0.5724 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.4397, allocations: 23.84 kB / 0.5724 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.4397, allocations: 4 kB / 0.5724 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.44, allocations: 15.98 kB / 0.5724 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.4401, allocations: 23.91 kB / 0.5724 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.4401, allocations: 15.94 kB / 0.5725 GB, free: 8.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.4403, allocations: 176.5 kB / 0.5726 GB, free: 7.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4403, allocations: 0 / 0.5726 GB, free: 7.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006743/0.441, allocations: 103.7 kB / 0.5727 GB, free: 7.84 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.0003618/0.4413, allocations: 151.1 kB / 0.5729 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009039/0.4422, allocations: 430.5 kB / 0.5733 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4422, allocations: 192 / 0.5733 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.4427, allocations: 270 kB / 0.5735 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.4432, allocations: 30.53 kB / 0.5736 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4445, allocations: 0.5892 MB / 0.5741 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.4448, allocations: 197.4 kB / 0.5743 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.4449, allocations: 49.56 kB / 0.5744 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.445, allocations: 15.44 kB / 0.5744 GB, free: 6 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.445, allocations: 0 / 0.5744 GB, free: 6 MB / 414.1 MB Notification: Performance of Templates: time 0.009971/0.4549, allocations: 4.699 MB / 0.579 GB, free: 1.379 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.570746276061982]