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.00106/0.00106, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001006/0.001006, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.298/1.298, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1985/0.1985, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.94 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003219/0.1058, allocations: 2 MB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1071, allocations: 0.7984 MB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.1072, allocations: 4 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1074, allocations: 67.59 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1078, allocations: 119.4 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.108, allocations: 63.78 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.1083, allocations: 310.6 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.929e-05/0.1084, allocations: 36.38 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1086, allocations: 131.3 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.1088, allocations: 143.3 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1088, allocations: 8 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.1091, allocations: 127.8 kB / 474.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.1092, allocations: 75.66 kB / 474.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1093, allocations: 115.2 kB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.1097, allocations: 334.7 kB / 475 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1097, allocations: 0 / 475 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1097, allocations: 0 / 475 MB, free: 9.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1097, allocations: 0 / 475 MB, free: 9.312 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.0007887/0.1105, allocations: 0.5654 MB / 475.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1106, allocations: 12.03 kB / 475.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.1106, allocations: 28.56 kB / 475.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1109, allocations: 252.4 kB / 475.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1109, allocations: 20.5 kB / 475.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.111, allocations: 24 kB / 475.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.1116, allocations: 393.2 kB / 476.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1116, allocations: 0 / 476.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.1116, allocations: 11.98 kB / 476.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.1117, allocations: 32.64 kB / 476.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.1124, allocations: 406.3 kB / 476.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.1138, allocations: 0.8694 MB / 477.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.1144, allocations: 278.3 kB / 477.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1146, allocations: 92.77 kB / 478 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.1146, allocations: 8.078 kB / 478 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1147, allocations: 34.5 kB / 478 MB, free: 6.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1147, allocations: 0 / 478 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007234/0.1154, allocations: 337.1 kB / 478.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1155, allocations: 59.34 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.1158, allocations: 351.2 kB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1158, allocations: 29.7 kB / 478.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.1159, allocations: 164.2 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.116, allocations: 47.3 kB / 479 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.1161, allocations: 49.7 kB / 479 MB, free: 5.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1162, allocations: 346.7 kB / 479.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1164, allocations: 91.91 kB / 479.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.1166, allocations: 145.8 kB / 479.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.1171, allocations: 243.3 kB / 479.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1171, allocations: 4 kB / 479.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005379/0.1176, allocations: 300 kB / 480.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1177, allocations: 4 kB / 480.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1177, allocations: 0 / 480.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1177, allocations: 4 kB / 480.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.1182, allocations: 115.9 kB / 480.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.1202, allocations: 3.676 MB / 483.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.1204, allocations: 35.56 kB / 484 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.1204, allocations: 12 kB / 484 MB, free: 15.95 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.0001953/0.1206, allocations: 174 kB / 484.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.1207, allocations: 27.66 kB / 484.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.1214, allocations: 327.1 kB / 484.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1214, allocations: 4 kB / 484.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1214, allocations: 0 / 484.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1214, allocations: 0 / 484.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.1218, allocations: 313.3 kB / 484.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1218, allocations: 3.938 kB / 484.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.1223, allocations: 111.9 kB / 484.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1223, allocations: 0 / 484.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1224, allocations: 11.98 kB / 484.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.1244, allocations: 3.664 MB / 488.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1245, allocations: 0 / 488.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.125, allocations: 347.1 kB / 488.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.1251, allocations: 112.9 kB / 489 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.1251, allocations: 0 / 489 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1253, allocations: 11.98 kB / 489 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.1254, allocations: 11.98 kB / 489.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1254, allocations: 8 kB / 489.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002715/0.1257, allocations: 253.9 kB / 489.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1257, allocations: 3.938 kB / 489.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.126, allocations: 83.95 kB / 489.4 MB, free: 10.27 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.0002447/0.1263, allocations: 127.2 kB / 489.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008351/0.1271, allocations: 300.1 kB / 489.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1271, allocations: 0 / 489.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.1278, allocations: 195.2 kB / 490 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1282, allocations: 64.53 kB / 490.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1292, allocations: 0.5782 MB / 490.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1296, allocations: 0.8064 MB / 491.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.1297, allocations: 70.2 kB / 491.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.1298, allocations: 19.44 kB / 491.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1298, allocations: 0 / 491.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of Templates: time 0.009672/0.1394, allocations: 5.301 MB / 496.8 MB, free: 2.859 MB / 366.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 -s cvode -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