Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001201/0.001201, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.001312/0.001312, allocations: 185 kB / 18.72 MB, free: 4.332 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2388/0.2388, allocations: 44.17 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3666, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003959/0.3706, allocations: 1.771 MB / 0.5202 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3726, allocations: 0.7984 MB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.3729, allocations: 1.125 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.3733, allocations: 44.12 kB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.3739, allocations: 71.69 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.3743, allocations: 74.88 kB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.3747, allocations: 145.1 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.3748, allocations: 23.09 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.375, allocations: 60.8 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.3752, allocations: 80.62 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.3752, allocations: 4.375 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.3757, allocations: 155.9 kB / 0.5216 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3758, allocations: 40.91 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.553e-05/0.3759, allocations: 53.42 kB / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.3764, allocations: 201.4 kB / 0.5219 GB, free: 1.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3764, allocations: 0.7031 kB / 0.5219 GB, free: 1.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3764, allocations: 0 / 0.5219 GB, free: 1.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.3764, allocations: 0 / 0.5219 GB, free: 1.113 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008227/0.3773, allocations: 455.2 kB / 0.5223 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3773, allocations: 10.44 kB / 0.5223 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.3774, allocations: 50.09 kB / 0.5224 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.3774, allocations: 16.14 kB / 0.5224 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3777, allocations: 197.5 kB / 0.5226 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3777, allocations: 9 kB / 0.5226 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.3777, allocations: 18.52 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.3781, allocations: 161.7 kB / 0.5227 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3781, allocations: 4 kB / 0.5227 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3782, allocations: 9.094 kB / 0.5228 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.3782, allocations: 12.2 kB / 0.5228 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.3786, allocations: 166.2 kB / 0.5229 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.3794, allocations: 487.7 kB / 0.5234 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.3798, allocations: 159 kB / 0.5235 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.38, allocations: 56.92 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3801, allocations: 1.156 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3801, allocations: 36.45 kB / 0.5236 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3801, allocations: 0.9688 kB / 0.5236 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006486/0.3808, allocations: 202.8 kB / 0.5238 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.3808, allocations: 56.62 kB / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.3811, allocations: 200.1 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.3811, allocations: 25.8 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.3812, allocations: 119.3 kB / 0.5242 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.3813, allocations: 30.84 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.3814, allocations: 33.8 kB / 0.5243 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3815, allocations: 332.1 kB / 0.5246 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3817, allocations: 50.34 kB / 0.5246 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.3819, allocations: 70.89 kB / 0.5247 GB, free: 15.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.3823, allocations: 128.9 kB / 0.5248 GB, free: 14.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3823, allocations: 1.562 kB / 0.5248 GB, free: 14.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004099/0.3827, allocations: 167.2 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3827, allocations: 5.5 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3827, allocations: 0.5625 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3828, allocations: 1.375 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.383, allocations: 52.69 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000733/0.3838, allocations: 1.215 MB / 0.5262 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3839, allocations: 21.44 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3839, allocations: 5.016 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.3842, allocations: 141.4 kB / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.3842, allocations: 17.28 kB / 0.5264 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.3847, allocations: 187.8 kB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3847, allocations: 1.281 kB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3847, allocations: 0 / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3847, allocations: 4.594 kB / 0.5266 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.385, allocations: 224.2 kB / 0.5268 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.385, allocations: 0 / 0.5268 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.3852, allocations: 43.81 kB / 0.5268 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3853, allocations: 4.969 kB / 0.5269 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3853, allocations: 1.688 kB / 0.5269 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000704/0.386, allocations: 1.23 MB / 0.5281 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.386, allocations: 0 / 0.5281 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.3864, allocations: 255.2 kB / 0.5283 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.3865, allocations: 94.69 kB / 0.5284 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.3865, allocations: 6.031 kB / 0.5284 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3867, allocations: 13.86 kB / 0.5284 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.3867, allocations: 8.062 kB / 0.5284 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.3867, allocations: 2.656 kB / 0.5284 GB, free: 11.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3869, allocations: 151.2 kB / 0.5286 GB, free: 11.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3869, allocations: 0 / 0.5286 GB, free: 11.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.3872, allocations: 39.56 kB / 0.5286 GB, free: 11.68 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000903/0.3881, allocations: 0.8107 MB / 0.5294 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005431/0.3887, allocations: 155.4 kB / 0.5295 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3887, allocations: 0 / 0.5295 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.389, allocations: 82.19 kB / 0.5296 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3893, allocations: 27.48 kB / 0.5296 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.3924, allocations: 2.176 MB / 0.5318 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3927, allocations: 0.7237 MB / 0.5325 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.3928, allocations: 37.11 kB / 0.5325 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.3929, allocations: 37.83 kB / 0.5325 GB, free: 8.461 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3929, allocations: 0 / 0.5325 GB, free: 8.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4196, allocations: 4.64 MB / 0.5371 GB, free: 6.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.54, allocations: 1.844 kB / 0.5371 GB, free: 6.215 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches