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_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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.001155/0.001155, allocations: 104.5 kB / 17.63 MB, free: 5.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.001119/0.001119, allocations: 192 kB / 18.56 MB, free: 4.434 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.445/1.445, allocations: 222.9 MB / 242.3 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.1973/0.1973, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 72.47 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 60.81 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.004073/0.1288, allocations: 2.172 MB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.1317, allocations: 1.783 MB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1319, allocations: 0 / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1322, allocations: 67.59 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.1327, allocations: 155.2 kB / 473.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.1336, allocations: 330.7 kB / 473.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.1341, allocations: 485.6 kB / 474.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1342, allocations: 65.05 kB / 474.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.1345, allocations: 183 kB / 474.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.1348, allocations: 222.9 kB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.1348, allocations: 12 kB / 474.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.1358, allocations: 0.5967 MB / 475.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.136, allocations: 115.4 kB / 475.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1362, allocations: 198.6 kB / 475.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.1372, allocations: 0.7632 MB / 476.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1372, allocations: 0 / 476.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1372, allocations: 4 kB / 476.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.1372, allocations: 0 / 476.5 MB, free: 7.105 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001285/0.1385, allocations: 0.8074 MB / 477.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.1386, allocations: 8.031 kB / 477.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.1387, allocations: 102.7 kB / 477.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1388, allocations: 56.19 kB / 477.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.1392, allocations: 317.8 kB / 477.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1393, allocations: 37.67 kB / 477.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.1393, allocations: 59.92 kB / 477.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1404, allocations: 0.756 MB / 478.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1405, allocations: 3.938 kB / 478.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.1405, allocations: 23.98 kB / 478.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.1406, allocations: 49.28 kB / 478.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1418, allocations: 0.8013 MB / 479.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.1439, allocations: 1.528 MB / 481 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.1447, allocations: 446.4 kB / 481.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.145, allocations: 161.2 kB / 481.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.145, allocations: 12.2 kB / 481.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1451, allocations: 46.67 kB / 481.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.1451, allocations: 4 kB / 481.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001096/0.1462, allocations: 0.5405 MB / 482.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.1462, allocations: 67.28 kB / 482.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.1468, allocations: 0.5836 MB / 482.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1468, allocations: 25.7 kB / 482.9 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.147, allocations: 283.4 kB / 483.2 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.1471, allocations: 102.6 kB / 483.3 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.1473, allocations: 126.1 kB / 483.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1474, allocations: 358.8 kB / 483.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.1478, allocations: 192.9 kB / 483.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.1483, allocations: 429.1 kB / 484.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.1492, allocations: 0.6561 MB / 485 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1492, allocations: 0 / 485 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001103/0.1503, allocations: 0.6839 MB / 485.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1504, allocations: 8 kB / 485.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1504, allocations: 8 kB / 485.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1504, allocations: 12 kB / 485.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.1514, allocations: 244.4 kB / 486 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.155, allocations: 7.317 MB / 493.3 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.1555, allocations: 90.95 kB / 493.4 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.1555, allocations: 36 kB / 493.4 MB, free: 5.441 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (64): * Single equations (assignments): 52 * 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.0003055/0.1559, allocations: 265.6 kB / 493.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.156, allocations: 51.34 kB / 493.7 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.1571, allocations: 0.5526 MB / 494.3 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1571, allocations: 7.984 kB / 494.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1571, allocations: 0 / 494.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1571, allocations: 3.984 kB / 494.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.1577, allocations: 437.1 kB / 494.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1577, allocations: 0 / 494.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/0.1585, allocations: 207.9 kB / 494.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1586, allocations: 0 / 494.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.1586, allocations: 15.98 kB / 494.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.1625, allocations: 7.294 MB / 0.4904 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1625, allocations: 3.984 kB / 0.4904 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.1633, allocations: 0.5112 MB / 0.4909 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.1634, allocations: 124.5 kB / 0.4911 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.1635, allocations: 15.92 kB / 0.4911 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.1638, allocations: 8 kB / 0.4911 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.1639, allocations: 27.91 kB / 0.4911 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.1639, allocations: 19.98 kB / 0.4911 GB, free: 11.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004796/0.1644, allocations: 406.8 kB / 0.4915 GB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1644, allocations: 4 kB / 0.4915 GB, free: 11.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007072/0.1651, allocations: 183.8 kB / 0.4917 GB, free: 10.96 MB / 382.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.001332/0.1664, allocations: 1.146 MB / 0.4928 GB, free: 9.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.1681, allocations: 0.6809 MB / 0.4935 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1681, allocations: 4 kB / 0.4935 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.1691, allocations: 347.6 kB / 0.4938 GB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.1698, allocations: 121.8 kB / 0.4939 GB, free: 8.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008929/0.1787, allocations: 5.824 MB / 0.4996 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.1795, allocations: 0.9093 MB / 0.5005 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005709/0.1801, allocations: 164.5 kB / 0.5007 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.1803, allocations: 147.4 kB / 0.5008 GB, free: 1.277 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1803, allocations: 3.938 kB / 0.5008 GB, free: 1.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2412/0.4215, allocations: 15.98 MB / 0.5164 GB, free: 47.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.89, allocations: 8.562 kB / 0.5164 GB, free: 47.56 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches