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.001755/0.001755, allocations: 112.8 kB / 17.78 MB, free: 5.285 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.001923/0.001923, allocations: 180.1 kB / 18.71 MB, free: 4.359 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.397/1.397, 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.225/0.225, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3767, allocations: 60.83 MB / 0.5185 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003112/0.3798, allocations: 2.146 MB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.3824, allocations: 1.772 MB / 0.5223 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.3827, allocations: 2.281 kB / 0.5223 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.383, allocations: 69.62 kB / 0.5224 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004738/0.3835, allocations: 142.4 kB / 0.5225 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009433/0.3845, allocations: 328.5 kB / 0.5228 GB, free: 368 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000576/0.385, allocations: 486.3 kB / 0.5233 GB, free: 156 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.3851, allocations: 60.72 kB / 0.5233 GB, free: 124 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.3854, allocations: 187 kB / 0.5235 GB, free: 40 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.3857, allocations: 218.7 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.3858, allocations: 12.75 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3868, allocations: 0.5457 MB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.387, allocations: 119 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3872, allocations: 195.5 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.3884, allocations: 0.726 MB / 0.5253 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3885, allocations: 0.8906 kB / 0.5253 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3885, allocations: 1.219 kB / 0.5253 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3885, allocations: 0 / 0.5253 GB, free: 15.3 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.001499/0.39, allocations: 0.7901 MB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.3901, allocations: 10.28 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.3902, allocations: 110.3 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.3903, allocations: 51.98 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.3907, allocations: 308.1 kB / 0.5265 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.3908, allocations: 36.23 kB / 0.5265 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.629e-05/0.3909, allocations: 47.62 kB / 0.5266 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.392, allocations: 0.7059 MB / 0.5273 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.392, allocations: 0 / 0.5273 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.3921, allocations: 19.53 kB / 0.5273 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-05/0.3922, allocations: 54.11 kB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3935, allocations: 0.748 MB / 0.5281 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.3958, allocations: 1.443 MB / 0.5295 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.3967, allocations: 452.4 kB / 0.5299 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.397, allocations: 168.8 kB / 0.5301 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/0.3971, allocations: 12.77 kB / 0.5301 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3971, allocations: 39.95 kB / 0.5301 GB, free: 12.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/0.3971, allocations: 1.125 kB / 0.5301 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001281/0.3984, allocations: 0.5332 MB / 0.5306 GB, free: 12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3985, allocations: 58.09 kB / 0.5307 GB, free: 11.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.3991, allocations: 0.5296 MB / 0.5312 GB, free: 11.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.3991, allocations: 36.3 kB / 0.5312 GB, free: 11.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.3993, allocations: 246.3 kB / 0.5315 GB, free: 11.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3994, allocations: 104.4 kB / 0.5316 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.3996, allocations: 92.52 kB / 0.5317 GB, free: 11.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3998, allocations: 361 kB / 0.532 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.4001, allocations: 170.5 kB / 0.5322 GB, free: 10.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.4006, allocations: 298.5 kB / 0.5325 GB, free: 10.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/0.4015, allocations: 0.4895 MB / 0.5329 GB, free: 10.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4015, allocations: 6.312 kB / 0.5329 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001027/0.4025, allocations: 0.5354 MB / 0.5335 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4026, allocations: 6.531 kB / 0.5335 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4026, allocations: 9.828 kB / 0.5335 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4026, allocations: 9.906 kB / 0.5335 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009198/0.4035, allocations: 221.2 kB / 0.5337 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/0.4082, allocations: 7.311 MB / 0.5408 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.4087, allocations: 57.98 kB / 0.5409 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.4087, allocations: 30.11 kB / 0.5409 GB, free: 2.574 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.0003843/0.4091, allocations: 236.2 kB / 0.5412 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.4092, allocations: 44.34 kB / 0.5412 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4104, allocations: 0.5334 MB / 0.5417 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4104, allocations: 6.625 kB / 0.5417 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4104, allocations: 1.219 kB / 0.5417 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4104, allocations: 0 / 0.5417 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/0.4111, allocations: 436.8 kB / 0.5421 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4111, allocations: 0 / 0.5421 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000833/0.4119, allocations: 200.3 kB / 0.5423 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.4119, allocations: 5.172 kB / 0.5423 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.412, allocations: 14.69 kB / 0.5424 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.4165, allocations: 7.304 MB / 0.5495 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4165, allocations: 0 / 0.5495 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.4175, allocations: 0.5139 MB / 0.55 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.4178, allocations: 125.3 kB / 0.5501 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.4179, allocations: 6.281 kB / 0.5501 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.4181, allocations: 12.52 kB / 0.5501 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4182, allocations: 24.19 kB / 0.5501 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.4183, allocations: 17.92 kB / 0.5502 GB, free: 9.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005621/0.4188, allocations: 384.7 kB / 0.5505 GB, free: 9.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4188, allocations: 1.312 kB / 0.5505 GB, free: 9.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007846/0.4196, allocations: 165.7 kB / 0.5507 GB, free: 9.684 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.001719/0.4214, allocations: 1.17 MB / 0.5518 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.423, allocations: 0.55 MB / 0.5524 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.423, allocations: 3.938 kB / 0.5524 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.424, allocations: 345.5 kB / 0.5527 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.4246, allocations: 93.84 kB / 0.5528 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007378/0.432, allocations: 5.295 MB / 0.558 GB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.4326, allocations: 0.8936 MB / 0.5588 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003738/0.433, allocations: 144.2 kB / 0.559 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.4332, allocations: 139.4 kB / 0.5591 GB, free: 1.227 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4332, allocations: 3.938 kB / 0.5591 GB, free: 1.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04387/0.4771, allocations: 14.76 MB / 0.5735 GB, free: 2.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.06, allocations: 23.38 kB / 0.5735 GB, free: 2.727 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