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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002408/0.002408, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.522/2.522, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4796/0.4796, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 82.67 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1919, allocations: 62.45 MB / 480 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00483/0.1968, allocations: 2.075 MB / 482 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1998, allocations: 1.176 MB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.2002, allocations: 4 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.2006, allocations: 47.73 kB / 483.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.201, allocations: 71.59 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000779/0.2018, allocations: 147.6 kB / 483.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006179/0.2025, allocations: 406.4 kB / 483.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.2026, allocations: 40.7 kB / 483.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.2029, allocations: 115.4 kB / 484 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.2033, allocations: 147.2 kB / 484.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.2033, allocations: 8 kB / 484.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.2039, allocations: 211.7 kB / 484.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.204, allocations: 67.67 kB / 484.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.2042, allocations: 123.2 kB / 484.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.2046, allocations: 279.5 kB / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2046, allocations: 0 / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.2047, allocations: 3.984 kB / 484.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2047, allocations: 0 / 484.9 MB, free: 0.8086 MB / 350.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.001267/0.2059, allocations: 0.616 MB / 485.5 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.206, allocations: 12.03 kB / 485.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.2064, allocations: 68.45 kB / 485.5 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.2068, allocations: 256.3 kB / 485.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.2069, allocations: 24.48 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.2069, allocations: 28 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007857/0.2077, allocations: 437.8 kB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2077, allocations: 0 / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.2078, allocations: 12 kB / 486.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.2078, allocations: 12.56 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.2085, allocations: 329.9 kB / 486.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2102, allocations: 1.104 MB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.2108, allocations: 235.7 kB / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.2111, allocations: 122.3 kB / 488.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.2112, allocations: 0 / 488.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.041e-05/0.2113, allocations: 42.5 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.2113, allocations: 0 / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001124/0.2124, allocations: 349.2 kB / 488.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.2125, allocations: 106.8 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.2131, allocations: 413.4 kB / 489 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.2131, allocations: 25.7 kB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.2133, allocations: 191.9 kB / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.2134, allocations: 55.34 kB / 489.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.2135, allocations: 65.84 kB / 489.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.2138, allocations: 342.8 kB / 489.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.2141, allocations: 120.1 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.2145, allocations: 227.8 kB / 490 MB, free: 11.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.2154, allocations: 379.2 kB / 490.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2154, allocations: 0 / 490.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009057/0.2163, allocations: 396.7 kB / 490.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.2163, allocations: 4 kB / 490.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/0.2164, allocations: 28.52 kB / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.2164, allocations: 4 kB / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.2167, allocations: 51.89 kB / 490.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.2167, allocations: 15.88 kB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.2171, allocations: 51.52 kB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.2171, allocations: 19.98 kB / 490.9 MB, free: 10.36 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.0002663/0.2174, allocations: 189.2 kB / 491.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2175, allocations: 27.62 kB / 491.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.2182, allocations: 288.2 kB / 491.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.2182, allocations: 4 kB / 491.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2182, allocations: 3.938 kB / 491.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.2182, allocations: 0 / 491.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.2187, allocations: 309.4 kB / 491.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/0.2187, allocations: 24 kB / 491.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.2189, allocations: 23.97 kB / 491.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2189, allocations: 0 / 491.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.2189, allocations: 11.98 kB / 491.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2189, allocations: 4.094 kB / 491.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/0.219, allocations: 11.88 kB / 491.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.2197, allocations: 0.5014 MB / 492.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2198, allocations: 104.7 kB / 492.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.2199, allocations: 7.984 kB / 492.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.2202, allocations: 15.98 kB / 492.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.2202, allocations: 23.92 kB / 492.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.2203, allocations: 7.984 kB / 492.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000436/0.2207, allocations: 291.1 kB / 492.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2207, allocations: 0 / 492.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000557/0.2213, allocations: 91.94 kB / 492.8 MB, free: 8.355 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.0003734/0.2217, allocations: 159.2 kB / 493 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.2225, allocations: 430.2 kB / 493.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2225, allocations: 0 / 493.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.2229, allocations: 274 kB / 493.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.2236, allocations: 74.02 kB / 493.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2249, allocations: 0.7171 MB / 494.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.2254, allocations: 0.795 MB / 495.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.2255, allocations: 31.42 kB / 495.3 MB, free: 5.75 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2255, allocations: 0 / 495.3 MB, free: 5.75 MB / 366.1 MB Notification: Performance of Templates: time 0.008977/0.2345, allocations: 5.541 MB / 0.4891 GB, free: 236 kB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches