Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001769/0.002824, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002707, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.09/1.09, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.192, allocations: 53.86 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3073/0.3073, allocations: 34.89 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02837/0.3357, allocations: 13.23 MB / 292.8 MB, free: 6.414 MB / 282.7 MB " [Timeout remaining time 180] 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_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_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.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.084e-05, allocations: 5.641 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002787/0.002808, allocations: 2.122 MB / 296.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.004336, allocations: 1.15 MB / 297.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.589e-05/0.004422, allocations: 0 / 297.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.004588, allocations: 63.55 kB / 297.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.00474, allocations: 79.45 kB / 297.5 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.005201, allocations: 179.2 kB / 297.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.005513, allocations: 350.3 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.005554, allocations: 10.91 kB / 298.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.005787, allocations: 180.1 kB / 298.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.005937, allocations: 119.6 kB / 298.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.00596, allocations: 12 kB / 298.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.00626, allocations: 151.8 kB / 298.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.006339, allocations: 67.72 kB / 298.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.006406, allocations: 59.81 kB / 298.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.006767, allocations: 330.8 kB / 299 MB, free: 240 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.006779, allocations: 0 / 299 MB, free: 240 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00678, allocations: 0 / 299 MB, free: 240 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.006794, allocations: 0 / 299 MB, free: 240 kB / 282.7 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.0008205/0.007614, allocations: 0.5724 MB / 299.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.007655, allocations: 8.922 kB / 299.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/0.007955, allocations: 153.9 kB / 299.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.008151, allocations: 177.2 kB / 299.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.008169, allocations: 24.66 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.008195, allocations: 24 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.008486, allocations: 286.2 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.008494, allocations: 0 / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.00851, allocations: 11.94 kB / 300.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.008537, allocations: 20.66 kB / 300.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.00866, allocations: 106.1 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000963/0.009623, allocations: 0.7556 MB / 301.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.009772, allocations: 160.1 kB / 301.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.009812, allocations: 26.56 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.009836, allocations: 15.92 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.009855, allocations: 34.56 kB / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.009856, allocations: 0 / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002148/0.01007, allocations: 94.36 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.01011, allocations: 111 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01022, allocations: 224.9 kB / 301.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.01023, allocations: 29.7 kB / 301.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.01031, allocations: 208.1 kB / 302 MB, free: 13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.01033, allocations: 43.64 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.0104, allocations: 61.78 kB / 302.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.01048, allocations: 334.7 kB / 302.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/0.01053, allocations: 27.05 kB / 302.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/0.01062, allocations: 140.4 kB / 302.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.01079, allocations: 220.5 kB / 302.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01079, allocations: 4 kB / 302.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002185/0.01101, allocations: 180.9 kB / 302.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.01103, allocations: 8 kB / 303 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.01105, allocations: 15.98 kB / 303 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.01106, allocations: 4 kB / 303 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.01117, allocations: 47.91 kB / 303 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01118, allocations: 8 kB / 303 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.01127, allocations: 35.77 kB / 303.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01129, allocations: 12 kB / 303.1 MB, free: 11.74 MB / 298.7 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_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].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.0001067/0.0114, allocations: 140.5 kB / 303.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.01144, allocations: 15.98 kB / 303.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.01165, allocations: 135.8 kB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01165, allocations: 0 / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01165, allocations: 7.984 kB / 303.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01166, allocations: 0 / 303.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.01187, allocations: 145.6 kB / 303.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.01189, allocations: 12 kB / 303.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.01195, allocations: 23.97 kB / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.01197, allocations: 19.86 kB / 303.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01197, allocations: 0 / 303.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01198, allocations: 7.938 kB / 303.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01198, allocations: 8 kB / 303.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01198, allocations: 0 / 303.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.01217, allocations: 378.6 kB / 304 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.01219, allocations: 7.984 kB / 304 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.01229, allocations: 8 kB / 304 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.01233, allocations: 15.97 kB / 304 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01234, allocations: 11.94 kB / 304 MB, free: 10.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.89e-05/0.01239, allocations: 70.78 kB / 304.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01239, allocations: 0 / 304.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.0127, allocations: 111.7 kB / 304.2 MB, free: 10.6 MB / 298.7 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.0002202/0.01292, allocations: 138.2 kB / 304.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.01315, allocations: 268.6 kB / 304.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.01316, allocations: 4 kB / 304.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.01329, allocations: 207.3 kB / 304.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.01367, allocations: 364 kB / 305.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.01575, allocations: 0.5402 MB / 305.7 MB, free: 8.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.492e-05/0.01581, allocations: 107.9 kB / 305.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.01587, allocations: 21.62 kB / 305.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.01602, allocations: 111.3 kB / 305.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01602, allocations: 0 / 305.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of Templates: time 0.006392/0.02241, allocations: 4.567 MB / 310.5 MB, free: 4.168 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0821802215650678]