Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.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_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001148/0.001148, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 83.69 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1288, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.005026/0.1339, allocations: 2.202 MB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003792/0.1377, allocations: 1.845 MB / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.1381, allocations: 4 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.1387, allocations: 75.56 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.1394, allocations: 147.2 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1411, allocations: 342.6 kB / 484.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007694/0.1419, allocations: 489.6 kB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.142, allocations: 65.03 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005257/0.1426, allocations: 191 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.143, allocations: 222.9 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.1431, allocations: 12 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.1442, allocations: 0.6045 MB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1444, allocations: 115.4 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.1447, allocations: 202.6 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.1462, allocations: 0.775 MB / 487.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1462, allocations: 0 / 487.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1462, allocations: 0 / 487.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.1462, allocations: 0 / 487.4 MB, free: 13.9 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001384/0.1476, allocations: 0.8098 MB / 488.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1477, allocations: 8.031 kB / 488.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.1478, allocations: 110.6 kB / 488.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.1479, allocations: 60.22 kB / 488.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.1483, allocations: 311.5 kB / 488.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.1483, allocations: 41.62 kB / 488.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.1484, allocations: 55.92 kB / 488.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1495, allocations: 0.7559 MB / 489.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1495, allocations: 0 / 489.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.1496, allocations: 27.98 kB / 489.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.1497, allocations: 49.28 kB / 489.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.151, allocations: 0.7975 MB / 490.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.1533, allocations: 1.528 MB / 491.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007892/0.1541, allocations: 464.4 kB / 492.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.1544, allocations: 153.2 kB / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.1545, allocations: 16.2 kB / 492.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1545, allocations: 38.8 kB / 492.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.1545, allocations: 0 / 492.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.0011/0.1556, allocations: 0.5326 MB / 493.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1557, allocations: 59.34 kB / 493.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.1563, allocations: 0.5836 MB / 493.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.1563, allocations: 29.7 kB / 493.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.1565, allocations: 283.4 kB / 494.1 MB, free: 7.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1566, allocations: 110.5 kB / 494.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.1568, allocations: 122.1 kB / 494.3 MB, free: 6.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.157, allocations: 362.8 kB / 494.7 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.1573, allocations: 184.9 kB / 494.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.1579, allocations: 437.1 kB / 495.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.1588, allocations: 0.66 MB / 495.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1588, allocations: 0 / 495.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001103/0.1599, allocations: 0.6803 MB / 496.6 MB, free: 4.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.16, allocations: 8 kB / 496.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.16, allocations: 11.94 kB / 496.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.16, allocations: 12.11 kB / 496.6 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009877/0.161, allocations: 247.7 kB / 496.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.1649, allocations: 7.314 MB / 0.4924 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.1654, allocations: 90.91 kB / 0.4925 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.1654, allocations: 39.98 kB / 0.4925 GB, free: 12.23 MB / 382.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.0003554/0.1658, allocations: 257.7 kB / 0.4927 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.1659, allocations: 59.33 kB / 0.4928 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.167, allocations: 0.5488 MB / 0.4933 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.167, allocations: 4 kB / 0.4933 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.167, allocations: 0 / 0.4933 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.167, allocations: 0 / 0.4933 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.1676, allocations: 441.1 kB / 0.4938 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1676, allocations: 0 / 0.4938 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/0.1684, allocations: 215.8 kB / 0.494 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1684, allocations: 0 / 0.494 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.1685, allocations: 12 kB / 0.494 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.1725, allocations: 7.294 MB / 0.5011 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1725, allocations: 0 / 0.5011 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.1733, allocations: 0.5193 MB / 0.5016 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.1735, allocations: 128.5 kB / 0.5017 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.1736, allocations: 7.938 kB / 0.5017 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.1738, allocations: 11.98 kB / 0.5018 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.1739, allocations: 23.97 kB / 0.5018 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.174, allocations: 19.98 kB / 0.5018 GB, free: 2.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004958/0.1745, allocations: 406.8 kB / 0.5022 GB, free: 1.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1745, allocations: 0 / 0.5022 GB, free: 1.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008148/0.1753, allocations: 187.8 kB / 0.5024 GB, free: 1.75 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.001557/0.1769, allocations: 1.149 MB / 0.5035 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2102/0.3871, allocations: 0.681 MB / 0.5041 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.3872, allocations: 3 kB / 0.5042 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.3883, allocations: 350.1 kB / 0.5045 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/0.3891, allocations: 111 kB / 0.5046 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008214/0.3973, allocations: 5.841 MB / 0.5103 GB, free: 40.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.3978, allocations: 0.9079 MB / 0.5112 GB, free: 39.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005911/0.3984, allocations: 170 kB / 0.5113 GB, free: 39.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.3986, allocations: 146.1 kB / 0.5115 GB, free: 39.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3987, allocations: 0 / 0.5115 GB, free: 39.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.4369, allocations: 16.13 MB / 0.5272 GB, free: 33.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.09, allocations: 17.91 kB / 0.5272 GB, free: 33.86 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches