Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.19 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004632, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1654, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003049/0.1685, allocations: 1.794 MB / 484.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.1711, allocations: 1.328 MB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.1713, allocations: 3.938 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.1717, allocations: 59.72 kB / 486.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.172, allocations: 83.5 kB / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.1729, allocations: 167.5 kB / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007452/0.1737, allocations: 0.5057 MB / 487 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1738, allocations: 52.7 kB / 487.1 MB, free: 164 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.1743, allocations: 143.2 kB / 487.2 MB, free: 20 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.1746, allocations: 183 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.1747, allocations: 8 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.1753, allocations: 267.6 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1755, allocations: 87.53 kB / 487.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.1757, allocations: 192.5 kB / 488 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007061/0.1764, allocations: 0.5062 MB / 488.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1764, allocations: 0 / 488.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1764, allocations: 0 / 488.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1765, allocations: 0 / 488.5 MB, free: 14.78 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001066/0.1775, allocations: 0.6629 MB / 489.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1776, allocations: 12.03 kB / 489.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.178, allocations: 84.42 kB / 489.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.1784, allocations: 284.6 kB / 489.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1784, allocations: 32.94 kB / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.1785, allocations: 36 kB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009307/0.1794, allocations: 0.5691 MB / 490.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1794, allocations: 0 / 490.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.1795, allocations: 16 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.1795, allocations: 20.94 kB / 490.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1806, allocations: 439.6 kB / 490.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1826, allocations: 1.289 MB / 491.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.1832, allocations: 319.5 kB / 492.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.1836, allocations: 166.4 kB / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.1836, allocations: 8 kB / 492.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1837, allocations: 34.56 kB / 492.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.1837, allocations: 0 / 492.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001321/0.185, allocations: 0.5309 MB / 492.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.1851, allocations: 110.8 kB / 493 MB, free: 9.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.1857, allocations: 0.49 MB / 493.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1858, allocations: 29.7 kB / 493.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1859, allocations: 208.2 kB / 493.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.186, allocations: 59.19 kB / 493.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.1861, allocations: 29.7 kB / 493.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1862, allocations: 358.8 kB / 494.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.1866, allocations: 152.1 kB / 494.3 MB, free: 8.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.187, allocations: 240.4 kB / 494.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.1878, allocations: 409.9 kB / 495 MB, free: 7.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.1879, allocations: 112 / 495 MB, free: 7.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000963/0.1888, allocations: 475.5 kB / 495.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1889, allocations: 8 kB / 495.5 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-05/0.1889, allocations: 39.92 kB / 495.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.189, allocations: 4 kB / 495.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.1892, allocations: 39.91 kB / 495.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1892, allocations: 12.05 kB / 495.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.1895, allocations: 55.52 kB / 495.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.1896, allocations: 15.94 kB / 495.6 MB, free: 7.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000228/0.1898, allocations: 193.8 kB / 495.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1899, allocations: 43.44 kB / 495.9 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.1908, allocations: 444.6 kB / 496.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.1908, allocations: 4 kB / 496.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1908, allocations: 0 / 496.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1908, allocations: 0 / 496.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.1914, allocations: 381.2 kB / 496.7 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.973e-05/0.1915, allocations: 31.98 kB / 496.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.1917, allocations: 39.91 kB / 496.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1917, allocations: 3.938 kB / 496.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.1917, allocations: 12 kB / 496.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1917, allocations: 0 / 496.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1917, allocations: 4 kB / 496.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.1926, allocations: 0.6282 MB / 497.4 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1928, allocations: 120.6 kB / 497.5 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.1929, allocations: 7.984 kB / 497.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.1932, allocations: 27.97 kB / 497.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.1932, allocations: 23.92 kB / 497.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.1933, allocations: 11.98 kB / 497.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000424/0.1937, allocations: 363.1 kB / 497.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1937, allocations: 0 / 497.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000598/0.1943, allocations: 123.9 kB / 498 MB, free: 4.738 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003948/0.1947, allocations: 179.1 kB / 498.2 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.1957, allocations: 0.5816 MB / 498.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1958, allocations: 0 / 498.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.1963, allocations: 415.2 kB / 499.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.1971, allocations: 85.98 kB / 499.3 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.1987, allocations: 0.9207 MB / 0.4885 GB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.1992, allocations: 0.8577 MB / 0.4893 GB, free: 1.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.1994, allocations: 67.23 kB / 0.4894 GB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.1994, allocations: 27.42 kB / 0.4894 GB, free: 1.445 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1995, allocations: 0 / 0.4894 GB, free: 1.445 MB / 366.1 MB Notification: Performance of Templates: time 0.01272/0.2122, allocations: 7.284 MB / 0.4965 GB, free: 10.25 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches