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.001379/0.001379, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001251/0.001252, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.391/1.391, 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.2243/0.2243, allocations: 43.54 MB / 314.1 MB, free: 444 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.001468/0.001468, allocations: 72.45 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, 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_overall_KC): time 0.003367/0.1074, allocations: 2.002 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.1101, allocations: 1.858 MB / 0.4912 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.1103, allocations: 7.938 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1106, allocations: 63.66 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.111, allocations: 115.4 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/0.1119, allocations: 342.6 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.1124, allocations: 390.1 kB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.1125, allocations: 44.7 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1128, allocations: 155.2 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.1131, allocations: 183.1 kB / 0.4924 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.1131, allocations: 8 kB / 0.4925 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009051/0.1141, allocations: 0.5538 MB / 0.493 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1142, allocations: 99.53 kB / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.1144, allocations: 154.9 kB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009305/0.1153, allocations: 0.6269 MB / 0.4938 GB, free: 5.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1154, allocations: 4 kB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1154, allocations: 3.938 kB / 0.4939 GB, free: 5.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.1154, allocations: 0 / 0.4939 GB, free: 5.648 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.001092/0.1165, allocations: 0.6902 MB / 0.4945 GB, free: 4.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1165, allocations: 8.031 kB / 0.4945 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.518e-05/0.1166, allocations: 90.64 kB / 0.4946 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.1167, allocations: 36.47 kB / 0.4947 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.1171, allocations: 283.5 kB / 0.4949 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1171, allocations: 33.31 kB / 0.495 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.1172, allocations: 32.38 kB / 0.495 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.118, allocations: 0.557 MB / 0.4955 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1181, allocations: 0 / 0.4955 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.1181, allocations: 15.98 kB / 0.4955 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.1182, allocations: 44.97 kB / 0.4956 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009604/0.1191, allocations: 0.5659 MB / 0.4961 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.121, allocations: 1.175 MB / 0.4973 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.1216, allocations: 370.2 kB / 0.4976 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.1219, allocations: 136.9 kB / 0.4978 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1219, allocations: 11.98 kB / 0.4978 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.1219, allocations: 30.56 kB / 0.4978 GB, free: 1.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1219, allocations: 0 / 0.4978 GB, free: 1.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009598/0.1229, allocations: 465.5 kB / 0.4983 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.123, allocations: 55.41 kB / 0.4983 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.1234, allocations: 453.6 kB / 0.4987 GB, free: 444 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.1235, allocations: 33.7 kB / 0.4988 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1236, allocations: 180.4 kB / 0.4989 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.1236, allocations: 78.86 kB / 0.499 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.1237, allocations: 53.69 kB / 0.4991 GB, free: 80 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1239, allocations: 354.7 kB / 0.4994 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.1241, allocations: 115.9 kB / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.1244, allocations: 120 kB / 0.4996 GB, free: 15.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.1249, allocations: 264.5 kB / 0.4999 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1249, allocations: 0 / 0.4999 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006218/0.1256, allocations: 344.9 kB / 0.5002 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1256, allocations: 11.94 kB / 0.5002 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1256, allocations: 0 / 0.5002 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1256, allocations: 0 / 0.5002 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007236/0.1263, allocations: 159.8 kB / 0.5004 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.1292, allocations: 5.516 MB / 0.5058 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.1294, allocations: 39.56 kB / 0.5058 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.1295, allocations: 15.92 kB / 0.5058 GB, free: 8.938 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.0002005/0.1297, allocations: 201.6 kB / 0.506 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.1297, allocations: 39.72 kB / 0.5061 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000844/0.1306, allocations: 456.9 kB / 0.5065 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1306, allocations: 4 kB / 0.5065 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1306, allocations: 0 / 0.5065 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1306, allocations: 7.984 kB / 0.5065 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1311, allocations: 381.2 kB / 0.5069 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1311, allocations: 0 / 0.5069 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/0.1317, allocations: 155.9 kB / 0.507 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1318, allocations: 4 kB / 0.507 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.1318, allocations: 11.98 kB / 0.507 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/0.1346, allocations: 5.512 MB / 0.5124 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1346, allocations: 8 kB / 0.5124 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.1352, allocations: 446.7 kB / 0.5128 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1354, allocations: 112.7 kB / 0.513 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.1354, allocations: 4 kB / 0.513 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.1356, allocations: 11.98 kB / 0.513 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.1357, allocations: 19.92 kB / 0.513 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.1357, allocations: 19.98 kB / 0.513 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.1361, allocations: 335.1 kB / 0.5133 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1361, allocations: 0 / 0.5133 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004732/0.1365, allocations: 143.8 kB / 0.5135 GB, free: 0.8047 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.001249/0.1378, allocations: 1.079 MB / 0.5145 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.139, allocations: 404 kB / 0.5149 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.139, allocations: 0 / 0.5149 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008242/0.1398, allocations: 280.1 kB / 0.5152 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.1403, allocations: 89.8 kB / 0.5153 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/0.1458, allocations: 4.382 MB / 0.5195 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.1463, allocations: 0.8504 MB / 0.5204 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.1465, allocations: 83.22 kB / 0.5204 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.1467, allocations: 107.4 kB / 0.5205 GB, free: 9.414 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1467, allocations: 4 kB / 0.5205 GB, free: 9.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2437/0.3903, allocations: 13.14 MB / 0.5334 GB, free: 42.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.13, allocations: 15.25 kB / 0.5334 GB, free: 42.33 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