Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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 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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001343/0.001343, allocations: 105.7 kB / 16.41 MB, free: 6.02 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.001161/0.001162, allocations: 192.6 kB / 17.34 MB, free: 5.609 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.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2023/0.2023, allocations: 43.52 MB / 314.1 MB, free: 448 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.001482/0.001482, allocations: 67.91 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09911, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.00319/0.1023, allocations: 1.998 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.1052, allocations: 1.862 MB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1054, allocations: 0 / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1058, allocations: 67.59 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.1062, allocations: 111.5 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.1071, allocations: 350.6 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.1075, allocations: 390.1 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.1076, allocations: 44.7 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1078, allocations: 151.2 kB / 0.4923 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1081, allocations: 183.1 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.1081, allocations: 12 kB / 0.4925 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.1091, allocations: 0.5459 MB / 0.493 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1092, allocations: 103.5 kB / 0.4931 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1094, allocations: 154.9 kB / 0.4932 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009312/0.1103, allocations: 0.6307 MB / 0.4938 GB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1104, allocations: 0 / 0.4938 GB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1104, allocations: 4 kB / 0.4939 GB, free: 5.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.1104, allocations: 0 / 0.4939 GB, free: 5.645 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001261/0.1116, allocations: 0.6864 MB / 0.4945 GB, free: 4.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1117, allocations: 8.031 kB / 0.4945 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.1118, allocations: 82.7 kB / 0.4946 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1119, allocations: 48.39 kB / 0.4947 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1123, allocations: 283.5 kB / 0.4949 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1123, allocations: 25.38 kB / 0.4949 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.1124, allocations: 36.38 kB / 0.495 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/0.1132, allocations: 0.5686 MB / 0.4955 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1133, allocations: 3.938 kB / 0.4955 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.1133, allocations: 12 kB / 0.4956 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/0.1134, allocations: 44.97 kB / 0.4956 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009302/0.1143, allocations: 0.5659 MB / 0.4961 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.1161, allocations: 1.163 MB / 0.4973 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.1167, allocations: 378.2 kB / 0.4976 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.1169, allocations: 136.8 kB / 0.4978 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.117, allocations: 11.98 kB / 0.4978 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.117, allocations: 34.56 kB / 0.4978 GB, free: 1.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.117, allocations: 4 kB / 0.4978 GB, free: 1.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009473/0.118, allocations: 461.5 kB / 0.4983 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.118, allocations: 55.41 kB / 0.4983 GB, free: 0.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.1185, allocations: 449.6 kB / 0.4987 GB, free: 436 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1186, allocations: 29.7 kB / 0.4988 GB, free: 400 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1187, allocations: 192.4 kB / 0.499 GB, free: 204 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.1188, allocations: 78.83 kB / 0.499 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1189, allocations: 53.69 kB / 0.4991 GB, free: 64 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1191, allocations: 350.8 kB / 0.4994 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.1193, allocations: 119.9 kB / 0.4995 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.1195, allocations: 120 kB / 0.4996 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.12, allocations: 264.6 kB / 0.4999 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.12, allocations: 0 / 0.4999 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006754/0.1207, allocations: 344.8 kB / 0.5002 GB, free: 14.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1207, allocations: 7.938 kB / 0.5002 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1207, allocations: 0 / 0.5002 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1208, allocations: 4 kB / 0.5002 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.1215, allocations: 151.9 kB / 0.5004 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.1245, allocations: 5.52 MB / 0.5058 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.1248, allocations: 43.55 kB / 0.5058 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1248, allocations: 11.98 kB / 0.5058 GB, free: 8.926 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.125, allocations: 201.9 kB / 0.506 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.1251, allocations: 35.53 kB / 0.5061 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008203/0.1259, allocations: 468.9 kB / 0.5065 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1259, allocations: 0 / 0.5065 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.126, allocations: 0 / 0.5065 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.126, allocations: 0 / 0.5065 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.1264, allocations: 381.2 kB / 0.5069 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1264, allocations: 4 kB / 0.5069 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.1271, allocations: 155.9 kB / 0.507 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1271, allocations: 0 / 0.507 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.1272, allocations: 12 kB / 0.507 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.1297, allocations: 5.52 MB / 0.5124 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1298, allocations: 3.938 kB / 0.5124 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.1304, allocations: 442.7 kB / 0.5128 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1305, allocations: 116.7 kB / 0.513 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.1306, allocations: 4 kB / 0.513 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.1308, allocations: 12.09 kB / 0.513 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.1309, allocations: 27.89 kB / 0.513 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1309, allocations: 11.98 kB / 0.513 GB, free: 1.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003131/0.1312, allocations: 335.1 kB / 0.5133 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1312, allocations: 0 / 0.5133 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.1317, allocations: 143.8 kB / 0.5135 GB, free: 0.793 MB / 398.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.1328, allocations: 1.083 MB / 0.5145 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.134, allocations: 408 kB / 0.5149 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.134, allocations: 0 / 0.5149 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008023/0.1348, allocations: 276 kB / 0.5152 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.1354, allocations: 93.8 kB / 0.5153 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.1406, allocations: 4.362 MB / 0.5195 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.141, allocations: 0.8543 MB / 0.5204 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.1413, allocations: 87.14 kB / 0.5204 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.1414, allocations: 115.4 kB / 0.5206 GB, free: 9.398 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1414, allocations: 0 / 0.5206 GB, free: 9.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2278/0.3693, allocations: 13.14 MB / 0.5334 GB, free: 42.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.82, allocations: 9.656 kB / 0.5334 GB, free: 42.27 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches