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_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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001669/0.001669, allocations: 104 kB / 16.4 MB, free: 6.465 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.001744/0.001744, allocations: 192.2 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2221/0.2221, 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.001984/0.001984, allocations: 79.89 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1081, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003307/0.1115, allocations: 2.001 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.113, allocations: 0.9433 MB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.1131, allocations: 0 / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1135, allocations: 63.66 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.1139, allocations: 123.4 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.1141, allocations: 83.67 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.1146, allocations: 386.1 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.1147, allocations: 48.7 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1149, allocations: 151.2 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1152, allocations: 179.1 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.1152, allocations: 12 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.1156, allocations: 147.7 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1157, allocations: 95.52 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.1159, allocations: 158.9 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.1164, allocations: 426 kB / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1164, allocations: 0 / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1165, allocations: 0 / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1165, allocations: 0 / 0.4921 GB, free: 7.453 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.001085/0.1176, allocations: 0.6625 MB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1176, allocations: 12.03 kB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.564e-05/0.1177, allocations: 82.66 kB / 0.4928 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.1178, allocations: 48.66 kB / 0.4929 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1181, allocations: 283.6 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.1182, allocations: 29.38 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.1182, allocations: 32.38 kB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.1191, allocations: 0.5647 MB / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1191, allocations: 0 / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.1192, allocations: 15.98 kB / 0.4938 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/0.1192, allocations: 44.97 kB / 0.4938 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.1203, allocations: 0.5698 MB / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.1221, allocations: 1.184 MB / 0.4955 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.1228, allocations: 374.2 kB / 0.4959 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.1231, allocations: 140.8 kB / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.1231, allocations: 15.98 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1232, allocations: 30.56 kB / 0.4961 GB, free: 3.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.1232, allocations: 0 / 0.4961 GB, free: 3.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.001018/0.1242, allocations: 465.6 kB / 0.4965 GB, free: 2.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.1243, allocations: 55.39 kB / 0.4966 GB, free: 2.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.1248, allocations: 449.6 kB / 0.497 GB, free: 2.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1248, allocations: 37.7 kB / 0.497 GB, free: 2.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.125, allocations: 188.4 kB / 0.4972 GB, free: 2.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.1251, allocations: 79.33 kB / 0.4973 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.1252, allocations: 49.7 kB / 0.4973 GB, free: 1.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1254, allocations: 350.7 kB / 0.4977 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.1256, allocations: 119.9 kB / 0.4978 GB, free: 1.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.1259, allocations: 120 kB / 0.4979 GB, free: 1.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.1264, allocations: 268.6 kB / 0.4982 GB, free: 1.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1264, allocations: 0 / 0.4982 GB, free: 1.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006481/0.1271, allocations: 345.1 kB / 0.4985 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1271, allocations: 7.938 kB / 0.4985 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1271, allocations: 0 / 0.4985 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1272, allocations: 0 / 0.4985 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.1279, allocations: 155.9 kB / 0.4986 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/0.1314, allocations: 5.52 MB / 0.504 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.1317, allocations: 51.86 kB / 0.5041 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.1317, allocations: 15.98 kB / 0.5041 GB, free: 10.72 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.0002469/0.132, allocations: 193.6 kB / 0.5043 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.132, allocations: 39.77 kB / 0.5043 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009208/0.133, allocations: 453 kB / 0.5048 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.133, allocations: 4 kB / 0.5048 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.133, allocations: 0 / 0.5048 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.133, allocations: 0 / 0.5048 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.1335, allocations: 381.2 kB / 0.5051 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1335, allocations: 3.984 kB / 0.5051 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.1342, allocations: 159.8 kB / 0.5053 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1342, allocations: 4 kB / 0.5053 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1342, allocations: 11.94 kB / 0.5053 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.1375, allocations: 5.513 MB / 0.5107 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.1375, allocations: 15.95 kB / 0.5107 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.1383, allocations: 438.9 kB / 0.5111 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1384, allocations: 124.9 kB / 0.5112 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.1385, allocations: 11.98 kB / 0.5112 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1387, allocations: 12 kB / 0.5113 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.1387, allocations: 19.91 kB / 0.5113 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.1388, allocations: 15.98 kB / 0.5113 GB, free: 3.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003816/0.1392, allocations: 335.1 kB / 0.5116 GB, free: 2.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1392, allocations: 0 / 0.5116 GB, free: 2.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.1396, allocations: 99.88 kB / 0.5117 GB, free: 2.625 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.001156/0.1407, allocations: 1.009 MB / 0.5127 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.142, allocations: 404.1 kB / 0.5131 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.142, allocations: 0 / 0.5131 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008459/0.1428, allocations: 276.1 kB / 0.5133 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.1433, allocations: 89.8 kB / 0.5134 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.1491, allocations: 4.369 MB / 0.5177 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.1496, allocations: 0.8542 MB / 0.5185 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.1498, allocations: 87.2 kB / 0.5186 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.15, allocations: 111.4 kB / 0.5187 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.15, allocations: 0 / 0.5187 GB, free: 11.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2258/0.3758, allocations: 11.54 MB / 0.53 GB, free: 42.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.44, allocations: 6.672 kB / 0.53 GB, free: 42.98 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches