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.001454/0.001454, allocations: 112.1 kB / 17.04 MB, free: 5.812 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.001679/0.001679, allocations: 195 kB / 17.98 MB, free: 5.027 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.337/1.337, 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.2/0.2, allocations: 43.51 MB / 314.7 MB, free: 480 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.001464/0.001464, allocations: 70.64 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1086, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002872/0.1115, allocations: 2.066 MB / 444.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1131, allocations: 1.294 MB / 445.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.1132, allocations: 4 kB / 445.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1135, allocations: 67.59 kB / 445.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1137, allocations: 87.38 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.1142, allocations: 191.3 kB / 445.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.1145, allocations: 426 kB / 446.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.43e-05/0.1146, allocations: 64.62 kB / 446.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1148, allocations: 139.2 kB / 446.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.115, allocations: 179 kB / 446.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.115, allocations: 12 kB / 446.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.1154, allocations: 255.6 kB / 446.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.1155, allocations: 87.59 kB / 446.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1156, allocations: 162.8 kB / 447 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.1161, allocations: 0.5138 MB / 447.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1161, allocations: 0 / 447.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1161, allocations: 0 / 447.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1161, allocations: 0 / 447.5 MB, free: 0.5898 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.000983/0.1171, allocations: 0.7251 MB / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1171, allocations: 15.89 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.1172, allocations: 40.47 kB / 448.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.1176, allocations: 280.6 kB / 448.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.1176, allocations: 28.94 kB / 448.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.1177, allocations: 40 kB / 448.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/0.1185, allocations: 0.5612 MB / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1186, allocations: 0 / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.1186, allocations: 16 kB / 449.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.1186, allocations: 17 kB / 449.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.1194, allocations: 411.6 kB / 449.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.1212, allocations: 1.281 MB / 450.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.1218, allocations: 283.6 kB / 451.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.1221, allocations: 134.5 kB / 451.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.457e-05/0.1222, allocations: 15.91 kB / 451.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1222, allocations: 34.56 kB / 451.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1222, allocations: 4 kB / 451.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001185/0.1234, allocations: 464.8 kB / 451.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.1235, allocations: 111 kB / 451.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.1241, allocations: 0.4978 MB / 452.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1241, allocations: 25.7 kB / 452.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1243, allocations: 200.2 kB / 452.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.1244, allocations: 59.11 kB / 452.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.1245, allocations: 65.69 kB / 452.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1246, allocations: 350.8 kB / 453.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.125, allocations: 136.1 kB / 453.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.1254, allocations: 212.2 kB / 453.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.1261, allocations: 365.5 kB / 453.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1261, allocations: 0 / 453.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008559/0.127, allocations: 424.5 kB / 454.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.127, allocations: 8 kB / 454.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-05/0.1271, allocations: 36.28 kB / 454.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.1271, allocations: 8 kB / 454.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1273, allocations: 35.89 kB / 454.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1273, allocations: 4 kB / 454.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.1276, allocations: 55.42 kB / 454.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.1277, allocations: 19.98 kB / 454.4 MB, free: 9.355 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.0002069/0.1279, allocations: 193.7 kB / 454.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/0.128, allocations: 43.53 kB / 454.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000781/0.1288, allocations: 404.5 kB / 455 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1288, allocations: 4 kB / 455 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1288, allocations: 3.984 kB / 455 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1288, allocations: 0 / 455 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.1294, allocations: 373.3 kB / 455.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.409e-05/0.1294, allocations: 31.98 kB / 455.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1296, allocations: 31.97 kB / 455.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1296, allocations: 3.938 kB / 455.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.1296, allocations: 8 kB / 455.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1296, allocations: 0 / 455.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1296, allocations: 0 / 455.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/0.1305, allocations: 0.5871 MB / 456 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1307, allocations: 120.6 kB / 456.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.1307, allocations: 8 kB / 456.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.131, allocations: 19.97 kB / 456.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/0.1311, allocations: 19.98 kB / 456.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.1312, allocations: 12 kB / 456.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003969/0.1316, allocations: 363 kB / 456.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1316, allocations: 0 / 456.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005437/0.1321, allocations: 119.9 kB / 456.7 MB, free: 6.945 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.0003357/0.1325, allocations: 175.1 kB / 456.9 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009084/0.1334, allocations: 0.5429 MB / 457.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1334, allocations: 0 / 457.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.1339, allocations: 387.9 kB / 457.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.1345, allocations: 103.9 kB / 457.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1358, allocations: 0.777 MB / 458.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.1362, allocations: 0.8419 MB / 459.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.1364, allocations: 63.23 kB / 459.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.1365, allocations: 35.38 kB / 459.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1365, allocations: 4 kB / 459.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of Templates: time 0.01251/0.149, allocations: 7.57 MB / 467.2 MB, free: 12.34 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 gbode -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