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.0009564/0.0009562, allocations: 99.8 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 45.92 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002955, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 63.47 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002414/0.1358, allocations: 1.686 MB / 483.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1377, allocations: 1.154 MB / 484.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.1378, allocations: 0 / 484.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1381, allocations: 59.66 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1382, allocations: 59.81 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.1387, allocations: 155.6 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.1391, allocations: 287.4 kB / 484.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.1392, allocations: 44.72 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.1395, allocations: 139.4 kB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1396, allocations: 147.3 kB / 485.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1397, allocations: 12 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.1402, allocations: 259.7 kB / 485.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.1402, allocations: 75.7 kB / 485.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.1403, allocations: 85.45 kB / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.1407, allocations: 347.4 kB / 485.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1408, allocations: 4 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1408, allocations: 0 / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1408, allocations: 0 / 485.9 MB, free: 0.9297 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0011/0.1419, allocations: 0.6588 MB / 486.6 MB, free: 228 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1419, allocations: 12.03 kB / 486.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/0.1424, allocations: 87.48 kB / 486.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.1428, allocations: 279.3 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1428, allocations: 33 kB / 487 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.1429, allocations: 36 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/0.1437, allocations: 0.5613 MB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1437, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.1438, allocations: 16 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.1438, allocations: 20.98 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007942/0.1446, allocations: 443.6 kB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.1466, allocations: 1.293 MB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.1473, allocations: 319.5 kB / 489.6 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.1473, allocations: 11.92 kB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1474, allocations: 34.5 kB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.1474, allocations: 0 / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001411/0.1488, allocations: 0.7527 MB / 490.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.1489, allocations: 106.8 kB / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.1495, allocations: 0.4899 MB / 491 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1495, allocations: 33.88 kB / 491 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1497, allocations: 216.2 kB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.1498, allocations: 59.19 kB / 491.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.1498, allocations: 4 kB / 491.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.15, allocations: 354.8 kB / 491.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.1503, allocations: 156.1 kB / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.1507, allocations: 234.6 kB / 492 MB, free: 10.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.1511, allocations: 175.8 kB / 492.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1511, allocations: 3.984 kB / 492.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008818/0.152, allocations: 460.6 kB / 492.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.152, allocations: 8 kB / 492.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.445e-05/0.1521, allocations: 35.97 kB / 492.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1521, allocations: 4.312 kB / 492.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1523, allocations: 43.91 kB / 492.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1523, allocations: 11.97 kB / 492.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.1526, allocations: 55.48 kB / 492.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.1527, allocations: 19.98 kB / 492.8 MB, free: 9.609 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.1529, allocations: 205.6 kB / 493.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.153, allocations: 35.53 kB / 493.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009345/0.154, allocations: 444.7 kB / 493.5 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.154, allocations: 4 kB / 493.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.154, allocations: 0 / 493.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.154, allocations: 3.938 kB / 493.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.1546, allocations: 373.4 kB / 493.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.97e-05/0.1547, allocations: 35.97 kB / 493.9 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1548, allocations: 27.97 kB / 494 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1549, allocations: 4 kB / 494 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.1549, allocations: 11.98 kB / 494 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.1549, allocations: 4 kB / 494 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1549, allocations: 0 / 494 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.1558, allocations: 0.652 MB / 494.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1559, allocations: 120.6 kB / 494.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.156, allocations: 3.984 kB / 494.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.1563, allocations: 27.92 kB / 494.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.1564, allocations: 19.97 kB / 494.8 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1564, allocations: 11.95 kB / 494.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003562/0.1567, allocations: 367 kB / 495.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1568, allocations: 0 / 495.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005543/0.1573, allocations: 127.8 kB / 495.3 MB, free: 7.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003503/0.1577, allocations: 187.5 kB / 495.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008975/0.1586, allocations: 0.5698 MB / 496 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1586, allocations: 0 / 496 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.1591, allocations: 419.2 kB / 496.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.1596, allocations: 78.19 kB / 496.5 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1609, allocations: 0.8796 MB / 497.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.1613, allocations: 0.8499 MB / 498.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.1615, allocations: 67.22 kB / 498.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.1616, allocations: 27.42 kB / 498.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1616, allocations: 4 kB / 498.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of Templates: time 0.01143/0.173, allocations: 6.948 MB / 0.4935 GB, free: 12.95 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches