Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008746/0.0008746, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.0008934/0.0008934, allocations: 176.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 242.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2103/0.2103, allocations: 44.24 MB / 338.3 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 11.98 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002293/0.1109, allocations: 1.706 MB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1123, allocations: 0.7908 MB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1125, allocations: 0 / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1128, allocations: 63.7 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.1132, allocations: 107.5 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1134, allocations: 63.8 kB / 475.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.1139, allocations: 450.4 kB / 476.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.114, allocations: 36.38 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1143, allocations: 107.4 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.1145, allocations: 159.3 kB / 476.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.1146, allocations: 4 kB / 476.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.1148, allocations: 131.8 kB / 476.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1149, allocations: 67.69 kB / 476.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1151, allocations: 132.9 kB / 476.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.1154, allocations: 251.5 kB / 477 MB, free: 9.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1154, allocations: 0 / 477 MB, free: 9.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1154, allocations: 0 / 477 MB, free: 9.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1155, allocations: 4 kB / 477 MB, free: 9.27 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008096/0.1163, allocations: 0.5148 MB / 477.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1163, allocations: 8.031 kB / 477.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.1164, allocations: 36.56 kB / 477.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1167, allocations: 236.4 kB / 477.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.1167, allocations: 32.42 kB / 477.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.1168, allocations: 24 kB / 477.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.1174, allocations: 397.2 kB / 478.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1174, allocations: 0 / 478.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1175, allocations: 11.94 kB / 478.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.1175, allocations: 32.62 kB / 478.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007139/0.1183, allocations: 418.3 kB / 478.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.1196, allocations: 0.8811 MB / 479.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/0.1202, allocations: 301 kB / 479.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.1204, allocations: 112.8 kB / 479.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.1205, allocations: 3.984 kB / 479.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1205, allocations: 34.56 kB / 480 MB, free: 6.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 4.087e-06/0.1205, allocations: 0 / 480 MB, free: 6.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008066/0.1213, allocations: 373 kB / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1214, allocations: 55.41 kB / 480.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.1217, allocations: 347.2 kB / 480.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1218, allocations: 33.7 kB / 480.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1219, allocations: 164.1 kB / 480.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.1219, allocations: 59.34 kB / 481 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.122, allocations: 21.72 kB / 481 MB, free: 5.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1221, allocations: 342.8 kB / 481.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.1224, allocations: 103.9 kB / 481.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.1226, allocations: 153.9 kB / 481.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.1231, allocations: 272.7 kB / 481.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1231, allocations: 3.938 kB / 481.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005972/0.1237, allocations: 328.9 kB / 482.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1238, allocations: 6.812 kB / 482.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1238, allocations: 4 kB / 482.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1238, allocations: 192 / 482.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.1243, allocations: 127.9 kB / 482.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.1264, allocations: 3.711 MB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1266, allocations: 27.69 kB / 486.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1266, allocations: 15.98 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.1268, allocations: 169.7 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1269, allocations: 27.66 kB / 486.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007023/0.1276, allocations: 359.2 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.1276, allocations: 4 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1276, allocations: 0 / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1276, allocations: 0 / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.128, allocations: 313.3 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.128, allocations: 0 / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.1285, allocations: 123.8 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1285, allocations: 3.938 kB / 487.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1285, allocations: 8 kB / 487.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.1305, allocations: 3.703 MB / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1305, allocations: 0 / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.1311, allocations: 382.2 kB / 491.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.1312, allocations: 108.7 kB / 491.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.1312, allocations: 7.984 kB / 491.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1314, allocations: 8 kB / 491.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.1315, allocations: 15.98 kB / 491.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1315, allocations: 7.984 kB / 491.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.1318, allocations: 261.9 kB / 491.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1318, allocations: 0 / 491.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.1321, allocations: 76 kB / 491.6 MB, free: 9.984 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002469/0.1324, allocations: 123.2 kB / 491.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009152/0.1333, allocations: 327.9 kB / 492.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1333, allocations: 4 kB / 492.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.1339, allocations: 203.8 kB / 492.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1344, allocations: 56.61 kB / 492.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1355, allocations: 0.7147 MB / 493 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.1359, allocations: 0.7986 MB / 493.8 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.136, allocations: 23.42 kB / 493.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.136, allocations: 0 / 493.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of Templates: time 0.01473/0.1507, allocations: 11.18 MB / 0.4932 GB, free: 12.51 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches