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.0007308/0.0007309, allocations: 94.25 kB / 17.35 MB, free: 6.344 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.0008036/0.0008036, allocations: 174.1 kB / 18.25 MB, free: 5.504 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.392/1.392, allocations: 223.2 MB / 242.3 MB, free: 212 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.1897/0.1897, allocations: 44.24 MB / 337.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 8.75 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002206/0.1114, allocations: 1.703 MB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1128, allocations: 0.7908 MB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.1128, allocations: 4 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1131, allocations: 55.72 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.1135, allocations: 119.5 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1137, allocations: 54.73 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.1142, allocations: 450.4 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.1143, allocations: 40.36 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1144, allocations: 111.5 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1147, allocations: 151.3 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1147, allocations: 8 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.115, allocations: 127.8 kB / 475.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.1151, allocations: 67.67 kB / 475.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1152, allocations: 140.9 kB / 476.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.1156, allocations: 330.9 kB / 476.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1156, allocations: 0 / 476.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1156, allocations: 0 / 476.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1156, allocations: 0 / 476.4 MB, free: 9.188 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.000821/0.1164, allocations: 0.5148 MB / 476.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1165, allocations: 12.03 kB / 476.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.1166, allocations: 32.56 kB / 477 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1169, allocations: 244.4 kB / 477.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1169, allocations: 24.5 kB / 477.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.1169, allocations: 23.98 kB / 477.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.1176, allocations: 397.2 kB / 477.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1176, allocations: 3.938 kB / 477.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.1176, allocations: 12 kB / 477.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.1177, allocations: 32.58 kB / 477.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.1184, allocations: 418.3 kB / 478.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1196, allocations: 0.8812 MB / 479 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.1202, allocations: 302.3 kB / 479.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.1204, allocations: 104.8 kB / 479.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.1204, allocations: 8.062 kB / 479.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1205, allocations: 38.55 kB / 479.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1205, allocations: 0 / 479.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007942/0.1213, allocations: 373 kB / 479.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1213, allocations: 55.41 kB / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.1217, allocations: 347.2 kB / 480.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1217, allocations: 37.7 kB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.1218, allocations: 160.1 kB / 480.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.1219, allocations: 51.3 kB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1219, allocations: 25.7 kB / 480.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1221, allocations: 342.8 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1223, allocations: 103.9 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.1225, allocations: 149.9 kB / 481 MB, free: 4.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.123, allocations: 268.7 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.123, allocations: 3.984 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005691/0.1236, allocations: 332.9 kB / 481.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1236, allocations: 4 kB / 481.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1236, allocations: 4 kB / 481.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1236, allocations: 4.188 kB / 481.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.1241, allocations: 115.9 kB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.1263, allocations: 3.711 MB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.1266, allocations: 31.67 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.1266, allocations: 12 kB / 485.5 MB, free: 15.69 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.0002214/0.1268, allocations: 175.9 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.1269, allocations: 27.66 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007217/0.1276, allocations: 355.3 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1276, allocations: 7.984 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1276, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1276, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.128, allocations: 309.3 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.128, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.1285, allocations: 119.8 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.1285, allocations: 7.938 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1285, allocations: 11.98 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.1305, allocations: 3.703 MB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1305, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.1311, allocations: 378.3 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.1312, allocations: 112.7 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.1312, allocations: 0 / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1314, allocations: 15.98 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1315, allocations: 11.98 kB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1315, allocations: 8 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.1318, allocations: 257.9 kB / 491 MB, free: 9.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1318, allocations: 4 kB / 491 MB, free: 9.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.1321, allocations: 76.06 kB / 491 MB, free: 9.906 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.0002123/0.1324, allocations: 123.2 kB / 491.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009/0.1333, allocations: 327.9 kB / 491.5 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1333, allocations: 7.938 kB / 491.5 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.1339, allocations: 203.8 kB / 491.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1343, allocations: 64.55 kB / 491.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1353, allocations: 0.6958 MB / 492.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.1357, allocations: 0.8025 MB / 493.2 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.1359, allocations: 74.2 kB / 493.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.136, allocations: 19.44 kB / 493.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.136, allocations: 0 / 493.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of Templates: time 0.008894/0.1449, allocations: 4.989 MB / 498.3 MB, free: 2.633 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 -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/jenkins/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/jenkins/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