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.001538/0.001538, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.11 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.001621, allocations: 78.75 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1369, allocations: 62.44 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003874/0.1409, allocations: 2.084 MB / 482.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.1438, allocations: 1.328 MB / 484.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.144, allocations: 0 / 484.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.1444, allocations: 71.59 kB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.1448, allocations: 83.39 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009372/0.1457, allocations: 207.2 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.1465, allocations: 426 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1466, allocations: 48.72 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.147, allocations: 155.2 kB / 485.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.1474, allocations: 167.1 kB / 485.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.1475, allocations: 16 kB / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.1482, allocations: 271.6 kB / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1484, allocations: 91.53 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.1487, allocations: 162.8 kB / 485.8 MB, free: 196 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009774/0.1496, allocations: 0.5179 MB / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1497, allocations: 0 / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1497, allocations: 0 / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1497, allocations: 0 / 486.3 MB, free: 15.67 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.001671/0.1514, allocations: 0.7198 MB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1514, allocations: 8.031 kB / 487 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005769/0.152, allocations: 80.33 kB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.1525, allocations: 288.6 kB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.1526, allocations: 28.94 kB / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.1526, allocations: 36 kB / 487.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1539, allocations: 0.5613 MB / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1539, allocations: 0 / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.1539, allocations: 16 kB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.154, allocations: 13 kB / 488.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1551, allocations: 411.6 kB / 488.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.1576, allocations: 1.289 MB / 489.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.1585, allocations: 287.4 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.1589, allocations: 142.5 kB / 490.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/0.159, allocations: 11.98 kB / 490.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.1591, allocations: 34.5 kB / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 3.046e-06/0.1591, allocations: 0 / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00171/0.1608, allocations: 468.7 kB / 490.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.1609, allocations: 110.8 kB / 490.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.1616, allocations: 0.49 MB / 491.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.1617, allocations: 25.7 kB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1619, allocations: 212.4 kB / 491.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.162, allocations: 71.08 kB / 491.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.1622, allocations: 57.7 kB / 491.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1624, allocations: 350.8 kB / 492 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.1629, allocations: 132.1 kB / 492.1 MB, free: 9.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.1634, allocations: 218.6 kB / 492.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.1645, allocations: 364.4 kB / 492.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1645, allocations: 0 / 492.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001261/0.1657, allocations: 424.6 kB / 493.1 MB, free: 8.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.1658, allocations: 6.344 kB / 493.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-05/0.1659, allocations: 35.92 kB / 493.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.1659, allocations: 4 kB / 493.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.1662, allocations: 35.91 kB / 493.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1662, allocations: 8.344 kB / 493.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.1666, allocations: 55.5 kB / 493.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.1667, allocations: 16 kB / 493.2 MB, free: 8.398 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.0003154/0.167, allocations: 201.7 kB / 493.4 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.1672, allocations: 39.44 kB / 493.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.1682, allocations: 400.7 kB / 493.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1683, allocations: 4 kB / 493.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1683, allocations: 4 kB / 493.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1683, allocations: 0 / 493.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000846/0.1691, allocations: 369.3 kB / 494.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.725e-05/0.1692, allocations: 31.98 kB / 494.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.1694, allocations: 27.97 kB / 494.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.1694, allocations: 7.938 kB / 494.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.1695, allocations: 8 kB / 494.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1695, allocations: 4 kB / 494.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1695, allocations: 3.938 kB / 494.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/0.1704, allocations: 0.5895 MB / 494.9 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1705, allocations: 120.6 kB / 495 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.1706, allocations: 0 / 495 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.1709, allocations: 23.92 kB / 495 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.171, allocations: 23.98 kB / 495.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.171, allocations: 11.98 kB / 495.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003827/0.1714, allocations: 359.1 kB / 495.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1714, allocations: 0 / 495.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000577/0.172, allocations: 127.9 kB / 495.6 MB, free: 5.977 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.0003762/0.1724, allocations: 171.1 kB / 495.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009081/0.1733, allocations: 0.5461 MB / 496.3 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1733, allocations: 0 / 496.3 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.1738, allocations: 391.1 kB / 496.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.1745, allocations: 102.4 kB / 496.7 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1759, allocations: 0.8156 MB / 497.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.1763, allocations: 0.8419 MB / 498.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.1764, allocations: 31.42 kB / 498.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1764, allocations: 0 / 498.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01107/0.1875, allocations: 7.398 MB / 0.494 GB, free: 11.55 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/jenkins1/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/jenkins1/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