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.001235/0.001235, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001314/0.001314, allocations: 191.4 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2131/0.2131, allocations: 43.52 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.002186/0.002186, allocations: 71.89 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1086, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.00349/0.1121, allocations: 1.994 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.1149, allocations: 1.862 MB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.115, allocations: 0 / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.1153, allocations: 67.64 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.1158, allocations: 115.4 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.1166, allocations: 346.6 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.1171, allocations: 382.1 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.1172, allocations: 52.69 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.1175, allocations: 155.2 kB / 0.4923 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1177, allocations: 179.1 kB / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1178, allocations: 12 kB / 0.4925 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009568/0.1188, allocations: 0.5499 MB / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1189, allocations: 95.53 kB / 0.4931 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1191, allocations: 162.9 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009303/0.12, allocations: 0.6342 MB / 0.4939 GB, free: 5.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.12, allocations: 0 / 0.4939 GB, free: 5.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.12, allocations: 3.938 kB / 0.4939 GB, free: 5.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.12, allocations: 0 / 0.4939 GB, free: 5.629 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.00111/0.1212, allocations: 0.6973 MB / 0.4945 GB, free: 4.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1212, allocations: 11.97 kB / 0.4946 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.1213, allocations: 82.72 kB / 0.4946 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.1214, allocations: 40.66 kB / 0.4947 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.1218, allocations: 283.6 kB / 0.4949 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.1218, allocations: 25.38 kB / 0.495 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.1219, allocations: 32.38 kB / 0.495 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/0.1227, allocations: 0.5609 MB / 0.4955 GB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1228, allocations: 0 / 0.4955 GB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.1228, allocations: 19.98 kB / 0.4956 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/0.1229, allocations: 40.97 kB / 0.4956 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00098/0.1238, allocations: 0.5737 MB / 0.4962 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.1256, allocations: 1.18 MB / 0.4973 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.1263, allocations: 374.2 kB / 0.4977 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1266, allocations: 136.8 kB / 0.4978 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.1267, allocations: 7.984 kB / 0.4978 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1267, allocations: 38.56 kB / 0.4978 GB, free: 1.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.1267, allocations: 0 / 0.4978 GB, free: 1.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.00104/0.1278, allocations: 461.6 kB / 0.4983 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.1278, allocations: 59.39 kB / 0.4983 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.1284, allocations: 449.7 kB / 0.4988 GB, free: 404 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.1284, allocations: 33.64 kB / 0.4988 GB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1286, allocations: 184.5 kB / 0.499 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/0.1287, allocations: 87.27 kB / 0.4991 GB, free: 88 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1288, allocations: 49.7 kB / 0.4991 GB, free: 32 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.129, allocations: 354.8 kB / 0.4994 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.1293, allocations: 119.9 kB / 0.4996 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.1296, allocations: 120 kB / 0.4997 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.1301, allocations: 260.6 kB / 0.4999 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1301, allocations: 0 / 0.4999 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006566/0.1308, allocations: 345.1 kB / 0.5003 GB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1308, allocations: 10.59 kB / 0.5003 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1308, allocations: 4 kB / 0.5003 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1309, allocations: 0 / 0.5003 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.1316, allocations: 155.9 kB / 0.5004 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.1352, allocations: 5.52 MB / 0.5058 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1355, allocations: 55.58 kB / 0.5059 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1355, allocations: 11.98 kB / 0.5059 GB, free: 8.875 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.0002186/0.1357, allocations: 193.6 kB / 0.5061 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.1358, allocations: 43.89 kB / 0.5061 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009089/0.1367, allocations: 468.9 kB / 0.5065 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1367, allocations: 0 / 0.5065 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1367, allocations: 4 kB / 0.5066 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1367, allocations: 0 / 0.5066 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.1372, allocations: 373.2 kB / 0.5069 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1372, allocations: 3.984 kB / 0.5069 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.1379, allocations: 151.9 kB / 0.5071 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1379, allocations: 4 kB / 0.5071 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.1379, allocations: 8 kB / 0.5071 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.1416, allocations: 5.517 MB / 0.5125 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.1416, allocations: 11.98 kB / 0.5125 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.1424, allocations: 439 kB / 0.5129 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1425, allocations: 124.8 kB / 0.513 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.1426, allocations: 7.984 kB / 0.513 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1428, allocations: 8 kB / 0.513 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.1428, allocations: 23.91 kB / 0.513 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.1429, allocations: 19.98 kB / 0.5131 GB, free: 1.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003919/0.1433, allocations: 335 kB / 0.5134 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1433, allocations: 4 kB / 0.5134 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004571/0.1437, allocations: 135.6 kB / 0.5135 GB, free: 0.7461 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.001319/0.1451, allocations: 1.086 MB / 0.5146 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.1463, allocations: 400.1 kB / 0.515 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1463, allocations: 0 / 0.515 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000838/0.1471, allocations: 280 kB / 0.5152 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.1476, allocations: 85.81 kB / 0.5153 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.1534, allocations: 4.39 MB / 0.5196 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.1539, allocations: 0.8504 MB / 0.5204 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.1541, allocations: 83.2 kB / 0.5205 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.1543, allocations: 119.4 kB / 0.5206 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1543, allocations: 0 / 0.5206 GB, free: 9.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2318/0.3861, allocations: 12.88 MB / 0.5332 GB, free: 41.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.43, allocations: 3.516 kB / 0.5332 GB, free: 41.72 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