Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001319, allocations: 109.2 kB / 16.41 MB, free: 6.449 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.001241/0.001241, allocations: 192.8 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1074, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003322/0.1107, allocations: 2.146 MB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.1135, allocations: 1.815 MB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1136, allocations: 4 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.114, allocations: 63.59 kB / 0.4914 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.1144, allocations: 151.2 kB / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.1152, allocations: 322.7 kB / 0.4918 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005364/0.1158, allocations: 497.6 kB / 0.4923 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.1159, allocations: 57.05 kB / 0.4923 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.1161, allocations: 183.1 kB / 0.4925 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.1164, allocations: 218.9 kB / 0.4927 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.1165, allocations: 12 kB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.1174, allocations: 0.5576 MB / 0.4933 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1175, allocations: 111.5 kB / 0.4934 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1177, allocations: 198.6 kB / 0.4936 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000886/0.1186, allocations: 0.7275 MB / 0.4943 GB, free: 5.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1186, allocations: 0 / 0.4943 GB, free: 5.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1186, allocations: 0 / 0.4943 GB, free: 5.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.964e-06/0.1186, allocations: 0 / 0.4943 GB, free: 5.223 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001266/0.1199, allocations: 0.7977 MB / 0.4951 GB, free: 4.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1199, allocations: 8.031 kB / 0.4951 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.12, allocations: 102.7 kB / 0.4952 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.1202, allocations: 52.61 kB / 0.4952 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1205, allocations: 300 kB / 0.4955 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.1206, allocations: 40.98 kB / 0.4956 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.1206, allocations: 44 kB / 0.4956 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1217, allocations: 0.7147 MB / 0.4963 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1217, allocations: 7.875 kB / 0.4963 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.1218, allocations: 23.98 kB / 0.4963 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.1218, allocations: 49.28 kB / 0.4964 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1231, allocations: 0.7467 MB / 0.4971 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.1252, allocations: 1.435 MB / 0.4985 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.126, allocations: 452.4 kB / 0.4989 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.1263, allocations: 165.2 kB / 0.4991 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.1264, allocations: 8.453 kB / 0.4991 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1264, allocations: 38.56 kB / 0.4991 GB, free: 92 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.1264, allocations: 0 / 0.4991 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001181/0.1276, allocations: 0.5438 MB / 0.4997 GB, free: 15.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.1277, allocations: 59.41 kB / 0.4997 GB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.1283, allocations: 0.5291 MB / 0.5002 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1283, allocations: 25.7 kB / 0.5003 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.1286, allocations: 256.4 kB / 0.5005 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.1287, allocations: 99.11 kB / 0.5006 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.1288, allocations: 102 kB / 0.5007 GB, free: 14.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.129, allocations: 350.8 kB / 0.501 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.1293, allocations: 172.6 kB / 0.5012 GB, free: 13.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.1298, allocations: 297.4 kB / 0.5015 GB, free: 13.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.1305, allocations: 0.4889 MB / 0.502 GB, free: 13.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1306, allocations: 0 / 0.502 GB, free: 13.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009882/0.1316, allocations: 0.5396 MB / 0.5025 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1316, allocations: 8 kB / 0.5025 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1316, allocations: 4 kB / 0.5025 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1316, allocations: 4.562 kB / 0.5025 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.1326, allocations: 223.8 kB / 0.5027 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/0.1371, allocations: 7.317 MB / 0.5099 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.1376, allocations: 63.5 kB / 0.5099 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.1377, allocations: 28.27 kB / 0.5099 GB, free: 4.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004133/0.1381, allocations: 237.4 kB / 0.5102 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.1382, allocations: 47.78 kB / 0.5102 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.1393, allocations: 0.5484 MB / 0.5108 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1394, allocations: 8 kB / 0.5108 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1394, allocations: 0 / 0.5108 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1394, allocations: 3.984 kB / 0.5108 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.14, allocations: 429.2 kB / 0.5112 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.14, allocations: 0 / 0.5112 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/0.1409, allocations: 195.9 kB / 0.5114 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1409, allocations: 3.938 kB / 0.5114 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.141, allocations: 23.92 kB / 0.5114 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/0.1455, allocations: 7.298 MB / 0.5185 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1455, allocations: 0 / 0.5185 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000941/0.1464, allocations: 0.5118 MB / 0.519 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.1466, allocations: 128.7 kB / 0.5191 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.1467, allocations: 8 kB / 0.5191 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.147, allocations: 8 kB / 0.5192 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1471, allocations: 27.95 kB / 0.5192 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.1471, allocations: 12 kB / 0.5192 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004716/0.1476, allocations: 387 kB / 0.5196 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1476, allocations: 0 / 0.5196 GB, free: 10.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005882/0.1482, allocations: 171.6 kB / 0.5197 GB, free: 10.16 MB / 414.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/0.1496, allocations: 1.157 MB / 0.5209 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.1512, allocations: 0.5548 MB / 0.5214 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1512, allocations: 0 / 0.5214 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.1522, allocations: 352.8 kB / 0.5217 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.1528, allocations: 84.52 kB / 0.5218 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/0.1597, allocations: 5.312 MB / 0.527 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.1602, allocations: 0.8974 MB / 0.5279 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.1605, allocations: 140.2 kB / 0.528 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.1608, allocations: 143.4 kB / 0.5281 GB, free: 1.281 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1608, allocations: 0 / 0.5281 GB, free: 1.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/0.4192, allocations: 14.74 MB / 0.5425 GB, free: 39.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.85, allocations: 15.67 kB / 0.5426 GB, free: 39.6 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches