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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001502/0.001502, allocations: 105.2 kB / 16.27 MB, free: 5.93 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.001395/0.001395, allocations: 188.3 kB / 17.2 MB, free: 5.574 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.435/1.435, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2363/0.2363, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001657/0.001657, allocations: 65.5 kB / 382.9 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1099, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003035/0.113, allocations: 2.15 MB / 442.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1143, allocations: 0.9394 MB / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.1144, allocations: 4 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1147, allocations: 75.58 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.115, allocations: 143.3 kB / 444 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1153, allocations: 87.72 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1156, allocations: 485.6 kB / 444.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.1157, allocations: 68.92 kB / 444.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1159, allocations: 187 kB / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1161, allocations: 222.9 kB / 445 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.1162, allocations: 16 kB / 445 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.1164, allocations: 191.7 kB / 445.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.1165, allocations: 111.4 kB / 445.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1167, allocations: 190.7 kB / 445.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.1171, allocations: 0.5214 MB / 446 MB, free: 1.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1171, allocations: 8 kB / 446 MB, free: 1.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1171, allocations: 0 / 446 MB, free: 1.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.1171, allocations: 0 / 446 MB, free: 1.379 MB / 318.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.0009934/0.1181, allocations: 0.7486 MB / 446.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1182, allocations: 12.03 kB / 446.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.014e-05/0.1182, allocations: 102.7 kB / 446.9 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.1183, allocations: 52.28 kB / 446.9 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1186, allocations: 307.9 kB / 447.2 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1186, allocations: 40.98 kB / 447.3 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.1187, allocations: 44.05 kB / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1198, allocations: 0.7069 MB / 448 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1198, allocations: 0 / 448 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.1199, allocations: 16 kB / 448 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.459e-05/0.1199, allocations: 57.28 kB / 448.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.1211, allocations: 0.7389 MB / 448.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1231, allocations: 1.445 MB / 450.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000772/0.1239, allocations: 465.7 kB / 450.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.1242, allocations: 161.2 kB / 450.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.1243, allocations: 8.453 kB / 450.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1243, allocations: 38.55 kB / 450.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/0.1243, allocations: 0 / 450.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001133/0.1254, allocations: 0.5397 MB / 451.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1255, allocations: 59.34 kB / 451.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/0.1261, allocations: 0.5251 MB / 452 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.1261, allocations: 29.7 kB / 452.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1263, allocations: 240.4 kB / 452.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.1264, allocations: 94.59 kB / 452.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1266, allocations: 93.91 kB / 452.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1267, allocations: 358.8 kB / 452.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.127, allocations: 160.5 kB / 453 MB, free: 10.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.1274, allocations: 248.2 kB / 453.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.1281, allocations: 435.6 kB / 453.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1281, allocations: 4 kB / 453.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008459/0.1289, allocations: 0.4927 MB / 454.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.129, allocations: 11.94 kB / 454.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.129, allocations: 384 / 454.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.129, allocations: 12 kB / 454.2 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/0.1299, allocations: 211.8 kB / 454.4 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.1339, allocations: 7.306 MB / 461.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.1343, allocations: 71.52 kB / 461.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.1344, allocations: 23.98 kB / 461.8 MB, free: 1 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0003301/0.1347, allocations: 225.6 kB / 462 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.1348, allocations: 43.44 kB / 462.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1359, allocations: 0.5369 MB / 462.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1359, allocations: 8 kB / 462.6 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.1359, allocations: 3.984 kB / 462.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.1359, allocations: 4 kB / 462.6 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.1365, allocations: 429.2 kB / 463 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1365, allocations: 0 / 463 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.1373, allocations: 200 kB / 463.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1374, allocations: 11.92 kB / 463.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.1374, allocations: 15.94 kB / 463.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.1413, allocations: 7.31 MB / 470.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1413, allocations: 0 / 470.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.1421, allocations: 0.5155 MB / 471.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1423, allocations: 124.5 kB / 471.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.1424, allocations: 4 kB / 471.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.1426, allocations: 11.98 kB / 471.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.1427, allocations: 27.97 kB / 471.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.1427, allocations: 15.98 kB / 471.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004213/0.1432, allocations: 391 kB / 471.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1432, allocations: 0 / 471.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004826/0.1437, allocations: 135.8 kB / 471.8 MB, free: 6.641 MB / 350.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.001314/0.145, allocations: 1.086 MB / 472.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.1466, allocations: 0.5821 MB / 473.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1466, allocations: 4 kB / 473.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.1476, allocations: 348.5 kB / 473.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.1481, allocations: 92.81 kB / 473.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.1548, allocations: 5.407 MB / 479.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.1553, allocations: 0.9011 MB / 480.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.1556, allocations: 128.1 kB / 480.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.1558, allocations: 139.4 kB / 480.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1558, allocations: 0 / 480.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.1922, allocations: 13.3 MB / 493.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.7, allocations: 8.438 kB / 493.8 MB, free: 0.5 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches