Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.001432/0.001432, allocations: 101.3 kB / 16.27 MB, free: 5.969 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.001619/0.001619, allocations: 190 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1968/0.1968, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 74.03 kB / 382.9 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09654, allocations: 57.8 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003029/0.09962, allocations: 1.675 MB / 442.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.101, allocations: 0.772 MB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.1011, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1014, allocations: 35.81 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.1017, allocations: 67.72 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1019, allocations: 59.75 kB / 443.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1022, allocations: 159.3 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.1022, allocations: 9.406 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.1023, allocations: 59.7 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1025, allocations: 79.66 kB / 443.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1025, allocations: 4 kB / 443.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.1027, allocations: 63.89 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.1028, allocations: 51.81 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.1029, allocations: 63.61 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.1031, allocations: 171.4 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1031, allocations: 3.938 kB / 443.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1031, allocations: 4 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1032, allocations: 0 / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007246/0.1039, allocations: 465.9 kB / 444.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1039, allocations: 11.89 kB / 444.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.104, allocations: 54.67 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.1046, allocations: 76.66 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1048, allocations: 212.1 kB / 444.7 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1048, allocations: 8.312 kB / 444.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1049, allocations: 8.375 kB / 444.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.1053, allocations: 260 kB / 445 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1053, allocations: 0 / 445 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.1053, allocations: 4 kB / 445 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.1054, allocations: 23.98 kB / 445 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.1058, allocations: 243.7 kB / 445.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009735/0.1068, allocations: 0.6601 MB / 445.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.1072, allocations: 218.4 kB / 446.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1073, allocations: 84.77 kB / 446.2 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1074, allocations: 7.984 kB / 446.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1074, allocations: 38.55 kB / 446.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1074, allocations: 0 / 446.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006392/0.108, allocations: 285.2 kB / 446.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.1081, allocations: 51.52 kB / 446.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1083, allocations: 226.3 kB / 446.8 MB, free: 416 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1083, allocations: 29.7 kB / 446.8 MB, free: 380 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.1083, allocations: 119.9 kB / 446.9 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1084, allocations: 47.38 kB / 447 MB, free: 208 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.1084, allocations: 45.62 kB / 447 MB, free: 156 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1086, allocations: 322.8 kB / 447.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1088, allocations: 87.84 kB / 447.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.109, allocations: 107.3 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.1095, allocations: 210.8 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1095, allocations: 0 / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005234/0.11, allocations: 253.2 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.11, allocations: 4 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1101, allocations: 0 / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1101, allocations: 4 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.1125, allocations: 271.6 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009799/0.1223, allocations: 9.245 MB / 457.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.1226, allocations: 31.84 kB / 457.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.1227, allocations: 7.984 kB / 457.6 MB, free: 4.758 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.1228, allocations: 147.7 kB / 457.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1229, allocations: 15.81 kB / 457.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005155/0.1234, allocations: 242.8 kB / 457.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1234, allocations: 4 kB / 458 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1234, allocations: 0 / 458 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1234, allocations: 0 / 458 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.1237, allocations: 241.4 kB / 458.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1237, allocations: 0 / 458.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.1253, allocations: 223.7 kB / 458.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1253, allocations: 0 / 458.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1254, allocations: 4 kB / 458.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007439/0.1328, allocations: 8.747 MB / 467.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1328, allocations: 0 / 467.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.1333, allocations: 299 kB / 467.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1334, allocations: 96.91 kB / 467.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.1335, allocations: 4 kB / 467.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1337, allocations: 15.92 kB / 467.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.1338, allocations: 19.97 kB / 467.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1338, allocations: 15.88 kB / 467.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.134, allocations: 187.1 kB / 467.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.134, allocations: 0 / 467.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004763/0.1345, allocations: 64 kB / 467.8 MB, free: 9.543 MB / 350.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007961/0.1353, allocations: 0.8215 MB / 468.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.1374, allocations: 0.6147 MB / 469.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1374, allocations: 7.938 kB / 469.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.1387, allocations: 405.3 kB / 469.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1391, allocations: 39.91 kB / 469.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.1424, allocations: 2.539 MB / 472.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1427, allocations: 0.7596 MB / 473 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000375/0.1431, allocations: 113.4 kB / 473.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.1433, allocations: 87.36 kB / 473.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1433, allocations: 0 / 473.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.1715, allocations: 10.12 MB / 483.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.175, allocations: 8.25 kB / 483.3 MB, free: 9.918 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches