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.001126/0.001126, allocations: 117.2 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.001112/0.001112, allocations: 184.2 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.4/1.4, 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.2276/0.2276, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4059, 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_KC): time 0.003751/0.4097, allocations: 2.149 MB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.4124, allocations: 1.777 MB / 0.5223 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.4125, allocations: 2.281 kB / 0.5223 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.4129, allocations: 71.55 kB / 0.5224 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.4133, allocations: 152.5 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.4142, allocations: 324 kB / 0.5228 GB, free: 332 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.4148, allocations: 490 kB / 0.5233 GB, free: 116 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.415, allocations: 61.47 kB / 0.5233 GB, free: 84 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.4152, allocations: 193.5 kB / 0.5235 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.4156, allocations: 215.8 kB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.4157, allocations: 13.81 kB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.4169, allocations: 0.5494 MB / 0.5243 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4171, allocations: 113.8 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.4174, allocations: 191.9 kB / 0.5246 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.4188, allocations: 0.7301 MB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4188, allocations: 0 / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.427e-05/0.4188, allocations: 2.172 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4188, allocations: 0 / 0.5253 GB, free: 15.26 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.001504/0.4203, allocations: 0.7938 MB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4204, allocations: 9.625 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.4205, allocations: 100.7 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.4207, allocations: 59.98 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.4211, allocations: 301.8 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.4212, allocations: 41.39 kB / 0.5265 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.4213, allocations: 42.19 kB / 0.5266 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4225, allocations: 0.7144 MB / 0.5273 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4225, allocations: 0 / 0.5273 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.4225, allocations: 16.19 kB / 0.5273 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.003e-05/0.4226, allocations: 53.75 kB / 0.5274 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.424, allocations: 0.7433 MB / 0.5281 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.4264, allocations: 1.447 MB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/0.4273, allocations: 452.5 kB / 0.5299 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.4276, allocations: 161.2 kB / 0.5301 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.4277, allocations: 12.38 kB / 0.5301 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4277, allocations: 32.27 kB / 0.5301 GB, free: 12.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.684e-06/0.4277, allocations: 3.938 kB / 0.5301 GB, free: 12.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.0012/0.4289, allocations: 0.5387 MB / 0.5307 GB, free: 11.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.429, allocations: 58.06 kB / 0.5307 GB, free: 11.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.4296, allocations: 0.5328 MB / 0.5312 GB, free: 11.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.4297, allocations: 31.77 kB / 0.5313 GB, free: 11.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.4299, allocations: 247 kB / 0.5315 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.43, allocations: 104 kB / 0.5316 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.4302, allocations: 97.03 kB / 0.5317 GB, free: 11.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.4304, allocations: 356.5 kB / 0.532 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.4308, allocations: 163.2 kB / 0.5322 GB, free: 10.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.4312, allocations: 302.5 kB / 0.5325 GB, free: 10.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/0.4321, allocations: 0.4971 MB / 0.533 GB, free: 10.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4321, allocations: 1.438 kB / 0.533 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001035/0.4331, allocations: 0.5371 MB / 0.5335 GB, free: 9.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4332, allocations: 5.75 kB / 0.5335 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4332, allocations: 5.188 kB / 0.5335 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.4332, allocations: 11.11 kB / 0.5335 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009649/0.4342, allocations: 221.5 kB / 0.5337 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.4386, allocations: 7.313 MB / 0.5409 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.4391, allocations: 70.75 kB / 0.5409 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.4391, allocations: 25.61 kB / 0.5409 GB, free: 2.52 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.0003723/0.4395, allocations: 229.1 kB / 0.5412 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.4396, allocations: 47.81 kB / 0.5412 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.4407, allocations: 0.5381 MB / 0.5417 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4408, allocations: 2.406 kB / 0.5417 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4408, allocations: 4.906 kB / 0.5417 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.4408, allocations: 3.984 kB / 0.5417 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.4414, allocations: 428.6 kB / 0.5422 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4414, allocations: 0 / 0.5422 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/0.4422, allocations: 204.7 kB / 0.5423 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4422, allocations: 1.344 kB / 0.5424 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.4423, allocations: 18.61 kB / 0.5424 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.4463, allocations: 7.296 MB / 0.5495 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4463, allocations: 9.109 kB / 0.5495 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/0.4472, allocations: 0.5051 MB / 0.55 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.4474, allocations: 134.4 kB / 0.5501 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.4474, allocations: 5.094 kB / 0.5501 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.4477, allocations: 9.562 kB / 0.5501 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.4478, allocations: 27.36 kB / 0.5502 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.4478, allocations: 9.719 kB / 0.5502 GB, free: 9.887 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004743/0.4483, allocations: 393.2 kB / 0.5505 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4483, allocations: 0 / 0.5505 GB, free: 9.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007052/0.449, allocations: 170.8 kB / 0.5507 GB, free: 9.625 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.001479/0.4505, allocations: 1.163 MB / 0.5518 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.452, allocations: 0.5503 MB / 0.5524 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4521, allocations: 0 / 0.5524 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4531, allocations: 349 kB / 0.5527 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.4536, allocations: 81.86 kB / 0.5528 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007578/0.4612, allocations: 5.311 MB / 0.558 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.4618, allocations: 0.8936 MB / 0.5589 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003893/0.4622, allocations: 140.2 kB / 0.559 GB, free: 1.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4624, allocations: 143.4 kB / 0.5591 GB, free: 1.176 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4625, allocations: 0 / 0.5591 GB, free: 1.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.4983, allocations: 14.75 MB / 0.5735 GB, free: 2.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.47, allocations: 16.77 kB / 0.5735 GB, free: 2.684 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