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.001302/0.001302, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001518/0.001518, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.372/1.372, allocations: 222.9 MB / 242.9 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.2086/0.2086, allocations: 44.17 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.73 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 60.82 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003271/0.1053, allocations: 1.993 MB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1066, allocations: 0.8061 MB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.1067, allocations: 4 kB / 472.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.107, allocations: 63.66 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1073, allocations: 123.4 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1076, allocations: 59.8 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.1079, allocations: 318.5 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.108, allocations: 32.39 kB / 473.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1081, allocations: 131.4 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1083, allocations: 143.4 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.1084, allocations: 8 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.1086, allocations: 119.8 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.1087, allocations: 75.66 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1089, allocations: 115.2 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.1092, allocations: 335 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1093, allocations: 3.984 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1093, allocations: 0 / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1093, allocations: 3.938 kB / 474.2 MB, free: 10.02 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.0008054/0.1101, allocations: 0.5537 MB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1101, allocations: 12.03 kB / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.1102, allocations: 28.56 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1104, allocations: 253.9 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1105, allocations: 16.5 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.1105, allocations: 28 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.1111, allocations: 397.2 kB / 475.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1111, allocations: 0 / 475.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.1112, allocations: 8 kB / 475.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/0.1112, allocations: 28.64 kB / 475.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.1119, allocations: 414.2 kB / 476 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1131, allocations: 0.8733 MB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.1137, allocations: 278.3 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1139, allocations: 96.77 kB / 477.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.114, allocations: 8.062 kB / 477.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.114, allocations: 30.56 kB / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.114, allocations: 4 kB / 477.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007371/0.1147, allocations: 339.4 kB / 477.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1148, allocations: 55.41 kB / 477.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.1151, allocations: 351.2 kB / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1152, allocations: 29.7 kB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.1153, allocations: 160.2 kB / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.1153, allocations: 47.3 kB / 478.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.1154, allocations: 57.62 kB / 478.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1155, allocations: 342.8 kB / 478.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.1157, allocations: 91.84 kB / 478.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.116, allocations: 141.9 kB / 478.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.1164, allocations: 245.8 kB / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1164, allocations: 0 / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005404/0.117, allocations: 308 kB / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.117, allocations: 4 kB / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.117, allocations: 4 kB / 479.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.117, allocations: 0 / 479.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.1175, allocations: 111.9 kB / 479.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.1193, allocations: 3.672 MB / 483.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1195, allocations: 35.61 kB / 483.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1196, allocations: 12 kB / 483.2 MB, free: 0.668 MB / 350.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.0001879/0.1198, allocations: 178 kB / 483.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.1198, allocations: 27.66 kB / 483.4 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.1205, allocations: 327.2 kB / 483.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1205, allocations: 0 / 483.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1205, allocations: 4 kB / 483.7 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1205, allocations: 0 / 483.7 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.1209, allocations: 309.3 kB / 484 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1209, allocations: 4 kB / 484 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.1214, allocations: 119.8 kB / 484.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1214, allocations: 0 / 484.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1214, allocations: 8 kB / 484.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.1231, allocations: 3.661 MB / 487.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1232, allocations: 0 / 487.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.1237, allocations: 359.2 kB / 488.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.1238, allocations: 104.8 kB / 488.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.1238, allocations: 0 / 488.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.124, allocations: 11.98 kB / 488.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.124, allocations: 11.98 kB / 488.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1241, allocations: 11.98 kB / 488.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.1243, allocations: 253.9 kB / 488.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1243, allocations: 0 / 488.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.1247, allocations: 75.84 kB / 488.6 MB, free: 11 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.0002229/0.1249, allocations: 131.3 kB / 488.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008875/0.1258, allocations: 319.9 kB / 489.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1258, allocations: 0 / 489.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.1264, allocations: 194 kB / 489.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1268, allocations: 68.62 kB / 489.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.1278, allocations: 0.6072 MB / 489.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.1281, allocations: 0.7909 MB / 490.7 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.1282, allocations: 27.42 kB / 490.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1282, allocations: 0 / 490.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of Templates: time 0.01278/0.141, allocations: 11.19 MB / 0.4902 GB, free: 13.65 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