Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 68.67 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 62.44 MB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003814/0.1245, allocations: 2.274 MB / 482.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.128, allocations: 2.157 MB / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.1284, allocations: 0 / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.1289, allocations: 71.53 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.1294, allocations: 107.2 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.1312, allocations: 449.9 kB / 485.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008579/0.1321, allocations: 0.5209 MB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1322, allocations: 65.05 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004406/0.1327, allocations: 183 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.1331, allocations: 214.8 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.1332, allocations: 16 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.1345, allocations: 0.6864 MB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.1348, allocations: 107.5 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.1352, allocations: 198.6 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.137, allocations: 0.849 MB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1371, allocations: 4 kB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1371, allocations: 0 / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.007e-05/0.1371, allocations: 0 / 488 MB, free: 13.23 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001809/0.1389, allocations: 0.8385 MB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.139, allocations: 12.03 kB / 488.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.1392, allocations: 106.7 kB / 489 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004535/0.1396, allocations: 84.23 kB / 489.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.1401, allocations: 327.3 kB / 489.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.1402, allocations: 37.69 kB / 489.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.1403, allocations: 63.92 kB / 489.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.1416, allocations: 0.7657 MB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1417, allocations: 0 / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.1417, allocations: 24 kB / 490.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.1418, allocations: 29.3 kB / 490.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.1429, allocations: 0.5515 MB / 490.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.1456, allocations: 1.688 MB / 492.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.1462, allocations: 295.6 kB / 492.8 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.1466, allocations: 158.4 kB / 493 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.1467, allocations: 7.984 kB / 493 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1467, allocations: 42.5 kB / 493 MB, free: 7.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.1467, allocations: 0 / 493 MB, free: 7.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001291/0.148, allocations: 0.4993 MB / 493.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.1481, allocations: 110.8 kB / 493.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.1488, allocations: 0.6315 MB / 494.3 MB, free: 6.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1489, allocations: 33.95 kB / 494.3 MB, free: 6.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.1491, allocations: 303.3 kB / 494.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.1492, allocations: 67 kB / 494.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.1494, allocations: 126.1 kB / 494.8 MB, free: 6.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1495, allocations: 362.8 kB / 495.1 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.15, allocations: 192.9 kB / 495.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.1506, allocations: 457.4 kB / 495.8 MB, free: 5.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.1517, allocations: 0.6769 MB / 496.4 MB, free: 4.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1517, allocations: 7.938 kB / 496.5 MB, free: 4.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001377/0.1531, allocations: 0.6884 MB / 497.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1532, allocations: 16.06 kB / 497.2 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.051e-05/0.1532, allocations: 51.98 kB / 497.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.1533, allocations: 12 kB / 497.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1536, allocations: 75.83 kB / 497.3 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.1536, allocations: 19.92 kB / 497.3 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.1541, allocations: 95.05 kB / 497.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.1542, allocations: 32 kB / 497.4 MB, free: 3.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002992/0.1545, allocations: 265.4 kB / 497.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.1546, allocations: 51.28 kB / 497.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.1557, allocations: 473.7 kB / 498.2 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.1557, allocations: 7.984 kB / 498.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1557, allocations: 0 / 498.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1557, allocations: 0 / 498.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.1566, allocations: 405.3 kB / 498.6 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.749e-05/0.1566, allocations: 39.98 kB / 498.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1568, allocations: 27.97 kB / 498.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.1568, allocations: 3.938 kB / 498.7 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.1569, allocations: 19.98 kB / 498.7 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1569, allocations: 3.938 kB / 498.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1569, allocations: 4 kB / 498.7 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.1578, allocations: 0.6158 MB / 499.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.158, allocations: 136.4 kB / 499.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.158, allocations: 0 / 499.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.1584, allocations: 23.97 kB / 499.5 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.1585, allocations: 19.98 kB / 499.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.1585, allocations: 15.98 kB / 499.5 MB, free: 1.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000518/0.159, allocations: 446.8 kB / 500 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.159, allocations: 7.938 kB / 500 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008963/0.1599, allocations: 195.8 kB / 0.4884 GB, free: 448 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/0.1617, allocations: 1.3 MB / 0.4897 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.163, allocations: 0.7702 MB / 0.4905 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.163, allocations: 0 / 0.4905 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.1636, allocations: 485.8 kB / 0.4909 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.1644, allocations: 122.2 kB / 0.491 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008553/0.173, allocations: 6.11 MB / 0.497 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.1736, allocations: 0.8933 MB / 0.4979 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003536/0.174, allocations: 128.5 kB / 0.498 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.1742, allocations: 147.4 kB / 0.4981 GB, free: 5.953 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1742, allocations: 0 / 0.4981 GB, free: 5.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.229/0.4032, allocations: 15.77 MB / 0.5135 GB, free: 40.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.292, allocations: 6.875 kB / 0.5135 GB, free: 40.99 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches