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_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001094/0.001094, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001063/0.001063, allocations: 183 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.326/1.326, 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.2106/0.2106, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3636, 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_evenGapLaminar_KC): time 0.004158/0.3678, allocations: 2.153 MB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3695, allocations: 0.9096 MB / 0.5214 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3697, allocations: 2.375 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.3701, allocations: 76.12 kB / 0.5215 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004863/0.3706, allocations: 151.9 kB / 0.5217 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.3709, allocations: 85.97 kB / 0.5217 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000609/0.3715, allocations: 489.5 kB / 0.5222 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3716, allocations: 55.75 kB / 0.5223 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.3719, allocations: 187.8 kB / 0.5224 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.3723, allocations: 222.9 kB / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.3723, allocations: 12.56 kB / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.3728, allocations: 193.1 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.373, allocations: 118.1 kB / 0.523 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.3732, allocations: 188.2 kB / 0.5231 GB, free: 396 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.3739, allocations: 0.5311 MB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3739, allocations: 1.062 kB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3739, allocations: 0 / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.374, allocations: 0 / 0.5237 GB, free: 176 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001322/0.3753, allocations: 0.77 MB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3753, allocations: 9.812 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.3755, allocations: 100.6 kB / 0.5245 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.3756, allocations: 51.2 kB / 0.5246 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.3761, allocations: 314.9 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.3761, allocations: 36.75 kB / 0.5249 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-05/0.3762, allocations: 47.92 kB / 0.525 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.3775, allocations: 0.7108 MB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3775, allocations: 5.375 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.3776, allocations: 20.95 kB / 0.5257 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.725e-05/0.3777, allocations: 54.09 kB / 0.5257 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.379, allocations: 0.7405 MB / 0.5265 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.3816, allocations: 1.439 MB / 0.5279 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009161/0.3825, allocations: 465.5 kB / 0.5283 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.3829, allocations: 157.2 kB / 0.5284 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.3829, allocations: 12.72 kB / 0.5285 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.383, allocations: 36.12 kB / 0.5285 GB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.383, allocations: 0 / 0.5285 GB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001321/0.3843, allocations: 0.543 MB / 0.529 GB, free: 13.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.3844, allocations: 54.88 kB / 0.5291 GB, free: 13.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.3851, allocations: 0.5306 MB / 0.5296 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.3851, allocations: 30.89 kB / 0.5296 GB, free: 12.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3853, allocations: 230.2 kB / 0.5298 GB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3854, allocations: 112.7 kB / 0.53 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3856, allocations: 88.59 kB / 0.53 GB, free: 12.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3857, allocations: 360.2 kB / 0.5304 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.386, allocations: 153.9 kB / 0.5305 GB, free: 11.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.3864, allocations: 254.8 kB / 0.5308 GB, free: 11.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.3871, allocations: 441.1 kB / 0.5312 GB, free: 11.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3871, allocations: 1.25 kB / 0.5312 GB, free: 11.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009562/0.3881, allocations: 0.4897 MB / 0.5317 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3881, allocations: 5.656 kB / 0.5317 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3882, allocations: 3.406 kB / 0.5317 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.3882, allocations: 5.781 kB / 0.5317 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.3892, allocations: 212.3 kB / 0.5319 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.3933, allocations: 7.32 MB / 0.539 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.3938, allocations: 60.59 kB / 0.5391 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.3938, allocations: 27.27 kB / 0.5391 GB, free: 3.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0003576/0.3942, allocations: 228 kB / 0.5393 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.3943, allocations: 43.12 kB / 0.5394 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.3953, allocations: 0.5383 MB / 0.5399 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3953, allocations: 3.406 kB / 0.5399 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3954, allocations: 3.984 kB / 0.5399 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3954, allocations: 9.172 kB / 0.5399 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.396, allocations: 432.3 kB / 0.5403 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.396, allocations: 1.125 kB / 0.5403 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.3968, allocations: 200.4 kB / 0.5405 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3969, allocations: 1 kB / 0.5405 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.3969, allocations: 17.61 kB / 0.5405 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.4009, allocations: 7.317 MB / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4009, allocations: 0 / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.4018, allocations: 0.5102 MB / 0.5482 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.402, allocations: 129.9 kB / 0.5483 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.4021, allocations: 9.562 kB / 0.5483 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.4023, allocations: 13.77 kB / 0.5483 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.4024, allocations: 19.84 kB / 0.5484 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.4024, allocations: 17.3 kB / 0.5484 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004351/0.4029, allocations: 391.6 kB / 0.5487 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.4029, allocations: 0 / 0.5487 GB, free: 11.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005591/0.4035, allocations: 137.8 kB / 0.5489 GB, free: 11.02 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.001265/0.4047, allocations: 1.095 MB / 0.5499 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.4063, allocations: 0.5172 MB / 0.5504 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4063, allocations: 2.031 kB / 0.5504 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.4073, allocations: 351.1 kB / 0.5508 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.4079, allocations: 88.67 kB / 0.5509 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/0.4144, allocations: 5.256 MB / 0.556 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.4149, allocations: 0.8933 MB / 0.5569 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003402/0.4153, allocations: 132.1 kB / 0.557 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.4155, allocations: 139.4 kB / 0.5571 GB, free: 3.312 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4155, allocations: 4 kB / 0.5571 GB, free: 3.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.4507, allocations: 13.52 MB / 0.5703 GB, free: 6.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.3, allocations: 30.23 kB / 0.5704 GB, free: 6.039 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches