Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.001595/0.001595, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.321/1.321, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.1967/0.1967, allocations: 44.18 MB / 336.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.05 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09826, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003329/0.1016, allocations: 2.308 MB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.1045, allocations: 2.037 MB / 473.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1046, allocations: 0 / 473.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.105, allocations: 71.64 kB / 473.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1052, allocations: 91.44 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1064, allocations: 385.9 kB / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005712/0.107, allocations: 0.5208 MB / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1071, allocations: 69.03 kB / 474.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.1074, allocations: 175 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.1077, allocations: 226.9 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.1078, allocations: 12 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000937/0.1087, allocations: 0.6669 MB / 475.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1088, allocations: 107.4 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.1091, allocations: 202.6 kB / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.1097, allocations: 0.5612 MB / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1098, allocations: 4 kB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1098, allocations: 0 / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.1098, allocations: 0 / 476.8 MB, free: 7.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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001486/0.1113, allocations: 0.8385 MB / 477.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1113, allocations: 16.03 kB / 477.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.1115, allocations: 56.22 kB / 477.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.1119, allocations: 320 kB / 478 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.1119, allocations: 41.69 kB / 478.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.112, allocations: 52.12 kB / 478.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.1131, allocations: 0.7696 MB / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1132, allocations: 0 / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.1132, allocations: 23.98 kB / 478.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.1133, allocations: 29.31 kB / 478.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/0.1142, allocations: 0.5515 MB / 479.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1164, allocations: 1.68 MB / 481.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.117, allocations: 303.6 kB / 481.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.1173, allocations: 146.5 kB / 481.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.1173, allocations: 15.98 kB / 481.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1174, allocations: 34.7 kB / 481.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.1174, allocations: 3.938 kB / 481.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001222/0.1186, allocations: 0.5108 MB / 482.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.1187, allocations: 106.8 kB / 482.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.1194, allocations: 0.6391 MB / 482.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1194, allocations: 29.7 kB / 482.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.1196, allocations: 287.4 kB / 483.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.1197, allocations: 75 kB / 483.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.1198, allocations: 126.1 kB / 483.4 MB, free: 388 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.12, allocations: 362.8 kB / 483.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.1204, allocations: 192.9 kB / 484 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.1209, allocations: 453.4 kB / 484.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009824/0.1219, allocations: 0.6809 MB / 485.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.122, allocations: 0 / 485.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001248/0.1232, allocations: 0.6878 MB / 485.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.1233, allocations: 11.94 kB / 485.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-05/0.1234, allocations: 51.98 kB / 485.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1234, allocations: 12.66 kB / 485.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.1237, allocations: 79.81 kB / 485.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.1237, allocations: 19.92 kB / 486 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.1242, allocations: 94.95 kB / 486 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.1242, allocations: 43.92 kB / 486.1 MB, free: 13.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002649/0.1245, allocations: 249.5 kB / 486.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1246, allocations: 51.28 kB / 486.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008998/0.1255, allocations: 475.6 kB / 486.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.1255, allocations: 7.984 kB / 486.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1255, allocations: 0 / 486.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1256, allocations: 4 kB / 486.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.1261, allocations: 413.2 kB / 487.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-05/0.1262, allocations: 47.92 kB / 487.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1263, allocations: 23.97 kB / 487.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1264, allocations: 7.938 kB / 487.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.1264, allocations: 15.98 kB / 487.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1264, allocations: 0 / 487.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1264, allocations: 4 kB / 487.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.1273, allocations: 0.6033 MB / 488 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1274, allocations: 136.3 kB / 488.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.1275, allocations: 11.88 kB / 488.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.1278, allocations: 27.97 kB / 488.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.1279, allocations: 19.98 kB / 488.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.1279, allocations: 15.98 kB / 488.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004577/0.1284, allocations: 442.8 kB / 488.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1284, allocations: 0 / 488.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007164/0.1291, allocations: 183.9 kB / 488.8 MB, free: 10.64 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004066/0.1295, allocations: 231 kB / 489 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1306, allocations: 0.775 MB / 489.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1306, allocations: 0 / 489.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004981/0.1311, allocations: 480.2 kB / 490.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.1318, allocations: 134.6 kB / 490.4 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1335, allocations: 1.15 MB / 491.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.134, allocations: 0.8854 MB / 492.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.1341, allocations: 39.44 kB / 492.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1341, allocations: 3.938 kB / 492.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of Templates: time 0.01381/0.1479, allocations: 9.981 MB / 0.4907 GB, free: 12.82 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches