Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 96.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 45.9 MB / 344 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 63.46 MB / 481.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002398/0.1494, allocations: 1.633 MB / 483 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1507, allocations: 0.7486 MB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.1508, allocations: 7.938 kB / 483.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1511, allocations: 51.78 kB / 483.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1514, allocations: 87.66 kB / 483.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.1516, allocations: 55.91 kB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1518, allocations: 187.6 kB / 484.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.1519, allocations: 32.38 kB / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.1522, allocations: 99.55 kB / 484.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1523, allocations: 107.5 kB / 484.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1524, allocations: 8 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.1526, allocations: 119.8 kB / 484.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.1527, allocations: 67.73 kB / 484.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.1527, allocations: 61.58 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.153, allocations: 215.7 kB / 484.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.153, allocations: 0 / 484.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.153, allocations: 4 kB / 484.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1531, allocations: 0 / 484.9 MB, free: 1.965 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008266/0.1539, allocations: 0.5145 MB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1539, allocations: 12.56 kB / 485.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.154, allocations: 27.62 kB / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1543, allocations: 243.2 kB / 485.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1544, allocations: 20.5 kB / 485.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.1544, allocations: 35.98 kB / 485.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.1551, allocations: 393.2 kB / 486.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1552, allocations: 0 / 486.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.1552, allocations: 4 kB / 486.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/0.1553, allocations: 36.62 kB / 486.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.1559, allocations: 414.3 kB / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.1573, allocations: 0.8852 MB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.1579, allocations: 310.2 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.158, allocations: 8 kB / 487.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.158, allocations: 38.5 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.158, allocations: 0 / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007928/0.1588, allocations: 369.2 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1589, allocations: 63.39 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.1592, allocations: 343.2 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1593, allocations: 29.7 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1594, allocations: 164.2 kB / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.1594, allocations: 55.2 kB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.1595, allocations: 3.938 kB / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.1597, allocations: 338.8 kB / 489.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.1599, allocations: 104.3 kB / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1602, allocations: 150.7 kB / 489.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.1604, allocations: 130.9 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1604, allocations: 0 / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005659/0.161, allocations: 321 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.161, allocations: 4 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1611, allocations: 4 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1611, allocations: 4 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.1616, allocations: 112 kB / 489.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.1637, allocations: 3.704 MB / 493.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.1639, allocations: 35.8 kB / 493.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.1639, allocations: 12 kB / 493.7 MB, free: 8.785 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.1642, allocations: 169.7 kB / 493.8 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.1642, allocations: 27.67 kB / 493.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/0.165, allocations: 379 kB / 494.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.165, allocations: 0 / 494.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.165, allocations: 0 / 494.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.165, allocations: 0 / 494.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.1654, allocations: 305.5 kB / 494.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1654, allocations: 0 / 494.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.1659, allocations: 107.9 kB / 494.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.166, allocations: 11.95 kB / 494.7 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.166, allocations: 0 / 494.7 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.1681, allocations: 3.704 MB / 498.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.1681, allocations: 4 kB / 498.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.1687, allocations: 383.3 kB / 498.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.1688, allocations: 108.7 kB / 498.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.1688, allocations: 3.953 kB / 498.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.169, allocations: 15.98 kB / 498.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.169, allocations: 11.98 kB / 498.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1691, allocations: 7.984 kB / 498.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.1693, allocations: 253.9 kB / 499.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1694, allocations: 0 / 499.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.1698, allocations: 76.03 kB / 499.2 MB, free: 3.012 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.17, allocations: 135.1 kB / 499.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009287/0.171, allocations: 330.2 kB / 499.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.171, allocations: 0 / 499.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.1716, allocations: 208.1 kB / 499.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1719, allocations: 52.55 kB / 499.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.1731, allocations: 0.6663 MB / 0.4888 GB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.1737, allocations: 0.8066 MB / 0.4896 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1738, allocations: 66.22 kB / 0.4897 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.1739, allocations: 19.44 kB / 0.4897 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1739, allocations: 4 kB / 0.4897 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of Templates: time 0.00877/0.1827, allocations: 4.732 MB / 0.4943 GB, free: 12.02 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches