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.001595/0.001595, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.00166/0.00166, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.21 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.2022/0.2022, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3298, 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.00279/0.3326, allocations: 2.007 MB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3338, allocations: 0.9008 MB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.3339, allocations: 2.438 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3342, allocations: 63.86 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.3345, allocations: 119.8 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3347, allocations: 88.48 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.3351, allocations: 392.4 kB / 0.5219 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.3352, allocations: 43.73 kB / 0.522 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.3354, allocations: 150.7 kB / 0.5221 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.3356, allocations: 183.1 kB / 0.5223 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.3357, allocations: 10.47 kB / 0.5223 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.336, allocations: 150.9 kB / 0.5224 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3361, allocations: 96.5 kB / 0.5225 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.3362, allocations: 153.4 kB / 0.5227 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.3367, allocations: 440.2 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3367, allocations: 1.766 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3367, allocations: 0 / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.3367, allocations: 0 / 0.5231 GB, free: 496 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.0009319/0.3377, allocations: 0.657 MB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3377, allocations: 11.16 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.3378, allocations: 81.83 kB / 0.5238 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3379, allocations: 39.62 kB / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.3383, allocations: 280.1 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3383, allocations: 33.17 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.3384, allocations: 32.59 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/0.3392, allocations: 0.5529 MB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3392, allocations: 0.875 kB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.3393, allocations: 19.55 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.3393, allocations: 38.31 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.3403, allocations: 0.58 MB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.342, allocations: 1.167 MB / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.3426, allocations: 379.7 kB / 0.5269 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.3429, allocations: 142.2 kB / 0.527 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.3429, allocations: 10.81 kB / 0.527 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.343, allocations: 35.97 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.343, allocations: 1.312 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009702/0.344, allocations: 464.4 kB / 0.5275 GB, free: 14.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.344, allocations: 54.41 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.3445, allocations: 455 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.3445, allocations: 30.8 kB / 0.528 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3446, allocations: 183.8 kB / 0.5282 GB, free: 13.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/0.3447, allocations: 75.72 kB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3448, allocations: 56.41 kB / 0.5283 GB, free: 13.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.345, allocations: 354.4 kB / 0.5286 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.3452, allocations: 118.8 kB / 0.5288 GB, free: 13.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.3455, allocations: 120.3 kB / 0.5289 GB, free: 13.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.346, allocations: 264.8 kB / 0.5291 GB, free: 12.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.346, allocations: 4 kB / 0.5291 GB, free: 12.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006103/0.3466, allocations: 340.4 kB / 0.5294 GB, free: 12.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3466, allocations: 9 kB / 0.5295 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3467, allocations: 1.594 kB / 0.5295 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3467, allocations: 0 / 0.5295 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.3474, allocations: 159.2 kB / 0.5296 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.3502, allocations: 5.515 MB / 0.535 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.3505, allocations: 52.98 kB / 0.535 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.3506, allocations: 11.58 kB / 0.5351 GB, free: 7.207 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.0002126/0.3508, allocations: 189 kB / 0.5352 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.3508, allocations: 32.41 kB / 0.5353 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008229/0.3517, allocations: 461.3 kB / 0.5357 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3517, allocations: 3.188 kB / 0.5357 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3517, allocations: 0 / 0.5357 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3517, allocations: 4 kB / 0.5357 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.3522, allocations: 383 kB / 0.5361 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3522, allocations: 0 / 0.5361 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.3528, allocations: 151.6 kB / 0.5362 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3528, allocations: 1.219 kB / 0.5362 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.3529, allocations: 7.5 kB / 0.5362 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.3556, allocations: 5.524 MB / 0.5416 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3556, allocations: 4.938 kB / 0.5416 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.3563, allocations: 442.5 kB / 0.5421 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3564, allocations: 123.9 kB / 0.5422 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.3565, allocations: 5.344 kB / 0.5422 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3567, allocations: 8.031 kB / 0.5422 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.3568, allocations: 22.31 kB / 0.5422 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.3568, allocations: 14.73 kB / 0.5422 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003456/0.3572, allocations: 339 kB / 0.5425 GB, free: 348 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3572, allocations: 0 / 0.5425 GB, free: 348 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000403/0.3576, allocations: 105.1 kB / 0.5426 GB, free: 328 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.001085/0.3587, allocations: 1.017 MB / 0.5436 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3598, allocations: 399.9 kB / 0.544 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3598, allocations: 0 / 0.544 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008102/0.3606, allocations: 283.5 kB / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.3611, allocations: 89.47 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/0.3665, allocations: 4.348 MB / 0.5486 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3669, allocations: 0.8504 MB / 0.5495 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.3671, allocations: 79.22 kB / 0.5495 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.3673, allocations: 115.4 kB / 0.5496 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3673, allocations: 0 / 0.5496 GB, free: 11.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.4039, allocations: 11.8 MB / 0.5612 GB, free: 15.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.22, allocations: 16.58 kB / 0.5612 GB, free: 15.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 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.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_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