Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 108.4 kB / 17.86 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 209.7 kB / 18.79 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.799/1.799, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4044/0.4044, allocations: 46.1 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002998/0.002998, allocations: 75.12 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.164, allocations: 62.46 MB / 480 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004832/0.1689, allocations: 2.32 MB / 482.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004414/0.1734, allocations: 2.173 MB / 484.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.1737, allocations: 4 kB / 484.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.1742, allocations: 67.66 kB / 484.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.1747, allocations: 99.41 kB / 484.6 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.1766, allocations: 382.7 kB / 485 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.1777, allocations: 0.6224 MB / 485.6 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.178, allocations: 61.05 kB / 485.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006272/0.1786, allocations: 183 kB / 485.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1791, allocations: 218.9 kB / 486.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.1792, allocations: 12 kB / 486.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.1808, allocations: 0.6903 MB / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.181, allocations: 99.47 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.1813, allocations: 206.6 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1824, allocations: 0.5729 MB / 487.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1824, allocations: 4 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1824, allocations: 3.938 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.1824, allocations: 4 kB / 487.7 MB, free: 13.96 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002255/0.1847, allocations: 0.8308 MB / 488.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.1847, allocations: 12.88 kB / 488.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/0.1853, allocations: 92.23 kB / 488.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.186, allocations: 320 kB / 488.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.186, allocations: 41.67 kB / 488.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.1861, allocations: 60.12 kB / 489 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.1875, allocations: 0.7657 MB / 489.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1876, allocations: 0 / 489.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.1876, allocations: 20 kB / 489.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/0.1877, allocations: 29.31 kB / 489.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1889, allocations: 0.5476 MB / 490.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.1916, allocations: 1.692 MB / 492.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.1923, allocations: 311.4 kB / 492.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.1927, allocations: 146.5 kB / 492.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.1928, allocations: 7.984 kB / 492.5 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.1928, allocations: 46.5 kB / 492.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.904e-06/0.1928, allocations: 0 / 492.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001356/0.1942, allocations: 0.4995 MB / 493.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.1943, allocations: 110.8 kB / 493.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000823/0.1951, allocations: 0.6393 MB / 493.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1952, allocations: 25.7 kB / 493.8 MB, free: 7.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.1954, allocations: 295.3 kB / 494.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.1955, allocations: 78.98 kB / 494.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.1957, allocations: 118.1 kB / 494.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1959, allocations: 366.8 kB / 494.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.1964, allocations: 192.9 kB / 494.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.1971, allocations: 461.4 kB / 495.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.1982, allocations: 0.6711 MB / 496 MB, free: 5.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.1983, allocations: 0 / 496 MB, free: 5.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001482/0.1998, allocations: 0.6944 MB / 496.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.1998, allocations: 11.94 kB / 496.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.1999, allocations: 51.98 kB / 496.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.1999, allocations: 12 kB / 496.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2003, allocations: 67.83 kB / 496.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/0.2003, allocations: 19.92 kB / 496.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.2009, allocations: 103.3 kB / 496.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.2009, allocations: 39.94 kB / 497 MB, free: 4.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003349/0.2013, allocations: 253.5 kB / 497.2 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.2014, allocations: 55.27 kB / 497.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009934/0.2024, allocations: 465.7 kB / 497.7 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2024, allocations: 4 kB / 497.7 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2025, allocations: 3.938 kB / 497.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2025, allocations: 4 kB / 497.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007564/0.2032, allocations: 409.3 kB / 498.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.073e-05/0.2033, allocations: 55.92 kB / 498.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.2035, allocations: 23.97 kB / 498.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.2035, allocations: 3.938 kB / 498.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.2036, allocations: 12 kB / 498.2 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2036, allocations: 4 kB / 498.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2036, allocations: 0 / 498.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2047, allocations: 0.6149 MB / 498.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.2049, allocations: 140.3 kB / 499 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.205, allocations: 11.94 kB / 499 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.2053, allocations: 11.98 kB / 499 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.2054, allocations: 27.97 kB / 499 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.2054, allocations: 16 kB / 499.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000572/0.206, allocations: 446.7 kB / 499.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.206, allocations: 0 / 499.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.2069, allocations: 195.8 kB / 499.7 MB, free: 1.285 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0007001/0.2077, allocations: 227 kB / 499.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.209, allocations: 0.755 MB / 0.4889 GB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.209, allocations: 8.125 kB / 0.4889 GB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006565/0.2097, allocations: 480.2 kB / 0.4894 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2108, allocations: 129.6 kB / 0.4895 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.2138, allocations: 1.148 MB / 0.4906 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.2144, allocations: 0.8818 MB / 0.4915 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2146, allocations: 39.44 kB / 0.4915 GB, free: 13.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.2146, allocations: 0 / 0.4915 GB, free: 13.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02656/0.2412, allocations: 10.11 MB / 0.5014 GB, free: 3.352 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches