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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",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.001146/0.001146, allocations: 107.1 kB / 16.41 MB, free: 6.492 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.001284/0.001284, allocations: 192.1 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.29/1.29, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1806/0.1806, allocations: 43.53 MB / 314.1 MB, free: 460 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.001483/0.001483, allocations: 71.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09892, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002971/0.1019, allocations: 1.81 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1036, allocations: 0.9939 MB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1037, allocations: 4 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.104, allocations: 39.75 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1042, allocations: 67.66 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.1047, allocations: 123.5 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.105, allocations: 203.2 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.105, allocations: 13.55 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.1052, allocations: 91.56 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1054, allocations: 107.6 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.1054, allocations: 8 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.1057, allocations: 119.8 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.1058, allocations: 55.81 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.1059, allocations: 75.53 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.1063, allocations: 250.8 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1063, allocations: 0 / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1063, allocations: 0 / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1063, allocations: 0 / 0.4913 GB, free: 8.32 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.001074/0.1074, allocations: 0.5297 MB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1074, allocations: 15.89 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.1075, allocations: 42.73 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.1076, allocations: 20.8 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1078, allocations: 224.6 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1079, allocations: 4.609 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1079, allocations: 12.38 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.1084, allocations: 282.6 kB / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1085, allocations: 0 / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1085, allocations: 0 / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.1085, allocations: 12.23 kB / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.1091, allocations: 232.4 kB / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1103, allocations: 0.8294 MB / 0.4934 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.1106, allocations: 183.7 kB / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.1109, allocations: 102.5 kB / 0.4937 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1109, allocations: 8 kB / 0.4937 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.111, allocations: 30.56 kB / 0.4937 GB, free: 5.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.111, allocations: 0 / 0.4937 GB, free: 5.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000917/0.1119, allocations: 321.5 kB / 0.494 GB, free: 5.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.112, allocations: 106.8 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.1122, allocations: 261 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1122, allocations: 25.7 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.1123, allocations: 136 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1124, allocations: 43.58 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.1125, allocations: 37.77 kB / 0.4946 GB, free: 4.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1126, allocations: 342.7 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.1129, allocations: 87.89 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.1132, allocations: 140.8 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.1138, allocations: 225.3 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1138, allocations: 0 / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007189/0.1146, allocations: 285.2 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1146, allocations: 4 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.1146, allocations: 8 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1146, allocations: 0 / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1149, allocations: 43.95 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1149, allocations: 3.938 kB / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1151, allocations: 35.83 kB / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1151, allocations: 19.91 kB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.1153, allocations: 145.8 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.1153, allocations: 15.91 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.1158, allocations: 215.2 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1158, allocations: 4 kB / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1158, allocations: 0 / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1158, allocations: 0 / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.1162, allocations: 273.3 kB / 0.4964 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.1162, allocations: 4 kB / 0.4964 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.1164, allocations: 31.97 kB / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1164, allocations: 0 / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1165, allocations: 15.92 kB / 0.4964 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1165, allocations: 0 / 0.4964 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1165, allocations: 4 kB / 0.4964 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.1171, allocations: 477.7 kB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.1172, allocations: 101 kB / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1172, allocations: 0 / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.1175, allocations: 19.97 kB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.1175, allocations: 19.92 kB / 0.497 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1176, allocations: 7.938 kB / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1177, allocations: 192.4 kB / 0.4972 GB, free: 1.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.1177, allocations: 192 / 0.4972 GB, free: 1.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.1181, allocations: 75.75 kB / 0.4973 GB, free: 1.738 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.1192, allocations: 1.062 MB / 0.4983 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.1199, allocations: 280.8 kB / 0.4986 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1199, allocations: 320 / 0.4986 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.1202, allocations: 181 kB / 0.4988 GB, free: 164 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.1207, allocations: 54.98 kB / 0.4988 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.1244, allocations: 2.824 MB / 0.5016 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1247, allocations: 0.7475 MB / 0.5023 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1248, allocations: 45.44 kB / 0.5023 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.1249, allocations: 51.42 kB / 0.5024 GB, free: 12.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1249, allocations: 0 / 0.5024 GB, free: 12.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.1453, allocations: 5.815 MB / 0.5081 GB, free: 6.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.569, allocations: 7.922 kB / 0.5081 GB, free: 6.48 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches