Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_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.001362/0.001362, allocations: 108.8 kB / 17.33 MB, free: 5.988 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.001499/0.001499, allocations: 193.3 kB / 18.25 MB, free: 5.078 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.323/1.323, allocations: 222.9 MB / 241.9 MB, free: 15.35 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.2191/0.2191, allocations: 44.18 MB / 336.2 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.72 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09364, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.003367/0.09706, allocations: 1.742 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.09894, allocations: 1.231 MB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.09905, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.09936, allocations: 35.83 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.09971, allocations: 59.78 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.1003, allocations: 159.4 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1005, allocations: 151.3 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.1006, allocations: 13.41 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.305e-05/0.1007, allocations: 63.7 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1008, allocations: 87.64 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1008, allocations: 8 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.1012, allocations: 163.7 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.1013, allocations: 47.81 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.1013, allocations: 63.61 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1017, allocations: 247.5 kB / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1017, allocations: 0 / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1017, allocations: 0 / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1017, allocations: 0 / 472.9 MB, free: 10.51 MB / 350.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.0006218/0.1023, allocations: 478.7 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1024, allocations: 8.031 kB / 473.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.1024, allocations: 46.73 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.1044, allocations: 204.4 kB / 473.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1046, allocations: 236 kB / 473.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1047, allocations: 4.375 kB / 473.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.1047, allocations: 12.36 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.1053, allocations: 355.8 kB / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1053, allocations: 4 kB / 474.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.1053, allocations: 4 kB / 474.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.1054, allocations: 15.98 kB / 474.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/0.106, allocations: 376.1 kB / 474.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.1076, allocations: 0.8005 MB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.1082, allocations: 349.9 kB / 475.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.1085, allocations: 124.8 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1085, allocations: 3.984 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1086, allocations: 34.5 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1086, allocations: 0 / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009364/0.1095, allocations: 429 kB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.1096, allocations: 51.41 kB / 476.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1098, allocations: 226.4 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.1098, allocations: 25.81 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.1099, allocations: 127.8 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.11, allocations: 39.36 kB / 476.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1101, allocations: 57.64 kB / 476.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1102, allocations: 334.8 kB / 477.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.1105, allocations: 123.8 kB / 477.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.1108, allocations: 155.2 kB / 477.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.1113, allocations: 287.1 kB / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1113, allocations: 0 / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006798/0.112, allocations: 353 kB / 478.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.112, allocations: 6.344 kB / 478.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.112, allocations: 0 / 478.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1121, allocations: 7.984 kB / 478.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02907/0.1411, allocations: 1.455 MB / 479.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04633/0.1875, allocations: 12.35 MB / 491.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.1881, allocations: 23.78 kB / 491.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.1882, allocations: 15.95 kB / 491.9 MB, free: 6.379 MB / 366.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.0002975/0.1885, allocations: 141.8 kB / 492 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.1886, allocations: 15.81 kB / 492.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.1887, allocations: 33.59 kB / 492.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1887, allocations: 0 / 492.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1887, allocations: 4 kB / 492.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.1887, allocations: 3.984 kB / 492.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1892, allocations: 289.4 kB / 492.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1892, allocations: 3.938 kB / 492.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02724/0.2165, allocations: 1.459 MB / 493.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.2165, allocations: 0 / 493.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.2166, allocations: 20.02 kB / 493.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04217/0.2588, allocations: 12.31 MB / 0.4943 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2588, allocations: 0 / 0.4943 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000778/0.2596, allocations: 425.7 kB / 0.4947 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.2597, allocations: 96.86 kB / 0.4948 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.2597, allocations: 0 / 0.4948 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.2601, allocations: 19.98 kB / 0.4948 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.2603, allocations: 55.86 kB / 0.4949 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.2604, allocations: 23.91 kB / 0.4949 GB, free: 6.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.2605, allocations: 171.1 kB / 0.4951 GB, free: 6.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2605, allocations: 3.938 kB / 0.4951 GB, free: 6.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000722/0.2613, allocations: 120 kB / 0.4952 GB, free: 6.266 MB / 382.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.001101/0.2624, allocations: 0.9736 MB / 0.4961 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02245/0.2848, allocations: 1.424 MB / 0.4975 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.2849, allocations: 8 kB / 0.4975 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02167/0.3066, allocations: 1.273 MB / 0.4988 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.307, allocations: 37.55 kB / 0.4988 GB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.188/0.495, allocations: 2.74 MB / 0.5015 GB, free: 48.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.4953, allocations: 0.7393 MB / 0.5022 GB, free: 47.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.4955, allocations: 48.55 kB / 0.5023 GB, free: 47.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4956, allocations: 52.52 kB / 0.5023 GB, free: 47.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4956, allocations: 2.031 kB / 0.5023 GB, free: 47.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.5211, allocations: 8.331 MB / 0.5104 GB, free: 46.88 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.5214, allocations: 269.6 kB / 0.5107 GB, free: 46.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.703, allocations: 1.312 kB / 0.5107 GB, free: 46.52 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches