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.001862/0.001862, allocations: 82.58 kB / 20.68 MB, free: 1.035 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.002568/0.002568, allocations: 163.2 kB / 23.95 MB, free: 4.168 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.419/1.419, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.1994/0.1994, allocations: 32.8 MB / 293.5 MB, free: 40 kB / 270.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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.425e-05, allocations: 6.281 kB / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003456/0.003481, allocations: 1.977 MB / 442.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.005639, allocations: 1.051 MB / 443.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.005768, allocations: 0 / 443.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.00604, allocations: 55.56 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.00629, allocations: 91.31 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.006911, allocations: 181.9 kB / 443.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.007417, allocations: 338.3 kB / 443.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.007493, allocations: 16.92 kB / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.007823, allocations: 155.4 kB / 444 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.008074, allocations: 123.6 kB / 444.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.008117, allocations: 12 kB / 444.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.008498, allocations: 151.7 kB / 444.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.008599, allocations: 79.61 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.008722, allocations: 79.72 kB / 444.4 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.009303, allocations: 402.6 kB / 444.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.009306, allocations: 0 / 444.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.009307, allocations: 0 / 444.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.009313, allocations: 0 / 444.8 MB, free: 3.426 MB / 366.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.001103/0.01042, allocations: 0.5597 MB / 445.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.01045, allocations: 8.031 kB / 445.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.01089, allocations: 64.7 kB / 445.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.01122, allocations: 205.2 kB / 445.6 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.01124, allocations: 24.97 kB / 445.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.01129, allocations: 32.12 kB / 445.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.01205, allocations: 434.5 kB / 446.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01207, allocations: 4 kB / 446.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.0121, allocations: 12 kB / 446.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.01213, allocations: 16.66 kB / 446.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/0.01288, allocations: 322.3 kB / 446.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.01434, allocations: 0.9422 MB / 447.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.01486, allocations: 239.6 kB / 447.6 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.01514, allocations: 110.4 kB / 447.7 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.01518, allocations: 4 kB / 447.8 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.01522, allocations: 34.56 kB / 447.8 MB, free: 288 kB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.01522, allocations: 0 / 447.8 MB, free: 288 kB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.1635/0.1788, allocations: 341.8 kB / 448.1 MB, free: 21.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1788, allocations: 105.1 kB / 448.2 MB, free: 21.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.1791, allocations: 259.9 kB / 448.5 MB, free: 21.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1791, allocations: 32.61 kB / 448.5 MB, free: 21.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.1792, allocations: 213.4 kB / 448.7 MB, free: 21.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1792, allocations: 54.05 kB / 448.8 MB, free: 21.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.1793, allocations: 61.44 kB / 448.8 MB, free: 21.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.1794, allocations: 335.2 kB / 449.2 MB, free: 20.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.1797, allocations: 116 kB / 449.3 MB, free: 20.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.18, allocations: 237.6 kB / 449.5 MB, free: 20.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.1807, allocations: 366.1 kB / 449.9 MB, free: 20.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1807, allocations: 1.281 kB / 449.9 MB, free: 20.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008547/0.1815, allocations: 394.4 kB / 450.2 MB, free: 20.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1816, allocations: 10.02 kB / 450.3 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/0.1816, allocations: 25.48 kB / 450.3 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.1816, allocations: 9.188 kB / 450.3 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1819, allocations: 46.92 kB / 450.3 MB, free: 20.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1819, allocations: 6.891 kB / 450.3 MB, free: 20.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.1821, allocations: 43.09 kB / 450.4 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.1822, allocations: 18.75 kB / 450.4 MB, free: 20.45 MB / 366.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.0001678/0.1823, allocations: 181.9 kB / 450.6 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.1824, allocations: 21.22 kB / 450.6 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.183, allocations: 273.4 kB / 450.9 MB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.183, allocations: 2.375 kB / 450.9 MB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.183, allocations: 1.797 kB / 450.9 MB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.183, allocations: 1.797 kB / 450.9 MB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.1834, allocations: 237.1 kB / 451.1 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.1834, allocations: 19.89 kB / 451.1 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1836, allocations: 31 kB / 451.2 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1836, allocations: 3.656 kB / 451.2 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1836, allocations: 8.422 kB / 451.2 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1836, allocations: 12.41 kB / 451.2 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1836, allocations: 1.188 kB / 451.2 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.1843, allocations: 495.6 kB / 451.7 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1843, allocations: 24.27 kB / 451.7 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.1843, allocations: 2.469 kB / 451.7 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1846, allocations: 20.42 kB / 451.7 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.1847, allocations: 16.97 kB / 451.7 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1847, allocations: 15.05 kB / 451.7 MB, free: 19.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.1848, allocations: 177.3 kB / 451.9 MB, free: 19.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1848, allocations: 1.375 kB / 451.9 MB, free: 19.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000548/0.1854, allocations: 108.9 kB / 452 MB, free: 19.56 MB / 366.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.0002831/0.1856, allocations: 162 kB / 452.2 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1864, allocations: 427.8 kB / 452.6 MB, free: 19.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1864, allocations: 1.375 kB / 452.6 MB, free: 19.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.1867, allocations: 270.8 kB / 452.9 MB, free: 19.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.1872, allocations: 27.02 kB / 452.9 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009937/0.1882, allocations: 0.5669 MB / 453.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1884, allocations: 189.4 kB / 453.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1885, allocations: 49.02 kB / 453.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.1886, allocations: 18.44 kB / 453.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1886, allocations: 0 / 453.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of Templates: time 0.00925/0.1978, allocations: 4.322 MB / 458 MB, free: 18.16 MB / 366.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/jenkins/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/jenkins/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: 4.766976036131382]