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.001281/0.001281, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, 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.41/1.41, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 79.86 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003374/0.3524, allocations: 2.017 MB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3539, allocations: 0.935 MB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.354, allocations: 2.75 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3544, allocations: 63.28 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.3547, allocations: 124.5 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.355, allocations: 88.73 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.3554, allocations: 384.8 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.3555, allocations: 48.22 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.3558, allocations: 159.8 kB / 0.5344 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.356, allocations: 174.7 kB / 0.5345 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.3561, allocations: 9.625 kB / 0.5345 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.3564, allocations: 160.4 kB / 0.5347 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3565, allocations: 91.16 kB / 0.5348 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.3567, allocations: 160.8 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.3572, allocations: 439 kB / 0.5354 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3572, allocations: 0 / 0.5354 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3573, allocations: 0 / 0.5354 GB, free: 9.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3573, allocations: 1.125 kB / 0.5354 GB, free: 9.898 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.00106/0.3583, allocations: 0.6621 MB / 0.536 GB, free: 9.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3584, allocations: 9.281 kB / 0.536 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.635e-05/0.3585, allocations: 92.5 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.3586, allocations: 43.22 kB / 0.5361 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.3589, allocations: 280.9 kB / 0.5364 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.359, allocations: 35.94 kB / 0.5364 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.359, allocations: 35.88 kB / 0.5365 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.3599, allocations: 0.5522 MB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3599, allocations: 0 / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.3599, allocations: 15.39 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.36, allocations: 44.56 kB / 0.5371 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000945/0.3609, allocations: 0.5744 MB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.3626, allocations: 1.174 MB / 0.5388 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.3633, allocations: 375.7 kB / 0.5391 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.3636, allocations: 141.8 kB / 0.5393 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.3636, allocations: 12.27 kB / 0.5393 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3637, allocations: 31.53 kB / 0.5393 GB, free: 7.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.3637, allocations: 0 / 0.5393 GB, free: 7.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009738/0.3646, allocations: 462.6 kB / 0.5398 GB, free: 7.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3647, allocations: 59.09 kB / 0.5398 GB, free: 6.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.3652, allocations: 449.7 kB / 0.5402 GB, free: 6.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3652, allocations: 31.05 kB / 0.5403 GB, free: 6.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3654, allocations: 199.8 kB / 0.5405 GB, free: 6.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.3655, allocations: 68.83 kB / 0.5405 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3656, allocations: 55.78 kB / 0.5406 GB, free: 6.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3658, allocations: 354.1 kB / 0.5409 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.366, allocations: 123.4 kB / 0.541 GB, free: 6.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.3663, allocations: 117.2 kB / 0.5411 GB, free: 5.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.3669, allocations: 265.1 kB / 0.5414 GB, free: 5.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3669, allocations: 0 / 0.5414 GB, free: 5.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006918/0.3676, allocations: 345.5 kB / 0.5417 GB, free: 5.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3676, allocations: 13.12 kB / 0.5417 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3676, allocations: 4 kB / 0.5417 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3676, allocations: 1.062 kB / 0.5417 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.3684, allocations: 158.9 kB / 0.5419 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.372, allocations: 5.516 MB / 0.5473 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.3723, allocations: 52.58 kB / 0.5473 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.3724, allocations: 15.64 kB / 0.5474 GB, free: 124 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.00028/0.3727, allocations: 196.4 kB / 0.5475 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/0.3728, allocations: 35.77 kB / 0.5476 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009/0.3737, allocations: 451.9 kB / 0.548 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3737, allocations: 8.094 kB / 0.548 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3737, allocations: 4 kB / 0.548 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3737, allocations: 0 / 0.548 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.3742, allocations: 377.2 kB / 0.5484 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3742, allocations: 0 / 0.5484 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.3749, allocations: 155.9 kB / 0.5485 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3749, allocations: 0 / 0.5485 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.3749, allocations: 11.98 kB / 0.5485 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/0.3784, allocations: 5.516 MB / 0.5539 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3784, allocations: 3.938 kB / 0.5539 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.3792, allocations: 447.2 kB / 0.5544 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3793, allocations: 120.8 kB / 0.5545 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.3794, allocations: 4 kB / 0.5545 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3796, allocations: 11.98 kB / 0.5545 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.3797, allocations: 23.92 kB / 0.5545 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.3798, allocations: 11.98 kB / 0.5545 GB, free: 8.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.3802, allocations: 339.1 kB / 0.5548 GB, free: 8.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3802, allocations: 0 / 0.5548 GB, free: 8.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.3806, allocations: 103.8 kB / 0.5549 GB, free: 8.066 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.00118/0.3818, allocations: 1.024 MB / 0.5559 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.383, allocations: 406.5 kB / 0.5563 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.383, allocations: 0 / 0.5563 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.3838, allocations: 275.7 kB / 0.5566 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.3843, allocations: 85.45 kB / 0.5567 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.3902, allocations: 4.368 MB / 0.5609 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.3908, allocations: 0.8504 MB / 0.5618 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000239/0.391, allocations: 87.16 kB / 0.5619 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.3912, allocations: 109.6 kB / 0.562 GB, free: 0.75 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3912, allocations: 4 kB / 0.562 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.427, allocations: 11.55 MB / 0.5732 GB, free: 5.453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.6, allocations: 14.12 kB / 0.5733 GB, free: 5.441 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 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.mat","/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