Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001082/0.001082, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 205.9 kB / 18.74 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.33/1.33, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 75.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.324, allocations: 62.42 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003376/0.3275, allocations: 2.038 MB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3289, allocations: 0.9311 MB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.329, allocations: 2.156 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.3293, allocations: 67.06 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.3297, allocations: 131.6 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.3299, allocations: 88.75 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.3303, allocations: 389.4 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.3304, allocations: 43.81 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.3306, allocations: 159.1 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.3308, allocations: 174.7 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.3309, allocations: 9.625 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.3312, allocations: 160.3 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.3313, allocations: 103.1 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3315, allocations: 153.9 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.3321, allocations: 434.2 kB / 0.5353 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3321, allocations: 0 / 0.5353 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3321, allocations: 5.062 kB / 0.5353 GB, free: 9.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3321, allocations: 0 / 0.5353 GB, free: 9.945 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001156/0.3333, allocations: 0.666 MB / 0.5359 GB, free: 9.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3333, allocations: 13.86 kB / 0.5359 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.524e-05/0.3334, allocations: 79.88 kB / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.3335, allocations: 43.28 kB / 0.5361 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3339, allocations: 281.8 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3339, allocations: 31.06 kB / 0.5363 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.334, allocations: 36.83 kB / 0.5364 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.3348, allocations: 0.5553 MB / 0.5369 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3348, allocations: 5.031 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.3349, allocations: 15.44 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/0.3349, allocations: 35.11 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.336, allocations: 0.5761 MB / 0.5375 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.338, allocations: 1.174 MB / 0.5387 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/0.3388, allocations: 379.1 kB / 0.5391 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.3391, allocations: 134.3 kB / 0.5392 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.3391, allocations: 12 kB / 0.5392 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3392, allocations: 35.88 kB / 0.5392 GB, free: 7.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.324e-06/0.3392, allocations: 0 / 0.5392 GB, free: 7.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009628/0.3401, allocations: 466.8 kB / 0.5397 GB, free: 7.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3402, allocations: 53.62 kB / 0.5397 GB, free: 7.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.3407, allocations: 455.3 kB / 0.5402 GB, free: 6.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3407, allocations: 29.7 kB / 0.5402 GB, free: 6.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3408, allocations: 192.7 kB / 0.5404 GB, free: 6.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.375e-05/0.3409, allocations: 80.77 kB / 0.5404 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.341, allocations: 51.08 kB / 0.5405 GB, free: 6.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3412, allocations: 358.3 kB / 0.5408 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.3415, allocations: 115.3 kB / 0.5409 GB, free: 6.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.3417, allocations: 122.9 kB / 0.5411 GB, free: 6.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.3423, allocations: 262.2 kB / 0.5413 GB, free: 5.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3423, allocations: 0 / 0.5413 GB, free: 5.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006661/0.343, allocations: 349.8 kB / 0.5416 GB, free: 5.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.343, allocations: 9.531 kB / 0.5417 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.343, allocations: 0 / 0.5417 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.343, allocations: 1.344 kB / 0.5417 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/0.3438, allocations: 155.3 kB / 0.5418 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.3466, allocations: 5.524 MB / 0.5472 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.3469, allocations: 55.84 kB / 0.5473 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.3469, allocations: 8.031 kB / 0.5473 GB, free: 180 kB / 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.0002448/0.3472, allocations: 193 kB / 0.5474 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.3472, allocations: 36.36 kB / 0.5475 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008742/0.3481, allocations: 459.5 kB / 0.5479 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3481, allocations: 3.984 kB / 0.5479 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3482, allocations: 4 kB / 0.5479 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3482, allocations: 0 / 0.5479 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.3486, allocations: 377.2 kB / 0.5483 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3486, allocations: 0 / 0.5483 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/0.3493, allocations: 155.9 kB / 0.5484 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3493, allocations: 3.984 kB / 0.5484 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3494, allocations: 8 kB / 0.5484 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.352, allocations: 5.52 MB / 0.5538 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.352, allocations: 0 / 0.5538 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.3526, allocations: 451.2 kB / 0.5543 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3528, allocations: 124.8 kB / 0.5544 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.3528, allocations: 4 kB / 0.5544 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.3531, allocations: 11.98 kB / 0.5544 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.3531, allocations: 19.91 kB / 0.5544 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3532, allocations: 12 kB / 0.5544 GB, free: 8.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.3535, allocations: 339.1 kB / 0.5548 GB, free: 8.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3535, allocations: 0 / 0.5548 GB, free: 8.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.3539, allocations: 111.8 kB / 0.5549 GB, free: 8.141 MB / 414.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.001104/0.355, allocations: 1.012 MB / 0.5558 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3562, allocations: 403.5 kB / 0.5562 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3562, allocations: 7.938 kB / 0.5562 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.357, allocations: 275.7 kB / 0.5565 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.3575, allocations: 89.39 kB / 0.5566 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.3631, allocations: 4.352 MB / 0.5608 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.3635, allocations: 0.8543 MB / 0.5617 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.3637, allocations: 91.14 kB / 0.5618 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3639, allocations: 111.4 kB / 0.5619 GB, free: 0.832 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3639, allocations: 3.938 kB / 0.5619 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.3969, allocations: 11.53 MB / 0.5731 GB, free: 5.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.04, allocations: 13.39 kB / 0.5731 GB, free: 5.531 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches