Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.00193, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 77 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1327, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00448/0.1373, allocations: 2.032 MB / 482.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.1396, allocations: 1.153 MB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.1398, allocations: 4 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1401, allocations: 55.66 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1404, allocations: 75.47 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.1412, allocations: 174.9 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.1417, allocations: 330.5 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1418, allocations: 36.72 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.1422, allocations: 119.4 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1424, allocations: 143.2 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.1425, allocations: 8 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.143, allocations: 211.7 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1431, allocations: 75.66 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1432, allocations: 123.2 kB / 484.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006055/0.1439, allocations: 406.8 kB / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1439, allocations: 0 / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.1439, allocations: 0 / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1439, allocations: 3.938 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001192/0.1451, allocations: 0.6237 MB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1452, allocations: 12.03 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.1452, allocations: 62.72 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/0.1457, allocations: 68.53 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.146, allocations: 259.4 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.146, allocations: 24.56 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.1461, allocations: 27.98 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.1468, allocations: 433.9 kB / 486.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1468, allocations: 0 / 486.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.1469, allocations: 12 kB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.1469, allocations: 16.5 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000718/0.1476, allocations: 322 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.1491, allocations: 1.1 MB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.1496, allocations: 239.7 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.1499, allocations: 114.4 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.1499, allocations: 7.984 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.15, allocations: 38.5 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.15, allocations: 4 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001038/0.151, allocations: 349.2 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.1511, allocations: 110.7 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.1515, allocations: 405.6 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1515, allocations: 29.7 kB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1517, allocations: 195.7 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.1517, allocations: 47.42 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1519, allocations: 69.83 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.152, allocations: 338.8 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.1523, allocations: 116.1 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.1527, allocations: 235.8 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/0.1533, allocations: 371.2 kB / 490.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1534, allocations: 4 kB / 490.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008481/0.1542, allocations: 396.7 kB / 491 MB, free: 9.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1542, allocations: 11.94 kB / 491 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/0.1543, allocations: 23.98 kB / 491 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1543, allocations: 8.531 kB / 491 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.1546, allocations: 51.91 kB / 491.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1546, allocations: 11.92 kB / 491.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.1549, allocations: 55.52 kB / 491.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.1549, allocations: 12.19 kB / 491.2 MB, free: 9.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001931/0.1551, allocations: 180.7 kB / 491.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.1552, allocations: 35.56 kB / 491.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.1558, allocations: 288 kB / 491.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1558, allocations: 15.97 kB / 491.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.1558, allocations: 3.938 kB / 491.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1559, allocations: 4 kB / 491.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.1563, allocations: 301.4 kB / 492 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/0.1563, allocations: 23.98 kB / 492 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1565, allocations: 27.97 kB / 492 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1565, allocations: 0 / 492 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1565, allocations: 4 kB / 492 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1565, allocations: 0 / 492 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1566, allocations: 7.938 kB / 492 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.1573, allocations: 0.5054 MB / 492.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.1574, allocations: 108.7 kB / 492.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1574, allocations: 0 / 492.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.1577, allocations: 23.97 kB / 492.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.1578, allocations: 23.92 kB / 492.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1578, allocations: 4 kB / 492.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000278/0.1581, allocations: 291.1 kB / 493 MB, free: 7.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1581, allocations: 4 kB / 493 MB, free: 7.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.1587, allocations: 87.94 kB / 493.1 MB, free: 7.691 MB / 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001208/0.1599, allocations: 1.093 MB / 494.2 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.1608, allocations: 442.8 kB / 494.6 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1608, allocations: 192 / 494.6 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.1612, allocations: 270.1 kB / 494.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.1618, allocations: 81.64 kB / 495 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.1669, allocations: 3.858 MB / 498.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1673, allocations: 0.8065 MB / 499.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.1675, allocations: 62.91 kB / 499.7 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1676, allocations: 91.41 kB / 499.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1676, allocations: 0 / 499.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.1998, allocations: 9.011 MB / 0.4969 GB, free: 7.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/7.926, allocations: 11.45 kB / 0.4969 GB, free: 7.855 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches