Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_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.001697/0.001697, 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.001979/0.001979, 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.478/1.478, 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.2296/0.2296, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 78.16 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003015/0.1213, allocations: 1.885 MB / 482 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1227, allocations: 0.849 MB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.1227, allocations: 4 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.123, allocations: 59.67 kB / 482.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.1233, allocations: 79.56 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1236, allocations: 83.09 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.1239, allocations: 254.8 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.48e-05/0.124, allocations: 32.38 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1242, allocations: 107.5 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1244, allocations: 119.4 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1244, allocations: 8 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.1247, allocations: 127.8 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.1248, allocations: 59.69 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1249, allocations: 99.3 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.1253, allocations: 307.1 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1253, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1253, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1254, allocations: 0 / 484.2 MB, free: 1.066 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009032/0.1263, allocations: 0.5497 MB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1263, allocations: 8.031 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.821e-05/0.1264, allocations: 70.7 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.1265, allocations: 28.56 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1267, allocations: 246.5 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.1268, allocations: 16.94 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.1268, allocations: 31.91 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.1274, allocations: 373.3 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1274, allocations: 0 / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1275, allocations: 15.94 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.1275, allocations: 24.64 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.1281, allocations: 374.3 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1294, allocations: 0.85 MB / 486.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.1299, allocations: 258.3 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.1301, allocations: 96.77 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1302, allocations: 8 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.116e-05/0.1303, allocations: 30.56 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.1303, allocations: 4 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007709/0.131, allocations: 331.6 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1311, allocations: 55.41 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.1314, allocations: 342.8 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1315, allocations: 25.7 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1316, allocations: 168 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.1316, allocations: 67.11 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.1318, allocations: 57.94 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1319, allocations: 338.8 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.1321, allocations: 100.4 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.1324, allocations: 184 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.1329, allocations: 313.4 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1329, allocations: 0 / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006113/0.1335, allocations: 344.8 kB / 489.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1336, allocations: 7.031 kB / 489.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1336, allocations: 8 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1336, allocations: 4 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.1342, allocations: 123.9 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.1361, allocations: 3.649 MB / 493.2 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1363, allocations: 43.52 kB / 493.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1363, allocations: 12 kB / 493.3 MB, free: 7.551 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002556/0.1366, allocations: 180.7 kB / 493.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.1367, allocations: 35.61 kB / 493.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.1374, allocations: 327.5 kB / 493.8 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1374, allocations: 0 / 493.8 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1374, allocations: 3.938 kB / 493.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1374, allocations: 3.984 kB / 493.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.1378, allocations: 301.3 kB / 494.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1378, allocations: 0 / 494.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.1383, allocations: 107.9 kB / 494.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1383, allocations: 4 kB / 494.2 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1383, allocations: 19.91 kB / 494.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.1403, allocations: 3.641 MB / 497.9 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1403, allocations: 4.062 kB / 497.9 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.1409, allocations: 349.5 kB / 498.2 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.141, allocations: 108.8 kB / 498.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.1411, allocations: 3.938 kB / 498.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1412, allocations: 11.98 kB / 498.3 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.1413, allocations: 15.98 kB / 498.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1413, allocations: 8 kB / 498.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.1416, allocations: 245.9 kB / 498.6 MB, free: 1.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1416, allocations: 0 / 498.6 MB, free: 1.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.142, allocations: 75.94 kB / 498.7 MB, free: 1.902 MB / 366.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.1431, allocations: 0.9071 MB / 499.6 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009274/0.144, allocations: 351.7 kB / 499.9 MB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.144, allocations: 0 / 499.9 MB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.1446, allocations: 186.6 kB / 0.4884 GB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.145, allocations: 69.23 kB / 0.4884 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.1492, allocations: 3.389 MB / 0.4918 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1496, allocations: 0.7912 MB / 0.4925 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.1498, allocations: 78.91 kB / 0.4926 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1499, allocations: 79.39 kB / 0.4927 GB, free: 11.86 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.15, allocations: 0 / 0.4927 GB, free: 11.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.1775, allocations: 8.471 MB / 0.501 GB, free: 3.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.49, allocations: 11.86 kB / 0.501 GB, free: 3.617 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches