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.001222/0.001222, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 75.59 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1377, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.004194/0.142, allocations: 2.08 MB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1443, allocations: 1.316 MB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1445, allocations: 7.938 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.1449, allocations: 71.58 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1451, allocations: 83.45 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.1458, allocations: 210.4 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.1464, allocations: 426.1 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.1465, allocations: 44.72 kB / 484.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.1468, allocations: 155.2 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1471, allocations: 179 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.1471, allocations: 12 kB / 484.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.1477, allocations: 263.7 kB / 484.9 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1478, allocations: 87.52 kB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.148, allocations: 170.8 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.1487, allocations: 0.514 MB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1487, allocations: 4 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1488, allocations: 0 / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1488, allocations: 0 / 485.6 MB, free: 15.66 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.001274/0.1501, allocations: 0.7136 MB / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1501, allocations: 8.031 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.1506, allocations: 80.33 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.1509, allocations: 284.6 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.151, allocations: 36.94 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.151, allocations: 36 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.1519, allocations: 0.5535 MB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1519, allocations: 0 / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.152, allocations: 19.98 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.152, allocations: 17 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007873/0.1528, allocations: 415.6 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.1546, allocations: 1.281 MB / 489.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.1551, allocations: 271.6 kB / 489.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.1555, allocations: 150.4 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.1555, allocations: 15.95 kB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1556, allocations: 30.56 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.1556, allocations: 4 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001193/0.1568, allocations: 467.3 kB / 490 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1569, allocations: 110.8 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.1574, allocations: 0.494 MB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1574, allocations: 29.95 kB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1576, allocations: 208.2 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.1577, allocations: 63.09 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1578, allocations: 61.7 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1579, allocations: 350.8 kB / 491.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.1583, allocations: 132.1 kB / 491.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.1587, allocations: 218.6 kB / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007105/0.1594, allocations: 362 kB / 492 MB, free: 8.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1594, allocations: 3.938 kB / 492 MB, free: 8.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008835/0.1603, allocations: 419 kB / 492.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.1603, allocations: 8 kB / 492.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.027e-05/0.1604, allocations: 43.86 kB / 492.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1604, allocations: 4 kB / 492.4 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.1606, allocations: 32.31 kB / 492.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1607, allocations: 11.88 kB / 492.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.1609, allocations: 55.5 kB / 492.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.161, allocations: 16 kB / 492.6 MB, free: 8.395 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.0002379/0.1612, allocations: 197.8 kB / 492.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.1613, allocations: 43.44 kB / 492.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/0.1622, allocations: 404.6 kB / 493.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1622, allocations: 4 kB / 493.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1622, allocations: 0 / 493.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1622, allocations: 0 / 493.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.1627, allocations: 373.3 kB / 493.5 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.584e-05/0.1628, allocations: 35.98 kB / 493.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1629, allocations: 23.97 kB / 493.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.163, allocations: 3.938 kB / 493.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.163, allocations: 12 kB / 493.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.163, allocations: 0 / 493.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.163, allocations: 3.938 kB / 493.6 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.1638, allocations: 0.5794 MB / 494.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.1639, allocations: 120.6 kB / 494.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.164, allocations: 4 kB / 494.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.1643, allocations: 19.98 kB / 494.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.1644, allocations: 27.91 kB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1644, allocations: 8 kB / 494.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003643/0.1648, allocations: 363.1 kB / 494.7 MB, free: 6.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1648, allocations: 0 / 494.7 MB, free: 6.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005384/0.1653, allocations: 123.9 kB / 494.9 MB, free: 5.98 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.0003498/0.1657, allocations: 179 kB / 495 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009243/0.1666, allocations: 0.5497 MB / 495.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1666, allocations: 4 kB / 495.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.1671, allocations: 387.9 kB / 496 MB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.1678, allocations: 101.3 kB / 496.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.1691, allocations: 0.8021 MB / 496.9 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.1697, allocations: 0.8496 MB / 497.7 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.1699, allocations: 67.22 kB / 497.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.1699, allocations: 31.42 kB / 497.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1699, allocations: 0 / 497.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of Templates: time 0.01282/0.1828, allocations: 7.566 MB / 0.4935 GB, free: 11.38 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