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.001124/0.001124, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001128/0.001128, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2098/0.2098, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3387, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002621/0.3413, allocations: 1.991 MB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3425, allocations: 0.9094 MB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.3425, allocations: 1.312 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.3428, allocations: 64.25 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.3431, allocations: 123.1 kB / 0.5215 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.3434, allocations: 89.06 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.3437, allocations: 396.4 kB / 0.5219 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.3438, allocations: 44.03 kB / 0.522 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.344, allocations: 142.6 kB / 0.5221 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3442, allocations: 187.5 kB / 0.5223 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.3442, allocations: 10.12 kB / 0.5223 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.3445, allocations: 156 kB / 0.5225 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3446, allocations: 95.05 kB / 0.5225 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.3448, allocations: 159.8 kB / 0.5227 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.3453, allocations: 431.7 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3453, allocations: 2.094 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3453, allocations: 0 / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3453, allocations: 4 kB / 0.5231 GB, free: 468 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.0009074/0.3462, allocations: 0.6683 MB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3462, allocations: 9.375 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.207e-05/0.3463, allocations: 87.03 kB / 0.5239 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.3464, allocations: 43.3 kB / 0.5239 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.3468, allocations: 280.6 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.3468, allocations: 27.81 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.3469, allocations: 40.77 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008376/0.3477, allocations: 0.5584 MB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3477, allocations: 0 / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.3478, allocations: 12.12 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/0.3478, allocations: 42.23 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.3488, allocations: 0.5727 MB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.3505, allocations: 1.175 MB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.3511, allocations: 382 kB / 0.5269 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.3513, allocations: 138.9 kB / 0.527 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.3514, allocations: 10.67 kB / 0.527 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3514, allocations: 37.34 kB / 0.5271 GB, free: 14.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.3514, allocations: 0 / 0.5271 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009262/0.3524, allocations: 465.6 kB / 0.5275 GB, free: 14.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3524, allocations: 54.16 kB / 0.5276 GB, free: 13.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.3528, allocations: 453.9 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3529, allocations: 30.98 kB / 0.528 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.353, allocations: 191.9 kB / 0.5282 GB, free: 13.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.3531, allocations: 85.19 kB / 0.5283 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.3532, allocations: 51.38 kB / 0.5284 GB, free: 13.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3533, allocations: 353.8 kB / 0.5287 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3535, allocations: 115.1 kB / 0.5288 GB, free: 13.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.3538, allocations: 116.5 kB / 0.5289 GB, free: 12.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.3543, allocations: 269.4 kB / 0.5292 GB, free: 12.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3543, allocations: 0 / 0.5292 GB, free: 12.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005981/0.3549, allocations: 340.4 kB / 0.5295 GB, free: 12.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3549, allocations: 9.375 kB / 0.5295 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3549, allocations: 0 / 0.5295 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3549, allocations: 5.594 kB / 0.5295 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.3557, allocations: 154.8 kB / 0.5297 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.3584, allocations: 5.52 MB / 0.535 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.3587, allocations: 52.2 kB / 0.5351 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3587, allocations: 15.02 kB / 0.5351 GB, free: 7.125 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.0002187/0.3589, allocations: 190.1 kB / 0.5353 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.359, allocations: 36.55 kB / 0.5353 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008961/0.3599, allocations: 460.7 kB / 0.5358 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3599, allocations: 2.5 kB / 0.5358 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3599, allocations: 1.062 kB / 0.5358 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.36, allocations: 0 / 0.5358 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.3604, allocations: 379 kB / 0.5361 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3604, allocations: 0 / 0.5361 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006633/0.3611, allocations: 159.2 kB / 0.5363 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3611, allocations: 1.062 kB / 0.5363 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3611, allocations: 4.281 kB / 0.5363 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/0.364, allocations: 5.532 MB / 0.5417 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.364, allocations: 3.938 kB / 0.5417 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.3647, allocations: 444 kB / 0.5421 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3649, allocations: 118.7 kB / 0.5422 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3649, allocations: 5.531 kB / 0.5422 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3651, allocations: 9 kB / 0.5422 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.3652, allocations: 34 kB / 0.5423 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.3652, allocations: 11.45 kB / 0.5423 GB, free: 452 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.3656, allocations: 334 kB / 0.5426 GB, free: 256 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3656, allocations: 0 / 0.5426 GB, free: 256 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.3661, allocations: 106 kB / 0.5427 GB, free: 236 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.001272/0.3673, allocations: 1.013 MB / 0.5437 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.3687, allocations: 407.3 kB / 0.5441 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.3687, allocations: 0 / 0.5441 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.3696, allocations: 276.5 kB / 0.5443 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.3702, allocations: 97.11 kB / 0.5444 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006183/0.3764, allocations: 4.353 MB / 0.5487 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.3769, allocations: 0.8504 MB / 0.5495 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.3772, allocations: 87.2 kB / 0.5496 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.3773, allocations: 111.4 kB / 0.5497 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3773, allocations: 0 / 0.5497 GB, free: 11.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.4081, allocations: 11.55 MB / 0.561 GB, free: 15.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 16.89 kB / 0.561 GB, free: 15.94 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