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_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001387/0.001387, allocations: 183.8 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2053/0.2053, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002192, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3752, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003093/0.3784, allocations: 2.146 MB / 0.5205 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.3808, allocations: 1.768 MB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.3809, allocations: 6.281 kB / 0.5223 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3813, allocations: 72.91 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.3818, allocations: 152.7 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008902/0.3827, allocations: 334.6 kB / 0.5228 GB, free: 328 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.3832, allocations: 486.1 kB / 0.5233 GB, free: 116 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3833, allocations: 61.11 kB / 0.5233 GB, free: 84 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.3836, allocations: 182.1 kB / 0.5235 GB, free: 4 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.3839, allocations: 223.8 kB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.384, allocations: 11.75 kB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.385, allocations: 0.5507 MB / 0.5243 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.3852, allocations: 113.2 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.3854, allocations: 193.2 kB / 0.5246 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.3866, allocations: 0.7308 MB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3866, allocations: 0 / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3866, allocations: 0 / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3866, allocations: 0 / 0.5253 GB, free: 15.27 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.001361/0.388, allocations: 0.7909 MB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.388, allocations: 9.625 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.3881, allocations: 104.1 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3883, allocations: 51.98 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.3887, allocations: 312.1 kB / 0.5265 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.3888, allocations: 36.25 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.3889, allocations: 47.61 kB / 0.5266 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.3899, allocations: 0.7095 MB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3899, allocations: 7.922 kB / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.39, allocations: 20.98 kB / 0.5273 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.178e-05/0.3901, allocations: 52.88 kB / 0.5274 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.3913, allocations: 0.7409 MB / 0.5281 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.3935, allocations: 1.446 MB / 0.5295 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007838/0.3943, allocations: 456.7 kB / 0.5299 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.3946, allocations: 155.9 kB / 0.5301 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.3947, allocations: 13 kB / 0.5301 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3947, allocations: 37.27 kB / 0.5301 GB, free: 12.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.424e-06/0.3947, allocations: 0 / 0.5301 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001122/0.3959, allocations: 0.5378 MB / 0.5306 GB, free: 11.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3959, allocations: 58.25 kB / 0.5307 GB, free: 11.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.3966, allocations: 0.5336 MB / 0.5312 GB, free: 11.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.3966, allocations: 35.05 kB / 0.5313 GB, free: 11.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3968, allocations: 238.7 kB / 0.5315 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.3969, allocations: 108.5 kB / 0.5316 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.3971, allocations: 100.2 kB / 0.5317 GB, free: 11.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3973, allocations: 361.1 kB / 0.532 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.3976, allocations: 162.6 kB / 0.5322 GB, free: 10.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.3981, allocations: 295.2 kB / 0.5325 GB, free: 10.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.3989, allocations: 0.4896 MB / 0.5329 GB, free: 10.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.399, allocations: 5 kB / 0.533 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001099/0.4001, allocations: 0.5447 MB / 0.5335 GB, free: 9.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4001, allocations: 6.812 kB / 0.5335 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4001, allocations: 7.562 kB / 0.5335 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4001, allocations: 6.469 kB / 0.5335 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.4012, allocations: 218.5 kB / 0.5337 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/0.4053, allocations: 7.314 MB / 0.5409 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.4058, allocations: 65.94 kB / 0.5409 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.4059, allocations: 26.14 kB / 0.5409 GB, free: 2.539 MB / 398.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.0003972/0.4063, allocations: 232.6 kB / 0.5412 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4064, allocations: 44.03 kB / 0.5412 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.4075, allocations: 0.5372 MB / 0.5417 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4075, allocations: 3.594 kB / 0.5417 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4075, allocations: 0 / 0.5417 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4076, allocations: 13.14 kB / 0.5417 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.4082, allocations: 428.4 kB / 0.5422 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4082, allocations: 0 / 0.5422 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/0.409, allocations: 200.1 kB / 0.5423 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.4091, allocations: 5.297 kB / 0.5423 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.4091, allocations: 17.98 kB / 0.5424 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/0.413, allocations: 7.305 MB / 0.5495 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.413, allocations: 0 / 0.5495 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.4139, allocations: 0.5094 MB / 0.55 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.4141, allocations: 125.7 kB / 0.5501 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.4141, allocations: 10.41 kB / 0.5501 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.4144, allocations: 4.219 kB / 0.5501 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.4145, allocations: 33.33 kB / 0.5502 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.4145, allocations: 12.03 kB / 0.5502 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004387/0.415, allocations: 394.7 kB / 0.5506 GB, free: 9.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.415, allocations: 0 / 0.5506 GB, free: 9.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006706/0.4156, allocations: 170 kB / 0.5507 GB, free: 9.637 MB / 414.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.001378/0.417, allocations: 1.155 MB / 0.5518 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.4186, allocations: 0.5513 MB / 0.5524 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4186, allocations: 0 / 0.5524 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.4196, allocations: 344.6 kB / 0.5527 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.4201, allocations: 89.84 kB / 0.5528 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006576/0.4267, allocations: 5.3 MB / 0.558 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.4272, allocations: 0.8936 MB / 0.5588 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003559/0.4276, allocations: 152.1 kB / 0.559 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.4278, allocations: 143.4 kB / 0.5591 GB, free: 1.199 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4278, allocations: 0 / 0.5591 GB, free: 1.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.4666, allocations: 14.75 MB / 0.5735 GB, free: 2.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.43, allocations: 20.44 kB / 0.5735 GB, free: 2.711 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches