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.001307/0.001307, allocations: 108.9 kB / 16.41 MB, free: 6.496 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.001308/0.001309, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2139/0.2139, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 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.002181/0.002181, allocations: 71.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.106, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003323/0.1094, allocations: 1.678 MB / 0.4891 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1107, allocations: 0.772 MB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.1108, allocations: 0 / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.1111, allocations: 43.75 kB / 0.4899 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1114, allocations: 67.7 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1117, allocations: 51.83 kB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.1119, allocations: 155.3 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.112, allocations: 17.39 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1121, allocations: 59.77 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1123, allocations: 79.66 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1123, allocations: 4 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.1125, allocations: 67.83 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.1126, allocations: 47.88 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.1127, allocations: 59.55 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.113, allocations: 183.2 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.113, allocations: 4 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.113, allocations: 0 / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.113, allocations: 0 / 0.4906 GB, free: 9.004 MB / 382.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.0007295/0.1138, allocations: 462.5 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1138, allocations: 15.89 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.1139, allocations: 42.75 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005821/0.1145, allocations: 76.75 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1148, allocations: 226.6 kB / 0.4914 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1148, allocations: 16.36 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.1148, allocations: 8.375 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.1154, allocations: 259.9 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1154, allocations: 3.938 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1154, allocations: 7.984 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.1155, allocations: 19.98 kB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.116, allocations: 239.8 kB / 0.4919 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.1173, allocations: 0.6603 MB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.1177, allocations: 230.3 kB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1179, allocations: 80.81 kB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.118, allocations: 4 kB / 0.4929 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.118, allocations: 34.56 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.118, allocations: 0 / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007482/0.1188, allocations: 289.3 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1188, allocations: 51.41 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1191, allocations: 230.3 kB / 0.4935 GB, free: 5.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1191, allocations: 25.7 kB / 0.4935 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.177e-05/0.1192, allocations: 124 kB / 0.4936 GB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.1193, allocations: 43.58 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/0.1194, allocations: 41.69 kB / 0.4937 GB, free: 5.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1195, allocations: 330.8 kB / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.1197, allocations: 79.91 kB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.12, allocations: 115.1 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.1204, allocations: 203.1 kB / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1204, allocations: 0 / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000531/0.121, allocations: 249.3 kB / 0.4946 GB, free: 4.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.121, allocations: 8 kB / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.121, allocations: 0 / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.121, allocations: 3.984 kB / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/0.1234, allocations: 271.7 kB / 0.4949 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.1342, allocations: 9.242 MB / 0.5039 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.1345, allocations: 31.77 kB / 0.5039 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.1346, allocations: 11.98 kB / 0.504 GB, free: 10.24 MB / 398.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.0001785/0.1348, allocations: 149.6 kB / 0.5041 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.1348, allocations: 15.91 kB / 0.5041 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.1354, allocations: 239.7 kB / 0.5043 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1354, allocations: 7.938 kB / 0.5043 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1355, allocations: 0 / 0.5043 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1355, allocations: 4 kB / 0.5044 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.1358, allocations: 249.4 kB / 0.5046 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1358, allocations: 0 / 0.5046 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.1375, allocations: 211.7 kB / 0.5048 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1375, allocations: 112 / 0.5048 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.1375, allocations: 11.94 kB / 0.5048 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008844/0.1464, allocations: 8.748 MB / 0.5133 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1464, allocations: 4.094 kB / 0.5134 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.147, allocations: 295.3 kB / 0.5136 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.1471, allocations: 100.9 kB / 0.5137 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1471, allocations: 0 / 0.5137 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1473, allocations: 15.98 kB / 0.5137 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.1474, allocations: 27.91 kB / 0.5138 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1475, allocations: 7.922 kB / 0.5138 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1477, allocations: 187.2 kB / 0.514 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1477, allocations: 0 / 0.514 GB, free: 15.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.1481, allocations: 60 kB / 0.514 GB, free: 15 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 (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.0008166/0.1489, allocations: 0.8255 MB / 0.5148 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.1511, allocations: 0.6032 MB / 0.5154 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1511, allocations: 0 / 0.5154 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.1525, allocations: 391.3 kB / 0.5158 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1529, allocations: 35.92 kB / 0.5158 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.1565, allocations: 2.549 MB / 0.5183 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.157, allocations: 0.748 MB / 0.519 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003752/0.1574, allocations: 121.4 kB / 0.5192 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.1576, allocations: 91.36 kB / 0.5192 GB, free: 9.5 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1576, allocations: 4 kB / 0.5192 GB, free: 9.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2265/0.3841, allocations: 10.21 MB / 0.5292 GB, free: 41.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.822, allocations: 9.109 kB / 0.5292 GB, free: 41.1 MB / 414.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