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_evenGapOverall.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_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.001232/0.001232, allocations: 109.2 kB / 17.78 MB, free: 5.242 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.001206/0.001206, allocations: 184.2 kB / 18.71 MB, free: 4.316 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2187/0.2187, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 71.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3375, allocations: 60.81 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003171/0.3407, allocations: 2.209 MB / 0.5206 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.3434, allocations: 2.047 MB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3435, allocations: 6.406 kB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.3439, allocations: 65.86 kB / 0.5227 GB, free: 312 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.3441, allocations: 102.7 kB / 0.5228 GB, free: 248 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3453, allocations: 418.8 kB / 0.5232 GB, free: 64 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.346, allocations: 0.5025 MB / 0.5237 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3461, allocations: 61.48 kB / 0.5237 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.3464, allocations: 179.3 kB / 0.5239 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.3467, allocations: 204.6 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.3467, allocations: 14.84 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.3479, allocations: 0.645 MB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.3481, allocations: 103.5 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.3483, allocations: 197.7 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3496, allocations: 0.7927 MB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3496, allocations: 1.375 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3496, allocations: 0 / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3496, allocations: 0 / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00155/0.3512, allocations: 0.8234 MB / 0.5266 GB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3512, allocations: 9.25 kB / 0.5266 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.3514, allocations: 100.3 kB / 0.5267 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.3515, allocations: 52.3 kB / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.3519, allocations: 302 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.352, allocations: 36.91 kB / 0.5271 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.352, allocations: 55.97 kB / 0.5271 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3532, allocations: 0.6994 MB / 0.5278 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3532, allocations: 0.6875 kB / 0.5278 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.3533, allocations: 20.75 kB / 0.5278 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.3533, allocations: 24.7 kB / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009964/0.3543, allocations: 0.4935 MB / 0.5283 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.3567, allocations: 1.513 MB / 0.5298 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.3574, allocations: 318.9 kB / 0.5301 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.3578, allocations: 148.1 kB / 0.5303 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/0.3579, allocations: 25.66 kB / 0.5303 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.3579, allocations: 40.62 kB / 0.5303 GB, free: 11.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.905e-06/0.3579, allocations: 0 / 0.5303 GB, free: 11.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001501/0.3594, allocations: 0.515 MB / 0.5308 GB, free: 11.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.3595, allocations: 108.2 kB / 0.5309 GB, free: 11.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007652/0.3603, allocations: 0.5623 MB / 0.5315 GB, free: 11.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3603, allocations: 26.7 kB / 0.5315 GB, free: 11.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3606, allocations: 238.8 kB / 0.5317 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.3607, allocations: 77.62 kB / 0.5318 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3608, allocations: 74.5 kB / 0.5319 GB, free: 10.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.361, allocations: 361.8 kB / 0.5322 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.3614, allocations: 154.2 kB / 0.5324 GB, free: 10.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.3619, allocations: 246.4 kB / 0.5326 GB, free: 10.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008537/0.3628, allocations: 437.2 kB / 0.533 GB, free: 9.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3628, allocations: 1.062 kB / 0.533 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001061/0.3638, allocations: 487 kB / 0.5335 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3639, allocations: 9.75 kB / 0.5335 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.471e-05/0.364, allocations: 42.55 kB / 0.5335 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.364, allocations: 5.844 kB / 0.5335 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3642, allocations: 37.44 kB / 0.5336 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3642, allocations: 8.609 kB / 0.5336 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.3646, allocations: 67.53 kB / 0.5337 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.3647, allocations: 23.3 kB / 0.5337 GB, free: 9.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002999/0.365, allocations: 212 kB / 0.5339 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3651, allocations: 47.31 kB / 0.5339 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.3661, allocations: 472.5 kB / 0.5344 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3662, allocations: 7.719 kB / 0.5344 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3662, allocations: 1.375 kB / 0.5344 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3662, allocations: 4.969 kB / 0.5344 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.3669, allocations: 408.8 kB / 0.5348 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.806e-05/0.367, allocations: 36.06 kB / 0.5348 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.3671, allocations: 23.59 kB / 0.5348 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3672, allocations: 1.281 kB / 0.5348 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.3672, allocations: 16.42 kB / 0.5349 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.3672, allocations: 4.969 kB / 0.5349 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.3672, allocations: 8.953 kB / 0.5349 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3683, allocations: 0.6283 MB / 0.5355 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3684, allocations: 129.5 kB / 0.5356 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.3685, allocations: 6.047 kB / 0.5356 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3688, allocations: 18.77 kB / 0.5356 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.3689, allocations: 28.28 kB / 0.5357 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.3689, allocations: 14.47 kB / 0.5357 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005296/0.3695, allocations: 413 kB / 0.5361 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3695, allocations: 5.062 kB / 0.5361 GB, free: 7.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007586/0.3703, allocations: 170.3 kB / 0.5362 GB, free: 7.902 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001965/0.3722, allocations: 1.298 MB / 0.5375 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.3735, allocations: 0.6683 MB / 0.5381 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3735, allocations: 0 / 0.5381 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006874/0.3742, allocations: 489.3 kB / 0.5386 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.375, allocations: 104.5 kB / 0.5387 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/0.3834, allocations: 5.39 MB / 0.544 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.384, allocations: 0.8857 MB / 0.5448 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002465/0.3843, allocations: 79.28 kB / 0.5449 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.3845, allocations: 131.4 kB / 0.545 GB, free: 15.99 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3845, allocations: 4 kB / 0.545 GB, free: 15.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.4259, allocations: 14.07 MB / 0.5588 GB, free: 2.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/9.206, allocations: 7.422 kB / 0.5588 GB, free: 2.16 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches