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.001199/0.001199, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001135/0.001135, allocations: 180.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.334/1.334, 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.212/0.212, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3409, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003555/0.3445, allocations: 2.201 MB / 0.5206 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.3475, allocations: 2.046 MB / 0.5226 GB, free: 344 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.3478, allocations: 6.219 kB / 0.5226 GB, free: 340 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.3481, allocations: 66.53 kB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.3484, allocations: 115.3 kB / 0.5228 GB, free: 236 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3498, allocations: 429.5 kB / 0.5232 GB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007699/0.3506, allocations: 0.5063 MB / 0.5237 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3507, allocations: 61.27 kB / 0.5238 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.351, allocations: 178.7 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.3514, allocations: 205.5 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.3514, allocations: 13.22 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.3529, allocations: 0.6443 MB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.353, allocations: 97.17 kB / 0.5249 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.3533, allocations: 207.6 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.3548, allocations: 0.7799 MB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3549, allocations: 5.25 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3549, allocations: 0 / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3549, allocations: 0 / 0.5258 GB, free: 14.92 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.001691/0.3566, allocations: 0.8227 MB / 0.5266 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3567, allocations: 10.78 kB / 0.5266 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.3568, allocations: 98.95 kB / 0.5267 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3569, allocations: 56.33 kB / 0.5268 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.3574, allocations: 301.7 kB / 0.5271 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.3574, allocations: 37.81 kB / 0.5271 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.3575, allocations: 56.22 kB / 0.5272 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.3587, allocations: 0.6873 MB / 0.5278 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3588, allocations: 1.5 kB / 0.5278 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.3588, allocations: 24.28 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.3589, allocations: 29.08 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.3601, allocations: 0.4885 MB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.3626, allocations: 1.517 MB / 0.5298 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.3633, allocations: 315.6 kB / 0.5301 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.3636, allocations: 155 kB / 0.5303 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/0.3637, allocations: 17.42 kB / 0.5303 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3637, allocations: 33.09 kB / 0.5303 GB, free: 11.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.384e-06/0.3637, allocations: 0 / 0.5303 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.00135/0.3651, allocations: 0.515 MB / 0.5308 GB, free: 11.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.3652, allocations: 108 kB / 0.5309 GB, free: 11.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/0.366, allocations: 0.5634 MB / 0.5315 GB, free: 11.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.366, allocations: 29.95 kB / 0.5315 GB, free: 11.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.3663, allocations: 245.9 kB / 0.5318 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3664, allocations: 78.28 kB / 0.5318 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3665, allocations: 74.97 kB / 0.5319 GB, free: 10.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3667, allocations: 360.6 kB / 0.5322 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.3671, allocations: 150.7 kB / 0.5324 GB, free: 10.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.3677, allocations: 247 kB / 0.5326 GB, free: 10.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008557/0.3685, allocations: 441.1 kB / 0.533 GB, free: 9.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3685, allocations: 0.9062 kB / 0.533 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001126/0.3697, allocations: 486.7 kB / 0.5335 GB, free: 9.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.3697, allocations: 9.969 kB / 0.5335 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-05/0.3698, allocations: 43.2 kB / 0.5336 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.3699, allocations: 5.188 kB / 0.5336 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3701, allocations: 29.47 kB / 0.5336 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.3701, allocations: 12.55 kB / 0.5336 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.3705, allocations: 70.62 kB / 0.5337 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.3706, allocations: 20.28 kB / 0.5337 GB, free: 9.559 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.0003244/0.3709, allocations: 219.3 kB / 0.5339 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3711, allocations: 48.22 kB / 0.5339 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.3722, allocations: 463.7 kB / 0.5344 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.3722, allocations: 12.31 kB / 0.5344 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3722, allocations: 1.062 kB / 0.5344 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.3722, allocations: 9.375 kB / 0.5344 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.373, allocations: 400.7 kB / 0.5348 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-05/0.373, allocations: 39.64 kB / 0.5348 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3732, allocations: 23.59 kB / 0.5349 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.3732, allocations: 6.438 kB / 0.5349 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.3733, allocations: 15.89 kB / 0.5349 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3733, allocations: 1.062 kB / 0.5349 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3733, allocations: 5.062 kB / 0.5349 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.3745, allocations: 0.6233 MB / 0.5355 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.3747, allocations: 131.1 kB / 0.5356 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.3747, allocations: 5.062 kB / 0.5356 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.375, allocations: 23.58 kB / 0.5356 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.3752, allocations: 27.81 kB / 0.5357 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.3752, allocations: 14.66 kB / 0.5357 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005335/0.3757, allocations: 412.9 kB / 0.5361 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3758, allocations: 0 / 0.5361 GB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001046/0.3768, allocations: 172.1 kB / 0.5362 GB, free: 7.891 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.001689/0.3785, allocations: 1.302 MB / 0.5375 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.3796, allocations: 0.6653 MB / 0.5382 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3796, allocations: 0 / 0.5382 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.3803, allocations: 493.1 kB / 0.5386 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.3811, allocations: 99.2 kB / 0.5387 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008059/0.3891, allocations: 5.392 MB / 0.544 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.3896, allocations: 0.8818 MB / 0.5449 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.3899, allocations: 95.23 kB / 0.5449 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.3901, allocations: 131.4 kB / 0.5451 GB, free: 0 / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3901, allocations: 0 / 0.5451 GB, free: 0 / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.4264, allocations: 14.06 MB / 0.5588 GB, free: 2.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.73, allocations: 9.906 kB / 0.5588 GB, free: 2.168 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