Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 113.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2208/0.2208, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3251, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002846/0.328, allocations: 2.005 MB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3292, allocations: 0.9102 MB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.3293, allocations: 1.062 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.3297, allocations: 60.06 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.33, allocations: 120.3 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3303, allocations: 83.58 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.3307, allocations: 392.7 kB / 0.5219 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.705e-05/0.3308, allocations: 48.5 kB / 0.522 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.331, allocations: 150.7 kB / 0.5221 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.3312, allocations: 179.3 kB / 0.5223 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.3312, allocations: 13.89 kB / 0.5223 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.3315, allocations: 155.8 kB / 0.5225 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3317, allocations: 96.19 kB / 0.5225 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.3318, allocations: 153.9 kB / 0.5227 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.3323, allocations: 437.1 kB / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3324, allocations: 0 / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3324, allocations: 0 / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3324, allocations: 5.469 kB / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009325/0.3333, allocations: 0.6678 MB / 0.5238 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3334, allocations: 9.688 kB / 0.5238 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.3335, allocations: 83.08 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.799e-05/0.3336, allocations: 43.84 kB / 0.5239 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.334, allocations: 276 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.334, allocations: 33.12 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.3341, allocations: 32.34 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.335, allocations: 0.5579 MB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.335, allocations: 0 / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.3351, allocations: 18.73 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.641e-05/0.3352, allocations: 43.56 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3362, allocations: 0.5684 MB / 0.5254 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.3381, allocations: 1.18 MB / 0.5265 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.3388, allocations: 377.9 kB / 0.5269 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.339, allocations: 138 kB / 0.527 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.3391, allocations: 16.23 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3391, allocations: 35.94 kB / 0.5271 GB, free: 14.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.3391, allocations: 0 / 0.5271 GB, free: 14.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001022/0.3402, allocations: 461.1 kB / 0.5275 GB, free: 14.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3402, allocations: 54.84 kB / 0.5276 GB, free: 14.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.3408, allocations: 454.9 kB / 0.528 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.3408, allocations: 29.7 kB / 0.528 GB, free: 13.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.341, allocations: 188.8 kB / 0.5282 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.3411, allocations: 84.48 kB / 0.5283 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3412, allocations: 47.95 kB / 0.5283 GB, free: 13.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3414, allocations: 354.5 kB / 0.5287 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.3417, allocations: 118.6 kB / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.3419, allocations: 119.7 kB / 0.5289 GB, free: 13.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.3425, allocations: 269.3 kB / 0.5292 GB, free: 12.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3425, allocations: 0 / 0.5292 GB, free: 12.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007225/0.3433, allocations: 344.4 kB / 0.5295 GB, free: 12.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3433, allocations: 9.312 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3433, allocations: 5.281 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3433, allocations: 1.406 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.3441, allocations: 154.4 kB / 0.5297 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.3478, allocations: 5.521 MB / 0.535 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.3482, allocations: 53.8 kB / 0.5351 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3482, allocations: 5.062 kB / 0.5351 GB, free: 7.168 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.3485, allocations: 197.4 kB / 0.5353 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.3486, allocations: 40.11 kB / 0.5353 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009552/0.3496, allocations: 453.2 kB / 0.5358 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3496, allocations: 2.531 kB / 0.5358 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3496, allocations: 0 / 0.5358 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3496, allocations: 1.031 kB / 0.5358 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.3501, allocations: 382.6 kB / 0.5361 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3502, allocations: 0 / 0.5361 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.3508, allocations: 159.5 kB / 0.5363 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3508, allocations: 1.094 kB / 0.5363 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3508, allocations: 8.531 kB / 0.5363 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/0.3544, allocations: 5.523 MB / 0.5417 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3544, allocations: 3.938 kB / 0.5417 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.3552, allocations: 443.2 kB / 0.5421 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.3553, allocations: 119.7 kB / 0.5422 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.3554, allocations: 9.234 kB / 0.5422 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.3556, allocations: 12.78 kB / 0.5422 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.3557, allocations: 22.25 kB / 0.5423 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.3557, allocations: 10.94 kB / 0.5423 GB, free: 496 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004122/0.3561, allocations: 338.6 kB / 0.5426 GB, free: 296 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3562, allocations: 0 / 0.5426 GB, free: 296 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.3566, allocations: 105.2 kB / 0.5427 GB, free: 276 kB / 398.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {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.001314/0.3579, allocations: 1.014 MB / 0.5437 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.3591, allocations: 406.8 kB / 0.5441 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.3591, allocations: 4 kB / 0.5441 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008011/0.3599, allocations: 271.8 kB / 0.5443 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.3605, allocations: 93.52 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/0.3668, allocations: 4.357 MB / 0.5487 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.3674, allocations: 0.8543 MB / 0.5495 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.3676, allocations: 87.19 kB / 0.5496 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.3678, allocations: 111.4 kB / 0.5497 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3678, allocations: 0 / 0.5497 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.407, allocations: 11.54 MB / 0.561 GB, free: 15.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.31, allocations: 19.48 kB / 0.561 GB, free: 15.98 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches