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.001102/0.001102, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001073/0.001073, allocations: 194 kB / 18.12 MB, free: 5.383 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.219/1.219, allocations: 222.9 MB / 241.8 MB, free: 13.66 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.1883/0.1883, allocations: 44.17 MB / 336.1 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 58.91 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1208, allocations: 60.84 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.004012/0.1249, allocations: 1.731 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1271, allocations: 1.231 MB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.1272, allocations: 0 / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1275, allocations: 31.83 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1279, allocations: 67.77 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.1285, allocations: 155.4 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.1289, allocations: 251.2 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.129, allocations: 17.39 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1291, allocations: 51.72 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1294, allocations: 87.66 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1294, allocations: 0 / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.1298, allocations: 167.7 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1299, allocations: 43.83 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.886e-05/0.13, allocations: 63.61 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.1305, allocations: 247.4 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1306, allocations: 0 / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1306, allocations: 0 / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1306, allocations: 0 / 472.8 MB, free: 10.55 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.0009407/0.1315, allocations: 478.8 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1316, allocations: 12.03 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.1316, allocations: 38.75 kB / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.1336, allocations: 200.5 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.134, allocations: 240 kB / 473.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.134, allocations: 8.375 kB / 473.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.134, allocations: 8.359 kB / 473.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.1347, allocations: 359.8 kB / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1348, allocations: 0 / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.1348, allocations: 8 kB / 474.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.1349, allocations: 19.98 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.1356, allocations: 364.1 kB / 474.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.1374, allocations: 0.8005 MB / 475.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.138, allocations: 350.2 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.1383, allocations: 116.8 kB / 475.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.1383, allocations: 4 kB / 475.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1384, allocations: 42.5 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.1384, allocations: 0 / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001053/0.1394, allocations: 435.9 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1395, allocations: 51.41 kB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1398, allocations: 222.4 kB / 476.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.1398, allocations: 29.7 kB / 476.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1399, allocations: 120 kB / 476.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.14, allocations: 47.3 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.1401, allocations: 57.66 kB / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1403, allocations: 326.8 kB / 477 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.1406, allocations: 127.8 kB / 477.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.1409, allocations: 153.9 kB / 477.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.1415, allocations: 291.1 kB / 477.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1415, allocations: 0 / 477.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007379/0.1422, allocations: 353 kB / 477.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.1423, allocations: 8 kB / 478 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.1423, allocations: 4.094 kB / 478 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.1423, allocations: 0 / 478 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02494/0.1673, allocations: 1.463 MB / 479.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03869/0.206, allocations: 11.44 MB / 490.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.2064, allocations: 23.92 kB / 490.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.2065, allocations: 16.03 kB / 490.9 MB, free: 7.363 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.0002207/0.2067, allocations: 145.7 kB / 491 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.2068, allocations: 23.75 kB / 491.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/0.2069, allocations: 37.52 kB / 491.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2069, allocations: 0 / 491.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2069, allocations: 0 / 491.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.207, allocations: 0 / 491.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.2074, allocations: 285.4 kB / 491.4 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2074, allocations: 4 kB / 491.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02426/0.2316, allocations: 1.451 MB / 492.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.2317, allocations: 11.92 kB / 492.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.2318, allocations: 19.91 kB / 492.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03882/0.2706, allocations: 11.42 MB / 0.4925 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/0.2707, allocations: 15.86 kB / 0.4925 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.2715, allocations: 414.5 kB / 0.4929 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2717, allocations: 96.86 kB / 0.493 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.2717, allocations: 7.984 kB / 0.493 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.2721, allocations: 8 kB / 0.493 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.2723, allocations: 59.8 kB / 0.493 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.2724, allocations: 19.95 kB / 0.4931 GB, free: 8.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.2726, allocations: 172.3 kB / 0.4932 GB, free: 8.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.947e-06/0.2726, allocations: 0 / 0.4932 GB, free: 8.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008282/0.2734, allocations: 127.9 kB / 0.4933 GB, free: 8.172 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.001149/0.2746, allocations: 0.9659 MB / 0.4943 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02057/0.2952, allocations: 1.404 MB / 0.4957 GB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.2952, allocations: 4 kB / 0.4957 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0196/0.3148, allocations: 1.279 MB / 0.4969 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3153, allocations: 35.86 kB / 0.4969 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.3195, allocations: 2.755 MB / 0.4996 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3199, allocations: 0.7476 MB / 0.5004 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.32, allocations: 41.52 kB / 0.5004 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.775e-05/0.3201, allocations: 47.42 kB / 0.5005 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3202, allocations: 0 / 0.5005 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.76/4.08, allocations: 8.098 MB / 0.5084 GB, free: 48.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/4.08, allocations: 268.7 kB / 0.5086 GB, free: 48.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/6.047, allocations: 2.656 kB / 0.5086 GB, free: 48.31 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