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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.001108/0.001108, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001051/0.001051, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.21 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.2165/0.2165, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 59.72 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1637, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.00634/0.1701, allocations: 2.125 MB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.173, allocations: 0.8606 MB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.1732, allocations: 4 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004667/0.1737, allocations: 67.58 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007883/0.1746, allocations: 139.3 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.1752, allocations: 95.69 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008624/0.176, allocations: 457.8 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1762, allocations: 52.7 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.1767, allocations: 171.2 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.1773, allocations: 214.9 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.1774, allocations: 12 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007567/0.1782, allocations: 267.6 kB / 473.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.1784, allocations: 103.5 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.1789, allocations: 178.8 kB / 474.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.1801, allocations: 0.5334 MB / 474.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1801, allocations: 0 / 474.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1801, allocations: 4 kB / 474.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.1802, allocations: 0 / 474.6 MB, free: 8.984 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00208/0.1822, allocations: 0.7098 MB / 475.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.1823, allocations: 12.03 kB / 475.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.1825, allocations: 94.7 kB / 475.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.1827, allocations: 48.28 kB / 475.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.1834, allocations: 299.6 kB / 475.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.1834, allocations: 29.38 kB / 475.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.1836, allocations: 51.92 kB / 475.9 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.1853, allocations: 0.664 MB / 476.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1853, allocations: 0 / 476.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.1854, allocations: 19.98 kB / 476.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.1856, allocations: 53.27 kB / 476.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.1876, allocations: 0.692 MB / 477.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.1911, allocations: 1.348 MB / 478.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.1926, allocations: 442.4 kB / 479.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.1932, allocations: 173.1 kB / 479.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.399e-05/0.1932, allocations: 8.219 kB / 479.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.1933, allocations: 38.8 kB / 479.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.036e-06/0.1933, allocations: 0 / 479.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002026/0.1953, allocations: 0.5365 MB / 479.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.1954, allocations: 59.41 kB / 479.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/0.1964, allocations: 497.4 kB / 480.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.1965, allocations: 37.64 kB / 480.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.1967, allocations: 204.5 kB / 480.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.1969, allocations: 102.6 kB / 480.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.1972, allocations: 85.94 kB / 480.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.1974, allocations: 358.7 kB / 481.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.198, allocations: 160.4 kB / 481.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.1987, allocations: 248.3 kB / 481.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.2, allocations: 431.6 kB / 482 MB, free: 1.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.2, allocations: 4 kB / 482 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00161/0.2016, allocations: 492.6 kB / 482.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2017, allocations: 4 kB / 482.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.2017, allocations: 4 kB / 482.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.2017, allocations: 4 kB / 482.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.2034, allocations: 203.8 kB / 482.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.2098, allocations: 7.302 MB / 489.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/0.2105, allocations: 71.27 kB / 490 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.2106, allocations: 16 kB / 490 MB, free: 8.973 MB / 366.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.0005042/0.2111, allocations: 230.3 kB / 490.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.2113, allocations: 43.47 kB / 490.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.2132, allocations: 0.5288 MB / 490.8 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2132, allocations: 0 / 490.8 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.2132, allocations: 0 / 490.8 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.2132, allocations: 7.984 kB / 490.8 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.2142, allocations: 421.1 kB / 491.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2142, allocations: 0 / 491.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.2159, allocations: 195.8 kB / 491.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.216, allocations: 4 kB / 491.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.216, allocations: 11.98 kB / 491.5 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/0.2223, allocations: 7.29 MB / 498.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.2223, allocations: 3.938 kB / 498.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.2237, allocations: 0.4955 MB / 499.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.224, allocations: 120.6 kB / 499.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.2241, allocations: 4 kB / 499.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.2246, allocations: 20.08 kB / 499.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.2247, allocations: 27.91 kB / 499.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.2248, allocations: 15.98 kB / 499.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006329/0.2255, allocations: 351.1 kB / 499.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2255, allocations: 0 / 499.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008656/0.2264, allocations: 127.8 kB / 499.9 MB, free: 14.73 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.002133/0.2285, allocations: 1.087 MB / 0.4892 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.2313, allocations: 0.5736 MB / 0.4898 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2314, allocations: 0 / 0.4898 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.2329, allocations: 336.4 kB / 0.4901 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/0.2337, allocations: 125.3 kB / 0.4902 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.2445, allocations: 5.017 MB / 0.4951 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.2452, allocations: 0.8777 MB / 0.496 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006956/0.246, allocations: 136.1 kB / 0.4961 GB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.2463, allocations: 131.4 kB / 0.4963 GB, free: 6.258 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.2463, allocations: 0 / 0.4963 GB, free: 6.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/0.5047, allocations: 13.43 MB / 0.5094 GB, free: 50.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.9, allocations: 11.92 kB / 0.5094 GB, free: 50.64 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches