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.001011/0.001011, allocations: 110.9 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.001163/0.001163, allocations: 187.5 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.353/1.353, 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.2003/0.2003, 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.001378/0.001378, allocations: 63.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, 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_overall_KC): time 0.002841/0.1081, allocations: 1.994 MB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1104, allocations: 1.862 MB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.1105, allocations: 4 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1108, allocations: 63.66 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.1112, allocations: 123.4 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.1119, allocations: 350.6 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.1122, allocations: 386.1 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.156e-05/0.1123, allocations: 48.7 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1125, allocations: 155.2 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1127, allocations: 175.1 kB / 0.4924 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1127, allocations: 12 kB / 0.4925 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.1135, allocations: 0.5537 MB / 0.493 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.1136, allocations: 95.53 kB / 0.4931 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1137, allocations: 162.9 kB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.1145, allocations: 0.6303 MB / 0.4939 GB, free: 5.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1145, allocations: 0 / 0.4939 GB, free: 5.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1145, allocations: 0 / 0.4939 GB, free: 5.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1145, allocations: 0 / 0.4939 GB, free: 5.652 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.001004/0.1155, allocations: 0.7006 MB / 0.4945 GB, free: 4.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1156, allocations: 8.031 kB / 0.4946 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.608e-05/0.1156, allocations: 94.64 kB / 0.4946 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.1157, allocations: 40.66 kB / 0.4947 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1161, allocations: 283.6 kB / 0.495 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1161, allocations: 21.38 kB / 0.495 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.1161, allocations: 40.36 kB / 0.495 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.1169, allocations: 0.557 MB / 0.4956 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1169, allocations: 0 / 0.4956 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.117, allocations: 16 kB / 0.4956 GB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.117, allocations: 40.97 kB / 0.4956 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/0.1179, allocations: 0.5698 MB / 0.4962 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.1195, allocations: 1.184 MB / 0.4973 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.1202, allocations: 382.2 kB / 0.4977 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.1204, allocations: 132.9 kB / 0.4978 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1205, allocations: 4 kB / 0.4978 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1205, allocations: 38.56 kB / 0.4979 GB, free: 1.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.1205, allocations: 0 / 0.4979 GB, free: 1.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009355/0.1214, allocations: 465.6 kB / 0.4983 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1215, allocations: 55.41 kB / 0.4983 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.1219, allocations: 453.6 kB / 0.4988 GB, free: 420 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1219, allocations: 25.7 kB / 0.4988 GB, free: 388 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1221, allocations: 188.5 kB / 0.499 GB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.228e-05/0.1221, allocations: 83.27 kB / 0.4991 GB, free: 112 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.1222, allocations: 61.62 kB / 0.4991 GB, free: 44 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1224, allocations: 354.7 kB / 0.4995 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.1226, allocations: 115.9 kB / 0.4996 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.1228, allocations: 120 kB / 0.4997 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.1233, allocations: 260.6 kB / 0.4999 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1233, allocations: 0 / 0.4999 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005901/0.1239, allocations: 345.1 kB / 0.5003 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.124, allocations: 7.938 kB / 0.5003 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.124, allocations: 4 kB / 0.5003 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.124, allocations: 3.984 kB / 0.5003 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.1247, allocations: 155.9 kB / 0.5004 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.1273, allocations: 5.513 MB / 0.5058 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1276, allocations: 47.66 kB / 0.5059 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.1276, allocations: 15.92 kB / 0.5059 GB, free: 8.902 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.0001887/0.1278, allocations: 201.6 kB / 0.5061 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.1279, allocations: 39.95 kB / 0.5061 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008056/0.1287, allocations: 464.9 kB / 0.5065 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1287, allocations: 0 / 0.5065 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1287, allocations: 4 kB / 0.5066 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1287, allocations: 3.984 kB / 0.5066 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.1291, allocations: 369.3 kB / 0.5069 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1292, allocations: 0 / 0.5069 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.1299, allocations: 151.9 kB / 0.5071 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1299, allocations: 0 / 0.5071 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.1299, allocations: 15.98 kB / 0.5071 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.1326, allocations: 5.516 MB / 0.5125 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1326, allocations: 12.27 kB / 0.5125 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.1333, allocations: 443 kB / 0.5129 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1334, allocations: 124.8 kB / 0.513 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.1335, allocations: 4 kB / 0.513 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1337, allocations: 7.984 kB / 0.513 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.1337, allocations: 23.92 kB / 0.513 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.1338, allocations: 19.98 kB / 0.5131 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.1341, allocations: 331.1 kB / 0.5134 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1341, allocations: 4 kB / 0.5134 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004286/0.1345, allocations: 143.5 kB / 0.5135 GB, free: 0.7656 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.001112/0.1356, allocations: 1.086 MB / 0.5146 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.1368, allocations: 400.1 kB / 0.515 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1368, allocations: 0 / 0.515 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.1376, allocations: 280 kB / 0.5152 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1381, allocations: 96.45 kB / 0.5153 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.1431, allocations: 4.382 MB / 0.5196 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1435, allocations: 0.8504 MB / 0.5204 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.1438, allocations: 79.22 kB / 0.5205 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.1439, allocations: 111.4 kB / 0.5206 GB, free: 9.363 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1439, allocations: 0 / 0.5206 GB, free: 9.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2291/0.373, allocations: 12.89 MB / 0.5332 GB, free: 42.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.74, allocations: 5.594 kB / 0.5332 GB, free: 42.17 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_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_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.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_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