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_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.001479/0.001479, allocations: 118.4 kB / 17.79 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.001757/0.001757, allocations: 179 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2221/0.2221, allocations: 44.2 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3712, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003097/0.3744, allocations: 1.944 MB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.376, allocations: 1.133 MB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.3761, allocations: 1.25 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.3764, allocations: 66.95 kB / 0.5215 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.3767, allocations: 114.6 kB / 0.5216 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3772, allocations: 154.2 kB / 0.5218 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005045/0.3777, allocations: 476.6 kB / 0.5222 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.3778, allocations: 55.72 kB / 0.5223 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.378, allocations: 166.6 kB / 0.5224 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.3782, allocations: 193.6 kB / 0.5226 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.3782, allocations: 10.69 kB / 0.5226 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.3787, allocations: 269.2 kB / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3788, allocations: 101.2 kB / 0.523 GB, free: 496 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.379, allocations: 183 kB / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.3797, allocations: 0.5688 MB / 0.5237 GB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3797, allocations: 0 / 0.5237 GB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3797, allocations: 1.094 kB / 0.5237 GB, free: 152 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3797, allocations: 0 / 0.5237 GB, free: 152 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00102/0.3807, allocations: 0.7325 MB / 0.5244 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3808, allocations: 9.094 kB / 0.5245 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.3809, allocations: 104.5 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.381, allocations: 48.5 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.3814, allocations: 296.6 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3815, allocations: 42.22 kB / 0.5249 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.3816, allocations: 53.02 kB / 0.525 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3826, allocations: 0.633 MB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3826, allocations: 0 / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.3827, allocations: 20.12 kB / 0.5256 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.3827, allocations: 34.36 kB / 0.5256 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.3835, allocations: 0.5029 MB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.3859, allocations: 1.427 MB / 0.5275 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.3866, allocations: 438.5 kB / 0.5279 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.3868, allocations: 140.6 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.3869, allocations: 14.08 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3869, allocations: 40.06 kB / 0.5281 GB, free: 13.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.3869, allocations: 1.625 kB / 0.5281 GB, free: 13.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009403/0.3879, allocations: 0.5019 MB / 0.5286 GB, free: 13.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.3879, allocations: 54.47 kB / 0.5287 GB, free: 13.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.3886, allocations: 0.5475 MB / 0.5292 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.3886, allocations: 27.89 kB / 0.5292 GB, free: 13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.3888, allocations: 227.7 kB / 0.5295 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.3889, allocations: 86.62 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.3891, allocations: 94.97 kB / 0.5296 GB, free: 12.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3892, allocations: 371.1 kB / 0.53 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.3895, allocations: 153.4 kB / 0.5301 GB, free: 12.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.3899, allocations: 258 kB / 0.5304 GB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/0.3935, allocations: 1.051 MB / 0.5314 GB, free: 11.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3936, allocations: 1.031 kB / 0.5314 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008321/0.3944, allocations: 0.5016 MB / 0.5319 GB, free: 11.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3944, allocations: 10.52 kB / 0.5319 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-05/0.3945, allocations: 41.91 kB / 0.5319 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3946, allocations: 17.42 kB / 0.532 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3948, allocations: 35.58 kB / 0.532 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.3948, allocations: 5.5 kB / 0.532 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3951, allocations: 63.44 kB / 0.5321 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.3952, allocations: 22.06 kB / 0.5321 GB, free: 11.26 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0003487/0.3955, allocations: 227.8 kB / 0.5323 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/0.3956, allocations: 42.59 kB / 0.5323 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/0.3965, allocations: 0.5309 MB / 0.5329 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3966, allocations: 8.391 kB / 0.5329 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3966, allocations: 1.062 kB / 0.5329 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3966, allocations: 0 / 0.5329 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.3972, allocations: 430.8 kB / 0.5333 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.719e-05/0.3972, allocations: 39.3 kB / 0.5333 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.3974, allocations: 30.64 kB / 0.5333 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3974, allocations: 5.062 kB / 0.5333 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.3975, allocations: 16.47 kB / 0.5334 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3975, allocations: 5.031 kB / 0.5334 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3975, allocations: 0 / 0.5334 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3985, allocations: 0.7087 MB / 0.5341 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3987, allocations: 131 kB / 0.5342 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.3987, allocations: 9.125 kB / 0.5342 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3989, allocations: 7.562 kB / 0.5342 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.399, allocations: 26 kB / 0.5342 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.399, allocations: 15.19 kB / 0.5342 GB, free: 9.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004176/0.3995, allocations: 401.8 kB / 0.5346 GB, free: 9.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3995, allocations: 0 / 0.5346 GB, free: 9.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005285/0.4, allocations: 150.2 kB / 0.5348 GB, free: 9.629 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.00143/0.4014, allocations: 1.318 MB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007833/0.4022, allocations: 0.6695 MB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4022, allocations: 128 / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.4027, allocations: 494.7 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.4032, allocations: 87.34 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/0.4094, allocations: 5.327 MB / 0.5425 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.4099, allocations: 0.8818 MB / 0.5433 GB, free: 1.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.4101, allocations: 124.1 kB / 0.5434 GB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.4103, allocations: 139.3 kB / 0.5436 GB, free: 1.574 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4103, allocations: 0 / 0.5436 GB, free: 1.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.4428, allocations: 12.81 MB / 0.5561 GB, free: 4.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/8.938, allocations: 22.8 kB / 0.5561 GB, free: 4.98 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches