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.0009427/0.0009427, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002262, allocations: 449.7 kB / 10.37 MB, free: 324 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.0009109/0.0009109, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002097, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.07/1.07, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09112/1.162, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2633/0.2633, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04535/0.3087, allocations: 13.23 MB / 292.6 MB, free: 6.473 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 9.52e-07/9.52e-07, allocations: 0 / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.907e-05, allocations: 3.516 kB / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002576/0.002595, allocations: 2.116 MB / 296 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003902, allocations: 1.15 MB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.003984, allocations: 3.938 kB / 297.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.004146, allocations: 55.61 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.004318, allocations: 87.44 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.00468, allocations: 175.2 kB / 297.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.00497, allocations: 350.3 kB / 297.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.005023, allocations: 18.89 kB / 297.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.00525, allocations: 172.2 kB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.005374, allocations: 119.6 kB / 298.1 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005393, allocations: 8 kB / 298.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.005635, allocations: 171.7 kB / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.005694, allocations: 55.78 kB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.005756, allocations: 59.81 kB / 298.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.006084, allocations: 326.8 kB / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.006095, allocations: 0 / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006096, allocations: 0 / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.006111, allocations: 11.92 kB / 298.7 MB, free: 328 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.0006882/0.006799, allocations: 0.5591 MB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.006829, allocations: 12.91 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.007068, allocations: 158 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.007286, allocations: 177 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.007311, allocations: 20.66 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.007339, allocations: 24 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.00768, allocations: 286.2 kB / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.007692, allocations: 0 / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.007711, allocations: 15.98 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.007741, allocations: 16.64 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.007873, allocations: 106.2 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.008585, allocations: 0.7556 MB / 300.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.008739, allocations: 164 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.008783, allocations: 35.23 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.00881, allocations: 11.97 kB / 301 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.008828, allocations: 34.5 kB / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.00883, allocations: 0 / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002089/0.009039, allocations: 102.4 kB / 301.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.009081, allocations: 106.8 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.009202, allocations: 224.9 kB / 301.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.009218, allocations: 25.7 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.00929, allocations: 192.2 kB / 301.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.009319, allocations: 51.56 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.009398, allocations: 57.86 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.009501, allocations: 338.7 kB / 302.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.009551, allocations: 27 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.00966, allocations: 136.4 kB / 302.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.009844, allocations: 211.9 kB / 302.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.009847, allocations: 4 kB / 302.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002078/0.01005, allocations: 184.7 kB / 302.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.01007, allocations: 7.984 kB / 302.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.01009, allocations: 16 kB / 302.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.0101, allocations: 4 kB / 302.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01021, allocations: 43.91 kB / 302.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01022, allocations: 11.98 kB / 302.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.01032, allocations: 27.84 kB / 302.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.01034, allocations: 16.25 kB / 302.8 MB, free: 11.84 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.0001022/0.01044, allocations: 140.5 kB / 303 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.01048, allocations: 15.98 kB / 303 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.01066, allocations: 131.5 kB / 303.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01066, allocations: 0 / 303.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.01067, allocations: 4 kB / 303.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01067, allocations: 0 / 303.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.01087, allocations: 149.6 kB / 303.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.01089, allocations: 15.98 kB / 303.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.01094, allocations: 23.98 kB / 303.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.01096, allocations: 23.8 kB / 303.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01096, allocations: 0 / 303.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01097, allocations: 3.984 kB / 303.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01097, allocations: 4 kB / 303.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01097, allocations: 0 / 303.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.01116, allocations: 380.6 kB / 303.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.01118, allocations: 4 kB / 303.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.01127, allocations: 11.98 kB / 303.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.01131, allocations: 15.98 kB / 303.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01132, allocations: 8 kB / 303.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.741e-05/0.01137, allocations: 66.78 kB / 303.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01137, allocations: 0 / 303.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.01165, allocations: 111.7 kB / 303.9 MB, free: 10.71 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.0001847/0.01184, allocations: 149 kB / 304.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.01205, allocations: 252.2 kB / 304.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.01206, allocations: 4 kB / 304.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.01216, allocations: 207.6 kB / 304.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.01244, allocations: 58.98 kB / 304.6 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.01453, allocations: 0.5558 MB / 305.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.597e-05/0.0146, allocations: 103.9 kB / 305.2 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.062e-05/0.01466, allocations: 21.61 kB / 305.2 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.0148, allocations: 107.3 kB / 305.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0148, allocations: 0 / 305.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of Templates: time 0.006233/0.02103, allocations: 4.673 MB / 310 MB, free: 4.535 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.038164840079844]