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.001223/0.001223, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 78.53 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1469, allocations: 62.45 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00416/0.1511, allocations: 2.145 MB / 481.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1535, allocations: 1.351 MB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1537, allocations: 0 / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.154, allocations: 55.72 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1543, allocations: 79.5 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.1549, allocations: 171.5 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.1555, allocations: 0.5097 MB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.1556, allocations: 52.7 kB / 483.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.1559, allocations: 151.1 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1561, allocations: 179.1 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.1561, allocations: 12 kB / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.1566, allocations: 263.6 kB / 484.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1567, allocations: 87.53 kB / 484.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.157, allocations: 158.8 kB / 484.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.1578, allocations: 0.5179 MB / 485 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1578, allocations: 0 / 485 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1578, allocations: 0 / 485 MB, free: 0 / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1579, allocations: 0 / 485 MB, free: 0 / 350.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.001561/0.1594, allocations: 0.7175 MB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1595, allocations: 8.031 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/0.1601, allocations: 84.33 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1605, allocations: 284.6 kB / 486.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1606, allocations: 36.92 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.1606, allocations: 36 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009016/0.1615, allocations: 0.5535 MB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1615, allocations: 0 / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.1616, allocations: 16 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.1616, allocations: 17 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.1624, allocations: 411.6 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.1642, allocations: 1.285 MB / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.1647, allocations: 275.6 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.1651, allocations: 142.4 kB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.1651, allocations: 8 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1652, allocations: 34.56 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.1652, allocations: 0 / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001185/0.1664, allocations: 471.1 kB / 489.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.1664, allocations: 110.8 kB / 489.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.167, allocations: 0.4901 MB / 490 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.167, allocations: 29.7 kB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1671, allocations: 208.2 kB / 490.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.1672, allocations: 71.02 kB / 490.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1673, allocations: 57.7 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1675, allocations: 354.8 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.1678, allocations: 132.1 kB / 490.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.1682, allocations: 218.6 kB / 491 MB, free: 9.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007278/0.1689, allocations: 360.6 kB / 491.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1689, allocations: 11.94 kB / 491.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008686/0.1698, allocations: 416.9 kB / 491.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1699, allocations: 10.22 kB / 491.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.501e-05/0.1699, allocations: 43.92 kB / 491.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1699, allocations: 4 kB / 491.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1701, allocations: 27.97 kB / 491.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1702, allocations: 7.938 kB / 491.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.1704, allocations: 59.5 kB / 491.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.1705, allocations: 16 kB / 491.9 MB, free: 8.73 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.0002292/0.1707, allocations: 205.7 kB / 492.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1708, allocations: 39.44 kB / 492.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/0.1716, allocations: 404.7 kB / 492.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1716, allocations: 4 kB / 492.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1716, allocations: 0 / 492.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1716, allocations: 0 / 492.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.1722, allocations: 365.3 kB / 492.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.322e-05/0.1722, allocations: 35.98 kB / 493 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1724, allocations: 23.97 kB / 493 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1724, allocations: 3.938 kB / 493 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1724, allocations: 11.94 kB / 493 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1724, allocations: 3.984 kB / 493 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1724, allocations: 4 kB / 493 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008146/0.1733, allocations: 0.5716 MB / 493.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.1734, allocations: 124.6 kB / 493.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.1734, allocations: 4 kB / 493.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.1737, allocations: 15.98 kB / 493.7 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.1738, allocations: 27.91 kB / 493.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1739, allocations: 12 kB / 493.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003687/0.1742, allocations: 367 kB / 494.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1742, allocations: 0 / 494.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.1748, allocations: 119.9 kB / 494.2 MB, free: 6.316 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.0003378/0.1752, allocations: 179.1 kB / 494.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009071/0.1761, allocations: 0.5341 MB / 495 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1761, allocations: 0.6875 kB / 495 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.1766, allocations: 391.1 kB / 495.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.1773, allocations: 89.38 kB / 495.4 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1787, allocations: 0.89 MB / 496.3 MB, free: 4.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.1791, allocations: 0.8461 MB / 497.2 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.1793, allocations: 67.23 kB / 497.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.1793, allocations: 23.44 kB / 497.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1794, allocations: 0 / 497.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of Templates: time 0.01274/0.1921, allocations: 7.195 MB / 0.4926 GB, free: 12.02 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