Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3481, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003332/0.3514, allocations: 2.16 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.3541, allocations: 1.843 MB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3542, allocations: 6.688 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.3546, allocations: 72.08 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.3551, allocations: 152.2 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3563, allocations: 331.7 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006661/0.3569, allocations: 495.7 kB / 0.5355 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3571, allocations: 59.7 kB / 0.5355 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.3574, allocations: 189.3 kB / 0.5357 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.3577, allocations: 217.8 kB / 0.5359 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.3578, allocations: 13.06 kB / 0.5359 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.3588, allocations: 0.5658 MB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.359, allocations: 126.3 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3592, allocations: 181.7 kB / 0.5368 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009183/0.3601, allocations: 0.7389 MB / 0.5375 GB, free: 8.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3601, allocations: 0 / 0.5375 GB, free: 8.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3601, allocations: 0 / 0.5375 GB, free: 8.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.3601, allocations: 3.984 kB / 0.5375 GB, free: 8.344 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001292/0.3614, allocations: 0.7908 MB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3615, allocations: 8.219 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.3616, allocations: 102.5 kB / 0.5384 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3617, allocations: 55.41 kB / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.3622, allocations: 317 kB / 0.5387 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.3622, allocations: 36.53 kB / 0.5388 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/0.3623, allocations: 47.58 kB / 0.5388 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3634, allocations: 0.7095 MB / 0.5395 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3635, allocations: 3.938 kB / 0.5395 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.3635, allocations: 20.39 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.3636, allocations: 53.38 kB / 0.5396 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3648, allocations: 0.7487 MB / 0.5403 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.367, allocations: 1.442 MB / 0.5417 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/0.3677, allocations: 457 kB / 0.5421 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.368, allocations: 160.5 kB / 0.5423 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.3681, allocations: 12.69 kB / 0.5423 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3681, allocations: 37.02 kB / 0.5423 GB, free: 5.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/0.3681, allocations: 0 / 0.5423 GB, free: 5.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001107/0.3693, allocations: 0.5403 MB / 0.5429 GB, free: 4.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3693, allocations: 55.41 kB / 0.5429 GB, free: 4.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.3698, allocations: 0.5368 MB / 0.5434 GB, free: 4.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3699, allocations: 29.7 kB / 0.5435 GB, free: 4.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3701, allocations: 240.5 kB / 0.5437 GB, free: 4.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.3701, allocations: 111 kB / 0.5438 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.3703, allocations: 90.05 kB / 0.5439 GB, free: 3.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3704, allocations: 362.8 kB / 0.5442 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.3707, allocations: 168.6 kB / 0.5444 GB, free: 3.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.3711, allocations: 293.5 kB / 0.5447 GB, free: 2.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.3718, allocations: 496.6 kB / 0.5452 GB, free: 2.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3718, allocations: 0 / 0.5452 GB, free: 2.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008891/0.3727, allocations: 0.5397 MB / 0.5457 GB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3728, allocations: 4 kB / 0.5457 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3728, allocations: 4 kB / 0.5457 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3728, allocations: 8.562 kB / 0.5457 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009188/0.3737, allocations: 227.8 kB / 0.5459 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/0.3771, allocations: 7.31 MB / 0.5531 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.3776, allocations: 67.5 kB / 0.5531 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.3776, allocations: 32.27 kB / 0.5532 GB, free: 9.973 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.3779, allocations: 225.5 kB / 0.5534 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.378, allocations: 43.83 kB / 0.5534 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.379, allocations: 0.5485 MB / 0.5539 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.379, allocations: 4 kB / 0.5539 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3791, allocations: 7.938 kB / 0.554 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3791, allocations: 7.984 kB / 0.554 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.3796, allocations: 417.3 kB / 0.5544 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3796, allocations: 0 / 0.5544 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.3804, allocations: 207.8 kB / 0.5546 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3804, allocations: 0 / 0.5546 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.3805, allocations: 15.92 kB / 0.5546 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/0.3837, allocations: 7.31 MB / 0.5617 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3838, allocations: 0 / 0.5617 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.3845, allocations: 0.5158 MB / 0.5622 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3846, allocations: 128.7 kB / 0.5623 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.3847, allocations: 4 kB / 0.5623 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.3849, allocations: 8 kB / 0.5624 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.385, allocations: 27.95 kB / 0.5624 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.3851, allocations: 12 kB / 0.5624 GB, free: 128 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004053/0.3855, allocations: 391.1 kB / 0.5628 GB, free: 15.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3855, allocations: 0 / 0.5628 GB, free: 15.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000608/0.3861, allocations: 175.6 kB / 0.5629 GB, free: 15.57 MB / 430.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.3874, allocations: 1.171 MB / 0.5641 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.3888, allocations: 0.551 MB / 0.5646 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3888, allocations: 0 / 0.5646 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.3898, allocations: 348.3 kB / 0.5649 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.3903, allocations: 89.84 kB / 0.565 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/0.3965, allocations: 5.302 MB / 0.5702 GB, free: 7.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.3969, allocations: 0.8936 MB / 0.5711 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.3973, allocations: 148.2 kB / 0.5712 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.3975, allocations: 143.4 kB / 0.5714 GB, free: 6.688 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3975, allocations: 0 / 0.5714 GB, free: 6.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/0.4362, allocations: 14.91 MB / 0.5859 GB, free: 8.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.51, allocations: 8.438 kB / 0.5859 GB, free: 8.031 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches