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.001616/0.001616, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 75.88 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3219, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003259/0.3252, allocations: 2.022 MB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.327, allocations: 1.157 MB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.3271, allocations: 1.406 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.3274, allocations: 61.67 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.3276, allocations: 75.08 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.3281, allocations: 189.5 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.3285, allocations: 326.8 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.3285, allocations: 33.34 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.3288, allocations: 130.3 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.3289, allocations: 140.9 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.329, allocations: 11 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.3294, allocations: 207.2 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.3295, allocations: 69.42 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.3296, allocations: 129.6 kB / 0.535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.3301, allocations: 402.3 kB / 0.5353 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3302, allocations: 0 / 0.5353 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3302, allocations: 1.125 kB / 0.5353 GB, free: 9.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3302, allocations: 0 / 0.5353 GB, free: 9.844 MB / 398.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.001154/0.3313, allocations: 0.6396 MB / 0.536 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3314, allocations: 14.05 kB / 0.536 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.555e-05/0.3315, allocations: 66.19 kB / 0.536 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.3318, allocations: 68.44 kB / 0.5361 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3321, allocations: 259.9 kB / 0.5364 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3322, allocations: 23.25 kB / 0.5364 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.3322, allocations: 24.72 kB / 0.5364 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007921/0.333, allocations: 432.3 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.333, allocations: 0 / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.3331, allocations: 11.5 kB / 0.5368 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.3331, allocations: 26.11 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.3338, allocations: 321.4 kB / 0.5372 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.3354, allocations: 1.101 MB / 0.5382 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.3359, allocations: 246.8 kB / 0.5385 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.3362, allocations: 106.9 kB / 0.5386 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.3362, allocations: 2.75 kB / 0.5386 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3363, allocations: 44.98 kB / 0.5386 GB, free: 7.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3363, allocations: 0 / 0.5386 GB, free: 7.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009665/0.3372, allocations: 346.5 kB / 0.5389 GB, free: 7.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.3374, allocations: 112.8 kB / 0.5391 GB, free: 7.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.3379, allocations: 406.9 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.338, allocations: 29.7 kB / 0.5395 GB, free: 6.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.3382, allocations: 201.7 kB / 0.5397 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.3383, allocations: 49.91 kB / 0.5397 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.3384, allocations: 69.75 kB / 0.5398 GB, free: 6.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3385, allocations: 340.9 kB / 0.5401 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.3388, allocations: 113.2 kB / 0.5402 GB, free: 6.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.3393, allocations: 244.9 kB / 0.5404 GB, free: 5.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.3399, allocations: 369.4 kB / 0.5408 GB, free: 5.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.34, allocations: 1.219 kB / 0.5408 GB, free: 5.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007882/0.3407, allocations: 400.2 kB / 0.5412 GB, free: 5.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3408, allocations: 10.41 kB / 0.5412 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.54e-05/0.3408, allocations: 21.88 kB / 0.5412 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3408, allocations: 9.297 kB / 0.5412 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3411, allocations: 52.97 kB / 0.5413 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.3411, allocations: 9.656 kB / 0.5413 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.3414, allocations: 61.28 kB / 0.5413 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.3414, allocations: 12.28 kB / 0.5414 GB, free: 5.359 MB / 398.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.0001991/0.3416, allocations: 186.5 kB / 0.5415 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.695e-05/0.3417, allocations: 28.94 kB / 0.5416 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000622/0.3424, allocations: 283.7 kB / 0.5418 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.3424, allocations: 6.25 kB / 0.5418 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.3424, allocations: 5.031 kB / 0.5418 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3424, allocations: 13.19 kB / 0.5418 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.3429, allocations: 290.7 kB / 0.5421 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.066e-05/0.3429, allocations: 26.61 kB / 0.5422 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3431, allocations: 23.47 kB / 0.5422 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3431, allocations: 1.031 kB / 0.5422 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3431, allocations: 4.844 kB / 0.5422 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3431, allocations: 5.25 kB / 0.5422 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3431, allocations: 1.25 kB / 0.5422 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.3439, allocations: 0.5061 MB / 0.5427 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3441, allocations: 116 kB / 0.5428 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.3441, allocations: 2.156 kB / 0.5428 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.3444, allocations: 30.25 kB / 0.5428 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.3444, allocations: 15.05 kB / 0.5428 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3445, allocations: 6.938 kB / 0.5428 GB, free: 4.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003039/0.3448, allocations: 288.7 kB / 0.5431 GB, free: 4.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3448, allocations: 0 / 0.5431 GB, free: 4.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005331/0.3453, allocations: 95.27 kB / 0.5432 GB, free: 4.004 MB / 398.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.001206/0.3465, allocations: 1.1 MB / 0.5443 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007316/0.3473, allocations: 431.6 kB / 0.5447 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3473, allocations: 0 / 0.5447 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3477, allocations: 274 kB / 0.545 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.3482, allocations: 84.66 kB / 0.545 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.353, allocations: 3.842 MB / 0.5488 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3534, allocations: 0.7987 MB / 0.5496 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.3535, allocations: 62.92 kB / 0.5496 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3536, allocations: 91.34 kB / 0.5497 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3536, allocations: 3.938 kB / 0.5497 GB, free: 13.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.379, allocations: 9.123 MB / 0.5586 GB, free: 4.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.229, allocations: 8.906 kB / 0.5586 GB, free: 4.402 MB / 414.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