Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.001761/0.001761, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.002009/0.002009, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2147/0.2147, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3743, allocations: 60.82 MB / 0.5184 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003148/0.3775, allocations: 1.866 MB / 0.5203 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3787, allocations: 0.7977 MB / 0.521 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.3788, allocations: 1.094 kB / 0.5211 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.3791, allocations: 54.03 kB / 0.5211 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.3794, allocations: 82.58 kB / 0.5212 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3796, allocations: 78.56 kB / 0.5213 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.3799, allocations: 262.5 kB / 0.5215 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.38, allocations: 34.98 kB / 0.5215 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3801, allocations: 99.27 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3803, allocations: 121.2 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3804, allocations: 5.656 kB / 0.5218 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.3806, allocations: 123.8 kB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.3807, allocations: 62.41 kB / 0.5219 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3808, allocations: 102 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.3812, allocations: 302.1 kB / 0.5223 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3812, allocations: 0 / 0.5223 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3812, allocations: 4 kB / 0.5223 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3812, allocations: 1.469 kB / 0.5223 GB, free: 0.7266 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007213/0.382, allocations: 0.5521 MB / 0.5229 GB, free: 260 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.382, allocations: 9.734 kB / 0.5229 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/0.3821, allocations: 65.89 kB / 0.5229 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.3821, allocations: 28.38 kB / 0.523 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3824, allocations: 234.2 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3824, allocations: 18.94 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.3825, allocations: 34.8 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.3832, allocations: 376.9 kB / 0.5236 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3832, allocations: 0 / 0.5236 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.3832, allocations: 10.3 kB / 0.5236 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.3833, allocations: 29.23 kB / 0.5236 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006205/0.3839, allocations: 371.3 kB / 0.524 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3853, allocations: 0.8444 MB / 0.5248 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.3858, allocations: 260.4 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.386, allocations: 96.8 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.3861, allocations: 3.969 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3861, allocations: 40.73 kB / 0.5252 GB, free: 15.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.3861, allocations: 0 / 0.5252 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007709/0.3869, allocations: 330.7 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3869, allocations: 56.75 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.3873, allocations: 340.4 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3873, allocations: 30.86 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3875, allocations: 171 kB / 0.5261 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.3875, allocations: 59.84 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.3876, allocations: 62.05 kB / 0.5262 GB, free: 14.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3877, allocations: 335.2 kB / 0.5265 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.388, allocations: 98.56 kB / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.3882, allocations: 192.7 kB / 0.5268 GB, free: 14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.3887, allocations: 303.9 kB / 0.5271 GB, free: 13.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3887, allocations: 1.25 kB / 0.5271 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005874/0.3893, allocations: 354 kB / 0.5274 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3894, allocations: 10.5 kB / 0.5274 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3894, allocations: 2.812 kB / 0.5274 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3894, allocations: 3.969 kB / 0.5274 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.3899, allocations: 123.8 kB / 0.5276 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.3917, allocations: 3.649 MB / 0.5311 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.392, allocations: 37.41 kB / 0.5312 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.392, allocations: 18.33 kB / 0.5312 GB, free: 9.914 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.3923, allocations: 178.4 kB / 0.5313 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.3923, allocations: 26.62 kB / 0.5314 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.393, allocations: 332.8 kB / 0.5317 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.393, allocations: 2.125 kB / 0.5317 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.393, allocations: 0 / 0.5317 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.393, allocations: 1.031 kB / 0.5317 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.3934, allocations: 301.2 kB / 0.532 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3934, allocations: 3.984 kB / 0.532 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.3938, allocations: 105.7 kB / 0.5321 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3939, allocations: 0 / 0.5321 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.3939, allocations: 11.36 kB / 0.5321 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.3958, allocations: 3.65 MB / 0.5357 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3958, allocations: 0 / 0.5357 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.3964, allocations: 348.2 kB / 0.536 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.3965, allocations: 102.6 kB / 0.5361 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.3965, allocations: 9 kB / 0.5361 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3967, allocations: 8.391 kB / 0.5361 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.3968, allocations: 18.7 kB / 0.5361 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.3968, allocations: 13.27 kB / 0.5361 GB, free: 5.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.397, allocations: 246.6 kB / 0.5364 GB, free: 5.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3971, allocations: 0 / 0.5364 GB, free: 5.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.3975, allocations: 79.3 kB / 0.5364 GB, free: 5.07 MB / 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009278/0.3984, allocations: 0.9108 MB / 0.5373 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008717/0.3993, allocations: 330.9 kB / 0.5377 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3993, allocations: 0 / 0.5377 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005506/0.3998, allocations: 180.6 kB / 0.5378 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.4003, allocations: 62.8 kB / 0.5379 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.4046, allocations: 3.365 MB / 0.5412 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.405, allocations: 0.7903 MB / 0.5419 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.4052, allocations: 80.5 kB / 0.542 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4053, allocations: 72.09 kB / 0.5421 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4054, allocations: 5.125 kB / 0.5421 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.437, allocations: 8.758 MB / 0.5506 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.9, allocations: 14.52 kB / 0.5507 GB, free: 10.41 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches