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_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 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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001209/0.001209, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00125/0.00125, allocations: 192 kB / 18.55 MB, free: 4.566 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.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2058/0.2058, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 62.14 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09441, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002887/0.09734, allocations: 1.678 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.09841, allocations: 0.7245 MB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.09849, allocations: 3.938 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.09872, allocations: 43.8 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.09902, allocations: 67.72 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.09923, allocations: 51.77 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.09945, allocations: 155.3 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.09951, allocations: 17.39 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.891e-05/0.0996, allocations: 59.77 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.09974, allocations: 79.67 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.09977, allocations: 4 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.09993, allocations: 67.88 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.1, allocations: 55.75 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.1001, allocations: 51.67 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1003, allocations: 179.6 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1003, allocations: 4 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.051e-06/0.1003, allocations: 0 / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1004, allocations: 0 / 472.6 MB, free: 11 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.0005702/0.1009, allocations: 462.8 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.101, allocations: 8.031 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.101, allocations: 42.73 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000511/0.1015, allocations: 72.67 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1018, allocations: 224 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1018, allocations: 8.375 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1018, allocations: 8.375 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.1022, allocations: 260 kB / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1022, allocations: 0 / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1023, allocations: 8 kB / 473.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.1023, allocations: 15.98 kB / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.1028, allocations: 243.7 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1039, allocations: 0.6678 MB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1042, allocations: 229.7 kB / 474.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.1044, allocations: 80.78 kB / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1044, allocations: 8 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1045, allocations: 34.5 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1045, allocations: 0 / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006291/0.1051, allocations: 281.2 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.1052, allocations: 55.39 kB / 475.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1053, allocations: 230.2 kB / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1054, allocations: 29.7 kB / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.1054, allocations: 123.8 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.1055, allocations: 47.28 kB / 475.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.1055, allocations: 41.69 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.1056, allocations: 330.8 kB / 476.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1058, allocations: 79.91 kB / 476.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.106, allocations: 118.2 kB / 476.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.1064, allocations: 211.2 kB / 476.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1064, allocations: 3.938 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004653/0.1069, allocations: 251.5 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1069, allocations: 4 kB / 476.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1069, allocations: 3.984 kB / 476.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1069, allocations: 4 kB / 476.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.1093, allocations: 267.7 kB / 477 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008295/0.1176, allocations: 9.245 MB / 486.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.1178, allocations: 27.86 kB / 486.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1178, allocations: 7.984 kB / 486.3 MB, free: 12.24 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.0001122/0.1179, allocations: 145.7 kB / 486.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.118, allocations: 15.81 kB / 486.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.1184, allocations: 243 kB / 486.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1185, allocations: 7.922 kB / 486.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1185, allocations: 0 / 486.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1185, allocations: 4 kB / 486.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.1187, allocations: 245.4 kB / 486.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1187, allocations: 0 / 486.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.1203, allocations: 215.7 kB / 487.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1203, allocations: 7.984 kB / 487.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1203, allocations: 3.984 kB / 487.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006487/0.1268, allocations: 8.736 MB / 495.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1268, allocations: 0 / 495.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.1272, allocations: 283.2 kB / 496.1 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.1273, allocations: 96.86 kB / 496.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1273, allocations: 12 kB / 496.2 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1275, allocations: 7.984 kB / 496.2 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.1276, allocations: 35.94 kB / 496.3 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1276, allocations: 4 kB / 496.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1278, allocations: 195.1 kB / 496.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1278, allocations: 0 / 496.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.1282, allocations: 63.91 kB / 496.5 MB, free: 1.027 MB / 366.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.0006468/0.1288, allocations: 0.8326 MB / 497.4 MB, free: 172 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.1307, allocations: 0.6093 MB / 498 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1307, allocations: 4 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.132, allocations: 398.5 kB / 498.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1323, allocations: 35.97 kB / 498.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.1351, allocations: 2.535 MB / 0.4892 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1354, allocations: 0.7518 MB / 0.4899 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000334/0.1357, allocations: 113.4 kB / 0.49 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.1359, allocations: 99.3 kB / 0.4901 GB, free: 11.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1359, allocations: 0 / 0.4901 GB, free: 11.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/0.2562, allocations: 10.12 MB / 0.5 GB, free: 1.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.938/9.194, allocations: 11.92 kB / 0.5 GB, free: 1.555 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches