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.001287/0.001287, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001163/0.001163, allocations: 179.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.424/1.424, 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.2192/0.2192, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.88 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003359/0.3533, allocations: 1.774 MB / 0.5202 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3546, allocations: 0.7937 MB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.3547, allocations: 1.312 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.355, allocations: 43.05 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.3553, allocations: 67.92 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.3556, allocations: 78.89 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3558, allocations: 144.6 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.3558, allocations: 22 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.356, allocations: 62.22 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3561, allocations: 75.34 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3561, allocations: 4.531 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.3564, allocations: 159.8 kB / 0.5216 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.406e-05/0.3565, allocations: 41.31 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.3566, allocations: 54.33 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.3569, allocations: 200.9 kB / 0.5219 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3569, allocations: 3.938 kB / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.357, allocations: 5.094 kB / 0.5219 GB, free: 1.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.357, allocations: 0 / 0.5219 GB, free: 1.117 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.0006373/0.3576, allocations: 450.8 kB / 0.5223 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3577, allocations: 10.34 kB / 0.5223 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.3577, allocations: 45.69 kB / 0.5224 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.3578, allocations: 15.67 kB / 0.5224 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.358, allocations: 203.2 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.358, allocations: 8.031 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.358, allocations: 18.64 kB / 0.5226 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.3584, allocations: 166.3 kB / 0.5228 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3584, allocations: 0 / 0.5228 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3584, allocations: 5.062 kB / 0.5228 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.3585, allocations: 11.92 kB / 0.5228 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.3589, allocations: 162 kB / 0.5229 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.3596, allocations: 498.7 kB / 0.5234 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.3601, allocations: 152.6 kB / 0.5235 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3602, allocations: 56.77 kB / 0.5236 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3603, allocations: 5.078 kB / 0.5236 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3603, allocations: 36.67 kB / 0.5236 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3603, allocations: 0 / 0.5236 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005913/0.3609, allocations: 199 kB / 0.5238 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.361, allocations: 55.91 kB / 0.5239 GB, free: 15.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3612, allocations: 205.5 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3612, allocations: 25.7 kB / 0.5241 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.3613, allocations: 115.8 kB / 0.5242 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3614, allocations: 33.92 kB / 0.5242 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.3614, allocations: 31.56 kB / 0.5243 GB, free: 15.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3616, allocations: 327.2 kB / 0.5246 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.3618, allocations: 54.56 kB / 0.5246 GB, free: 15.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.3619, allocations: 65.59 kB / 0.5247 GB, free: 15.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.3622, allocations: 134.1 kB / 0.5248 GB, free: 14.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3623, allocations: 0 / 0.5248 GB, free: 14.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003801/0.3626, allocations: 167.8 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3627, allocations: 4.719 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3627, allocations: 6 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3627, allocations: 0.9688 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.363, allocations: 49.2 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008499/0.3639, allocations: 1.218 MB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.364, allocations: 20.84 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.364, allocations: 4.344 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.0002246/0.3643, allocations: 133.6 kB / 0.5264 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3643, allocations: 18.78 kB / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.3648, allocations: 182.9 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3648, allocations: 1.25 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3648, allocations: 5.031 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3648, allocations: 1.094 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.3651, allocations: 219 kB / 0.5268 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3651, allocations: 0.8438 kB / 0.5268 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.3654, allocations: 52.27 kB / 0.5268 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3654, allocations: 3.938 kB / 0.5268 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3654, allocations: 2.391 kB / 0.5269 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008501/0.3662, allocations: 1.233 MB / 0.5281 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3663, allocations: 0 / 0.5281 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.3667, allocations: 255.8 kB / 0.5283 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/0.3668, allocations: 98.25 kB / 0.5284 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.3668, allocations: 10.12 kB / 0.5284 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.367, allocations: 5.516 kB / 0.5284 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.367, allocations: 10.73 kB / 0.5284 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.367, allocations: 3.766 kB / 0.5284 GB, free: 11.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3672, allocations: 148.3 kB / 0.5286 GB, free: 11.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3672, allocations: 0 / 0.5286 GB, free: 11.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.3675, allocations: 42.2 kB / 0.5286 GB, free: 11.69 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.0008642/0.3684, allocations: 0.8155 MB / 0.5294 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004957/0.3689, allocations: 143.5 kB / 0.5295 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3689, allocations: 0 / 0.5295 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.3692, allocations: 91.53 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.0003067/0.3695, allocations: 27.58 kB / 0.5297 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.3724, allocations: 2.173 MB / 0.5318 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.3728, allocations: 0.7309 MB / 0.5325 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3729, allocations: 32.48 kB / 0.5325 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.373, allocations: 38.92 kB / 0.5326 GB, free: 8.469 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.373, allocations: 0 / 0.5326 GB, free: 8.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.4007, allocations: 4.636 MB / 0.5371 GB, free: 6.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.18, allocations: 9.719 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