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.0007207/0.0007207, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001809, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007823/0.0007823, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001796, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9894/0.9894, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08697/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.27/0.27, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0232/0.2932, allocations: 13.11 MB / 291.5 MB, free: 7.324 MB / 282.7 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.[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_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.[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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 292.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.389e-05, allocations: 6.906 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003536/0.00356, allocations: 2.131 MB / 295 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.005464, allocations: 1.146 MB / 296.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.005569, allocations: 0 / 296.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.005798, allocations: 63.55 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.006032, allocations: 75.52 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.006618, allocations: 187.1 kB / 296.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.007043, allocations: 342.4 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.007109, allocations: 14.84 kB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.007451, allocations: 176.1 kB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.007648, allocations: 119.6 kB / 297.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.007681, allocations: 12 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.008046, allocations: 159.8 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.008131, allocations: 63.78 kB / 297.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.571e-05/0.008216, allocations: 59.81 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.008687, allocations: 330.8 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.008697, allocations: 0 / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008698, allocations: 0 / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.008712, allocations: 0 / 297.7 MB, free: 1.32 MB / 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.0008557/0.009567, allocations: 0.5747 MB / 298.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.009602, allocations: 8.031 kB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.009962, allocations: 150 kB / 298.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.01022, allocations: 185.6 kB / 298.6 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.01024, allocations: 20.66 kB / 298.6 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.01028, allocations: 24 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.01074, allocations: 286.2 kB / 298.9 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01075, allocations: 0 / 298.9 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.01078, allocations: 8 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.01082, allocations: 16.66 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.01103, allocations: 114.1 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.01207, allocations: 0.7556 MB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.01229, allocations: 156.1 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.01236, allocations: 26.56 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.01239, allocations: 4 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.01242, allocations: 42.5 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.013e-06/0.01242, allocations: 0 / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003361/0.01276, allocations: 101.8 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.01281, allocations: 110.8 kB / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.01299, allocations: 220.9 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.01301, allocations: 29.7 kB / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01313, allocations: 204.2 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.01317, allocations: 51.56 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.01327, allocations: 53.86 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.01337, allocations: 338.7 kB / 301.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.01345, allocations: 27.05 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.01359, allocations: 136.9 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01386, allocations: 219.6 kB / 301.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01386, allocations: 0 / 301.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003318/0.01419, allocations: 184.8 kB / 301.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.01421, allocations: 8 kB / 301.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.42e-05/0.01426, allocations: 15.98 kB / 301.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01427, allocations: 4 kB / 301.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.01446, allocations: 47.91 kB / 301.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.01447, allocations: 8 kB / 301.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.01464, allocations: 39.83 kB / 301.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.01467, allocations: 8 kB / 301.8 MB, free: 12.83 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.0001539/0.01482, allocations: 155.8 kB / 302 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.0149, allocations: 15.92 kB / 302 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.0152, allocations: 131.5 kB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.0152, allocations: 0 / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.0152, allocations: 4 kB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01521, allocations: 0 / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.01555, allocations: 145.6 kB / 302.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.034e-05/0.0156, allocations: 12 kB / 302.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.01571, allocations: 23.97 kB / 302.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.01575, allocations: 19.86 kB / 302.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.01575, allocations: 0 / 302.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.01577, allocations: 8 kB / 302.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.01577, allocations: 7.922 kB / 302.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01578, allocations: 0 / 302.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.01608, allocations: 386 kB / 302.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.01611, allocations: 4 kB / 302.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.01631, allocations: 8 kB / 302.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.01637, allocations: 15.97 kB / 302.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.01639, allocations: 8 kB / 302.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.01648, allocations: 70.78 kB / 302.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01648, allocations: 0 / 302.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.01704, allocations: 111.6 kB / 302.9 MB, free: 11.68 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.0003269/0.01737, allocations: 142.2 kB / 303.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.01771, allocations: 264.2 kB / 303.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/0.01773, allocations: 7.984 kB / 303.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.01795, allocations: 207.4 kB / 303.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.01857, allocations: 359 kB / 303.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.02222, allocations: 0.5401 MB / 304.4 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.783e-05/0.02232, allocations: 103.9 kB / 304.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.02243, allocations: 25.61 kB / 304.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.02267, allocations: 111.3 kB / 304.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02267, allocations: 0 / 304.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of Templates: time 0.007827/0.0305, allocations: 4.564 MB / 309.2 MB, free: 5.254 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] 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","",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: 2.8448167769238353]