Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.0016/0.0016, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001802, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3468, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003128/0.35, allocations: 2.125 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3517, allocations: 1.228 MB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.589e-05/0.3518, allocations: 1.406 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.3521, allocations: 67.47 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3523, allocations: 98.75 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.3528, allocations: 187.1 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.3533, allocations: 447.2 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.583e-05/0.3533, allocations: 45.59 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.3536, allocations: 154.7 kB / 0.5348 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.3538, allocations: 185.2 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.3538, allocations: 12.38 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.3542, allocations: 229.1 kB / 0.5352 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3543, allocations: 94.62 kB / 0.5353 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.3545, allocations: 171.2 kB / 0.5354 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.3551, allocations: 0.4929 MB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3551, allocations: 0 / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3551, allocations: 0 / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3552, allocations: 1.062 kB / 0.5359 GB, free: 9.438 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001208/0.3564, allocations: 0.7136 MB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3564, allocations: 9.344 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.948e-05/0.3565, allocations: 79.44 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.3569, allocations: 82.08 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.3573, allocations: 295 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.3574, allocations: 25.25 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.3574, allocations: 36.72 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009379/0.3584, allocations: 0.5752 MB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3584, allocations: 3.938 kB / 0.5377 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.3584, allocations: 15.59 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.3585, allocations: 26.98 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008209/0.3593, allocations: 426.2 kB / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.3611, allocations: 1.382 MB / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.3616, allocations: 271.8 kB / 0.5397 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.362, allocations: 140.3 kB / 0.5399 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.362, allocations: 12.31 kB / 0.5399 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3621, allocations: 36.91 kB / 0.5399 GB, free: 6.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.3621, allocations: 0 / 0.5399 GB, free: 6.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001221/0.3633, allocations: 458.1 kB / 0.5404 GB, free: 6.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.3634, allocations: 105.7 kB / 0.5405 GB, free: 6.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.3639, allocations: 0.4984 MB / 0.5409 GB, free: 5.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.364, allocations: 26.89 kB / 0.541 GB, free: 5.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3641, allocations: 210.3 kB / 0.5412 GB, free: 5.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.3642, allocations: 58.33 kB / 0.5412 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.3643, allocations: 57.42 kB / 0.5413 GB, free: 5.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3644, allocations: 351.1 kB / 0.5416 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.3648, allocations: 126 kB / 0.5417 GB, free: 5.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.3651, allocations: 180.1 kB / 0.5419 GB, free: 5.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.3658, allocations: 300.5 kB / 0.5422 GB, free: 4.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3658, allocations: 1.281 kB / 0.5422 GB, free: 4.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008369/0.3666, allocations: 391.8 kB / 0.5426 GB, free: 4.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3666, allocations: 9.781 kB / 0.5426 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-05/0.3667, allocations: 29.75 kB / 0.5426 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3667, allocations: 2.562 kB / 0.5426 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3669, allocations: 33.89 kB / 0.5426 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.367, allocations: 6.625 kB / 0.5426 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.3672, allocations: 55.92 kB / 0.5427 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.3673, allocations: 17.08 kB / 0.5427 GB, free: 4.719 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001801/0.3674, allocations: 184.5 kB / 0.5429 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3676, allocations: 45.06 kB / 0.5429 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007507/0.3683, allocations: 381.5 kB / 0.5433 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3683, allocations: 4 kB / 0.5433 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3683, allocations: 3.984 kB / 0.5433 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3684, allocations: 7.984 kB / 0.5433 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.3689, allocations: 361.3 kB / 0.5437 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.387e-05/0.369, allocations: 39.98 kB / 0.5437 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.3691, allocations: 27.91 kB / 0.5437 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3691, allocations: 0 / 0.5437 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.3692, allocations: 12 kB / 0.5437 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3692, allocations: 0 / 0.5437 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3692, allocations: 0 / 0.5437 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.37, allocations: 0.5795 MB / 0.5443 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3701, allocations: 120.8 kB / 0.5444 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.3702, allocations: 0 / 0.5444 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3705, allocations: 23.97 kB / 0.5444 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.3706, allocations: 19.98 kB / 0.5445 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3706, allocations: 8 kB / 0.5445 GB, free: 3.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003837/0.371, allocations: 383 kB / 0.5448 GB, free: 2.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.371, allocations: 0 / 0.5448 GB, free: 2.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005032/0.3715, allocations: 119.7 kB / 0.5449 GB, free: 2.574 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001239/0.3728, allocations: 1.175 MB / 0.5461 GB, free: 1.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008299/0.3736, allocations: 0.521 MB / 0.5466 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3736, allocations: 4.062 kB / 0.5466 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004597/0.3741, allocations: 383.1 kB / 0.547 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.3747, allocations: 100.6 kB / 0.5471 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/0.3807, allocations: 4.734 MB / 0.5517 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3812, allocations: 0.8419 MB / 0.5525 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.3813, allocations: 59.25 kB / 0.5526 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3815, allocations: 115.4 kB / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3815, allocations: 0 / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.408, allocations: 11.41 MB / 0.5638 GB, free: 15.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.658, allocations: 16.92 kB / 0.5638 GB, free: 15.18 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches