Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 108.4 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2272/0.2272, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 73.33 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1318, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003473/0.1353, allocations: 2.052 MB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1375, allocations: 1.302 MB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1376, allocations: 0 / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.1381, allocations: 67.59 kB / 445.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1383, allocations: 83.44 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.1389, allocations: 191.2 kB / 445.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.1394, allocations: 442 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.308e-05/0.1395, allocations: 44.66 kB / 446.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.1397, allocations: 147.2 kB / 446.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1399, allocations: 179 kB / 446.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.1399, allocations: 12 kB / 446.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.1404, allocations: 255.6 kB / 446.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.1405, allocations: 83.53 kB / 446.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.1406, allocations: 166.8 kB / 447 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.1412, allocations: 0.5177 MB / 447.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1412, allocations: 0 / 447.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1412, allocations: 0 / 447.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.1412, allocations: 4 kB / 447.5 MB, free: 0.5781 MB / 318.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.001175/0.1424, allocations: 0.7135 MB / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1425, allocations: 11.89 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.1425, allocations: 40.47 kB / 448.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.143, allocations: 292.5 kB / 448.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.1431, allocations: 32.94 kB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.1432, allocations: 40 kB / 448.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1442, allocations: 0.5496 MB / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1442, allocations: 0 / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.1442, allocations: 16 kB / 449.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.1443, allocations: 17 kB / 449.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.1451, allocations: 415.6 kB / 449.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.1472, allocations: 1.289 MB / 450.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.1478, allocations: 279.6 kB / 451.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.1481, allocations: 138.6 kB / 451.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.1482, allocations: 15.92 kB / 451.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1482, allocations: 30.56 kB / 451.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1482, allocations: 0 / 451.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001144/0.1494, allocations: 469 kB / 451.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.1495, allocations: 110.8 kB / 451.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.1501, allocations: 0.4939 MB / 452.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1501, allocations: 25.7 kB / 452.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1503, allocations: 208.2 kB / 452.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.1504, allocations: 59.11 kB / 452.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1505, allocations: 65.75 kB / 452.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1507, allocations: 350.8 kB / 453.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.151, allocations: 136 kB / 453.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.1514, allocations: 216 kB / 453.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.1521, allocations: 365.9 kB / 453.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1521, allocations: 0 / 453.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008414/0.153, allocations: 428 kB / 454.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.153, allocations: 4 kB / 454.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.313e-05/0.1531, allocations: 35.94 kB / 454.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.1531, allocations: 7.984 kB / 454.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.1533, allocations: 31.97 kB / 454.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1534, allocations: 7.938 kB / 454.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.1537, allocations: 63.66 kB / 454.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.1537, allocations: 12 kB / 454.4 MB, free: 9.34 MB / 334.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.0002035/0.1539, allocations: 193.7 kB / 454.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.154, allocations: 39.52 kB / 454.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000804/0.1548, allocations: 396.8 kB / 455 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.1549, allocations: 7.984 kB / 455 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1549, allocations: 4 kB / 455 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1549, allocations: 0 / 455 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.1554, allocations: 369.3 kB / 455.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-05/0.1555, allocations: 27.98 kB / 455.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1556, allocations: 23.97 kB / 455.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.1557, allocations: 7.938 kB / 455.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.1557, allocations: 8 kB / 455.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.1557, allocations: 11.94 kB / 455.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1557, allocations: 0 / 455.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008717/0.1566, allocations: 0.5794 MB / 456 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.1567, allocations: 120.6 kB / 456.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.1568, allocations: 4 kB / 456.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.1571, allocations: 19.97 kB / 456.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1572, allocations: 15.98 kB / 456.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.1572, allocations: 16 kB / 456.2 MB, free: 7.418 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004346/0.1577, allocations: 367 kB / 456.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.994e-06/0.1577, allocations: 0 / 456.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006454/0.1583, allocations: 123.8 kB / 456.7 MB, free: 6.941 MB / 334.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.0003935/0.1587, allocations: 183.1 kB / 456.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.1597, allocations: 0.5357 MB / 457.4 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1597, allocations: 0 / 457.4 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.1602, allocations: 391.5 kB / 457.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.1608, allocations: 111.6 kB / 457.9 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1624, allocations: 0.7653 MB / 458.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.1629, allocations: 0.8497 MB / 459.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.163, allocations: 67.23 kB / 459.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.1631, allocations: 23.44 kB / 459.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1631, allocations: 0 / 459.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of Templates: time 0.01403/0.1771, allocations: 7.579 MB / 467.2 MB, free: 12.33 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches