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.001071/0.001071, allocations: 109.3 kB / 17.78 MB, free: 5.285 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.0009831/0.000983, allocations: 188.1 kB / 18.71 MB, free: 4.355 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.278/1.278, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1983/0.1983, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3245, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002977/0.3275, allocations: 2.005 MB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3288, allocations: 0.9024 MB / 0.5213 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.3289, allocations: 2.188 kB / 0.5213 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.3292, allocations: 67.97 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.3295, allocations: 115 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.3297, allocations: 88.75 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.3301, allocations: 395.7 kB / 0.5219 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.82e-05/0.3302, allocations: 44.64 kB / 0.522 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3304, allocations: 142.5 kB / 0.5221 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.3306, allocations: 178.9 kB / 0.5223 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3306, allocations: 14.16 kB / 0.5223 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.3309, allocations: 164.2 kB / 0.5224 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.331, allocations: 96.05 kB / 0.5225 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3312, allocations: 157.6 kB / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.3317, allocations: 431.6 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3317, allocations: 1.406 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3317, allocations: 0.7969 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3317, allocations: 0 / 0.5231 GB, free: 460 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.001006/0.3328, allocations: 0.6568 MB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3328, allocations: 10.27 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.3329, allocations: 82.55 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.333, allocations: 40 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3334, allocations: 281 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.3334, allocations: 27.59 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.3335, allocations: 40.42 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3348, allocations: 0.5543 MB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3348, allocations: 4 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/0.3349, allocations: 10.75 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.335, allocations: 44.03 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.3366, allocations: 0.5707 MB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.3389, allocations: 1.167 MB / 0.5265 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/0.3399, allocations: 382.1 kB / 0.5269 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.3402, allocations: 142.2 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.3403, allocations: 11.73 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3403, allocations: 31.97 kB / 0.527 GB, free: 14.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.3403, allocations: 0 / 0.527 GB, free: 14.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.000969/0.3413, allocations: 469.3 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3413, allocations: 54.91 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.3419, allocations: 450.5 kB / 0.528 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.3419, allocations: 31.05 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3421, allocations: 187.3 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.3422, allocations: 80.08 kB / 0.5283 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.3424, allocations: 52.72 kB / 0.5283 GB, free: 13.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3426, allocations: 357.6 kB / 0.5286 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.343, allocations: 122.7 kB / 0.5288 GB, free: 13.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.3434, allocations: 115.8 kB / 0.5289 GB, free: 13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.3442, allocations: 265.6 kB / 0.5291 GB, free: 12.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3443, allocations: 0 / 0.5291 GB, free: 12.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009704/0.3452, allocations: 340.7 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3453, allocations: 11.56 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3453, allocations: 1.094 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.3453, allocations: 1.531 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.3464, allocations: 162.4 kB / 0.5296 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.3506, allocations: 5.522 MB / 0.535 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.3511, allocations: 42.03 kB / 0.5351 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.3511, allocations: 15.08 kB / 0.5351 GB, free: 7.16 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.0003784/0.3515, allocations: 190.9 kB / 0.5353 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3517, allocations: 35.2 kB / 0.5353 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.353, allocations: 452.5 kB / 0.5357 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3531, allocations: 6.312 kB / 0.5357 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3531, allocations: 0 / 0.5357 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3531, allocations: 1.219 kB / 0.5357 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.3538, allocations: 378 kB / 0.5361 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3538, allocations: 1.188 kB / 0.5361 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.355, allocations: 154.3 kB / 0.5362 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.355, allocations: 1.031 kB / 0.5362 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.355, allocations: 17.33 kB / 0.5362 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004075/0.3591, allocations: 5.511 MB / 0.5416 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.3592, allocations: 5.406 kB / 0.5416 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.3602, allocations: 446.6 kB / 0.5421 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.3604, allocations: 120.1 kB / 0.5422 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3606, allocations: 5.406 kB / 0.5422 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.3609, allocations: 8.281 kB / 0.5422 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.361, allocations: 25.34 kB / 0.5422 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.361, allocations: 11.27 kB / 0.5422 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000566/0.3616, allocations: 342.7 kB / 0.5426 GB, free: 304 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3616, allocations: 0 / 0.5426 GB, free: 304 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007374/0.3624, allocations: 101.2 kB / 0.5426 GB, free: 288 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.001689/0.3641, allocations: 1.01 MB / 0.5436 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.3654, allocations: 419.5 kB / 0.544 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3654, allocations: 0 / 0.544 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.3662, allocations: 267 kB / 0.5443 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.3668, allocations: 101.6 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/0.3744, allocations: 4.337 MB / 0.5486 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.3749, allocations: 0.8504 MB / 0.5495 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004076/0.3754, allocations: 91.2 kB / 0.5495 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.3756, allocations: 115.3 kB / 0.5496 GB, free: 11.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3756, allocations: 0 / 0.5496 GB, free: 11.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.4176, allocations: 11.79 MB / 0.5612 GB, free: 15.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.85, allocations: 24.39 kB / 0.5612 GB, free: 15.76 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