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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_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.001203/0.001203, allocations: 105 kB / 16.4 MB, free: 6.457 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.001263/0.001263, allocations: 189 kB / 17.34 MB, free: 5.715 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2094/0.2094, allocations: 43.53 MB / 314.1 MB, free: 440 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.002006/0.002006, allocations: 65.47 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, 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_turbulent_KC): time 0.0032/0.1117, allocations: 2.013 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1132, allocations: 0.9472 MB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.1133, allocations: 0 / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1136, allocations: 63.66 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1139, allocations: 127.4 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.1142, allocations: 87.64 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.1146, allocations: 390.1 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.651e-05/0.1147, allocations: 48.64 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.1149, allocations: 155.2 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1152, allocations: 179.1 kB / 0.4913 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.1152, allocations: 8 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.1155, allocations: 155.7 kB / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1156, allocations: 95.53 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.1158, allocations: 154.9 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.1163, allocations: 442 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1164, allocations: 0 / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1164, allocations: 0 / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1164, allocations: 0 / 0.4921 GB, free: 7.395 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.001102/0.1175, allocations: 0.6547 MB / 0.4928 GB, free: 6.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1175, allocations: 12.03 kB / 0.4928 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.403e-05/0.1176, allocations: 90.69 kB / 0.4929 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.558e-05/0.1177, allocations: 44.66 kB / 0.4929 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1181, allocations: 283.6 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.1181, allocations: 25.38 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.1182, allocations: 40.36 kB / 0.4933 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/0.119, allocations: 0.5531 MB / 0.4938 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1191, allocations: 0 / 0.4938 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.1191, allocations: 12 kB / 0.4938 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-05/0.1192, allocations: 44.97 kB / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009693/0.1202, allocations: 0.5698 MB / 0.4944 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.1219, allocations: 1.187 MB / 0.4956 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.1226, allocations: 370.2 kB / 0.4959 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.1229, allocations: 148.8 kB / 0.4961 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.123, allocations: 8.031 kB / 0.4961 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.123, allocations: 34.55 kB / 0.4961 GB, free: 3.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.123, allocations: 0 / 0.4961 GB, free: 3.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.001001/0.124, allocations: 465.6 kB / 0.4965 GB, free: 2.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.124, allocations: 55.41 kB / 0.4966 GB, free: 2.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.1245, allocations: 449.6 kB / 0.497 GB, free: 2.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1246, allocations: 33.7 kB / 0.4971 GB, free: 2.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1247, allocations: 192.4 kB / 0.4972 GB, free: 1.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.1248, allocations: 75.33 kB / 0.4973 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1249, allocations: 57.69 kB / 0.4974 GB, free: 1.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1251, allocations: 346.7 kB / 0.4977 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.1254, allocations: 119.9 kB / 0.4978 GB, free: 1.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1256, allocations: 123.9 kB / 0.4979 GB, free: 1.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.1262, allocations: 268.6 kB / 0.4982 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1262, allocations: 0 / 0.4982 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006715/0.1269, allocations: 341.1 kB / 0.4985 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1269, allocations: 7.938 kB / 0.4985 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1269, allocations: 7.984 kB / 0.4985 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.1269, allocations: 0 / 0.4985 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.1277, allocations: 155.9 kB / 0.4987 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003516/0.1312, allocations: 5.517 MB / 0.5041 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.1314, allocations: 51.58 kB / 0.5041 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.1315, allocations: 16 kB / 0.5041 GB, free: 10.67 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.0002357/0.1317, allocations: 197.6 kB / 0.5043 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.1318, allocations: 35.77 kB / 0.5044 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.1327, allocations: 449.2 kB / 0.5048 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1327, allocations: 8 kB / 0.5048 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1327, allocations: 0 / 0.5048 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.1327, allocations: 3.984 kB / 0.5048 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.1332, allocations: 381.2 kB / 0.5052 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1332, allocations: 0 / 0.5052 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.1339, allocations: 151.9 kB / 0.5053 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1339, allocations: 3.938 kB / 0.5053 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.134, allocations: 15.98 kB / 0.5053 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/0.1377, allocations: 5.516 MB / 0.5107 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1377, allocations: 7.969 kB / 0.5107 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.1385, allocations: 447.2 kB / 0.5111 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.1386, allocations: 124.8 kB / 0.5113 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.1387, allocations: 0 / 0.5113 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.1389, allocations: 15.98 kB / 0.5113 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.139, allocations: 23.91 kB / 0.5113 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.139, allocations: 12 kB / 0.5113 GB, free: 3.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003846/0.1394, allocations: 335.1 kB / 0.5116 GB, free: 2.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1394, allocations: 0 / 0.5116 GB, free: 2.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.1398, allocations: 99.88 kB / 0.5117 GB, free: 2.582 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.001217/0.141, allocations: 1.016 MB / 0.5127 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.1423, allocations: 400.1 kB / 0.5131 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1423, allocations: 0 / 0.5131 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008436/0.1431, allocations: 276 kB / 0.5134 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.1436, allocations: 97.41 kB / 0.5135 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.1496, allocations: 4.365 MB / 0.5177 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.1502, allocations: 0.8504 MB / 0.5185 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002594/0.1504, allocations: 83.2 kB / 0.5186 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.1506, allocations: 115.4 kB / 0.5187 GB, free: 11.26 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1506, allocations: 0 / 0.5187 GB, free: 11.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2207/0.3713, allocations: 11.53 MB / 0.53 GB, free: 42.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.56, allocations: 12.39 kB / 0.53 GB, free: 42.58 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches