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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001063/0.001063, allocations: 107 kB / 16.41 MB, free: 6.453 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.001005/0.001005, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.357/1.357, 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.2094/0.2094, allocations: 43.52 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.001591/0.001591, allocations: 71.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1092, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.0035/0.1128, allocations: 2.103 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1151, allocations: 1.27 MB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1153, allocations: 0 / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.1157, allocations: 67.59 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.1161, allocations: 103.4 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.1169, allocations: 183.3 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.1174, allocations: 442 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1176, allocations: 44.7 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1178, allocations: 167.1 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.1181, allocations: 179.1 kB / 0.4919 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.1182, allocations: 16 kB / 0.4919 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.1186, allocations: 259.5 kB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1188, allocations: 91.53 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.119, allocations: 166.9 kB / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007673/0.1198, allocations: 0.5094 MB / 0.4929 GB, free: 6.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1198, allocations: 0 / 0.4929 GB, free: 6.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1198, allocations: 0 / 0.4929 GB, free: 6.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1198, allocations: 0 / 0.4929 GB, free: 6.676 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001395/0.1212, allocations: 0.7208 MB / 0.4936 GB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1212, allocations: 11.89 kB / 0.4936 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.412e-05/0.1213, allocations: 78.72 kB / 0.4937 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.1214, allocations: 44.66 kB / 0.4937 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.1218, allocations: 299.5 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1218, allocations: 29.38 kB / 0.494 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.1219, allocations: 40.31 kB / 0.4941 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/0.1229, allocations: 0.5818 MB / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1229, allocations: 0 / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.1229, allocations: 19.98 kB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.123, allocations: 20.98 kB / 0.4947 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.1238, allocations: 431.6 kB / 0.4951 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.1258, allocations: 1.383 MB / 0.4964 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.1263, allocations: 275.6 kB / 0.4967 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.1267, allocations: 138.5 kB / 0.4968 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.1267, allocations: 8 kB / 0.4968 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1268, allocations: 34.55 kB / 0.4969 GB, free: 2.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.1268, allocations: 4 kB / 0.4969 GB, free: 2.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001149/0.1279, allocations: 461.2 kB / 0.4973 GB, free: 1.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.128, allocations: 102.8 kB / 0.4974 GB, free: 1.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.1285, allocations: 0.494 MB / 0.4979 GB, free: 1.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.1286, allocations: 33.7 kB / 0.4979 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.1288, allocations: 204.3 kB / 0.4981 GB, free: 1.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.1288, allocations: 63.53 kB / 0.4982 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1289, allocations: 53.7 kB / 0.4982 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1291, allocations: 350.8 kB / 0.4986 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.1294, allocations: 123.9 kB / 0.4987 GB, free: 448 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.1297, allocations: 169 kB / 0.4988 GB, free: 260 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.1304, allocations: 307 kB / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1304, allocations: 0 / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008476/0.1313, allocations: 389.1 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1313, allocations: 14.59 kB / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.995e-05/0.1314, allocations: 27.98 kB / 0.4995 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1314, allocations: 4 kB / 0.4995 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.1316, allocations: 27.97 kB / 0.4996 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1316, allocations: 4 kB / 0.4996 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.1319, allocations: 59.59 kB / 0.4996 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.1319, allocations: 12 kB / 0.4996 GB, free: 15.41 MB / 398.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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001881/0.1321, allocations: 193.7 kB / 0.4998 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1322, allocations: 39.7 kB / 0.4999 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007111/0.1329, allocations: 384.5 kB / 0.5002 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.1329, allocations: 4 kB / 0.5002 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.133, allocations: 0 / 0.5002 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.133, allocations: 4 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.1335, allocations: 361.3 kB / 0.5006 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-05/0.1336, allocations: 35.98 kB / 0.5006 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1337, allocations: 31.84 kB / 0.5006 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1337, allocations: 4 kB / 0.5006 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1338, allocations: 8 kB / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.1338, allocations: 7.984 kB / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1338, allocations: 0 / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.1346, allocations: 0.5754 MB / 0.5012 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1348, allocations: 132.7 kB / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.1348, allocations: 7.938 kB / 0.5014 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.1351, allocations: 15.98 kB / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.1352, allocations: 23.97 kB / 0.5014 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1352, allocations: 15.94 kB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003965/0.1356, allocations: 375 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1356, allocations: 0 / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000501/0.1362, allocations: 111.8 kB / 0.5019 GB, free: 13.01 MB / 398.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001368/0.1375, allocations: 1.187 MB / 0.503 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008406/0.1384, allocations: 0.5188 MB / 0.5035 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1384, allocations: 0 / 0.5035 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.1388, allocations: 383.1 kB / 0.5039 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/0.1395, allocations: 101.4 kB / 0.504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/0.1457, allocations: 4.724 MB / 0.5086 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1461, allocations: 0.8419 MB / 0.5094 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.1463, allocations: 67.23 kB / 0.5095 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1464, allocations: 107.4 kB / 0.5096 GB, free: 4.805 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1465, allocations: 3.938 kB / 0.5096 GB, free: 4.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.1778, allocations: 11.47 MB / 0.5208 GB, free: 9.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/7.986, allocations: 16.39 kB / 0.5208 GB, free: 9.301 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches